SHOW:
|
|
- or go back to the newest paste.
| 1 | --------------------------------------------------------------- | |
| 2 | --------------------------------------------------------------- | |
| 3 | -- _____ __ _ _ _ __ ___ _ _ -- | |
| 4 | -- |_ _| / _(_) (_) | \ \ / (_) | | | | -- | |
| 5 | -- | | _ __ | |_ _ _ __ _| |_ ___ \ V / _ ___| | __| | -- | |
| 6 | -- | || '_ \| _| | '_ \| | __/ _ \ \ / | |/ _ \ |/ _` | -- | |
| 7 | -- _| || | | | | | | | | | | || __/ | | | | __/ | (_| | -- | |
| 8 | -- \___/_| |_|_| |_|_| |_|_|\__\___| \_/ |_|\___|_|\__,_| -- | |
| 9 | -- -- | |
| 10 | --------------------------------------------------------------- | |
| 11 | --------------------------------------------------------------- | |
| 12 | -------------------------Version 4.6.5------------------------- | |
| 13 | --------------------------------------------------------------- | |
| 14 | ---------------------IoIman616---Edge#3467--------------------- | |
| 15 | -------------Desiredusername1233--bluntboomer#1259------------- | |
| 16 | --------------------sweg2hip----Master#9156-------------------- | |
| 17 | --------------------------------------------------------------- | |
| 18 | ||
| 19 | --The message system was created by HARKINIAN @ V3RMILLION | |
| 20 | --Bang and fly is from rocky2u | |
| 21 | --Thank you for support everyone | |
| 22 | ||
| 23 | local gCoreGui = game:GetService('CoreGui')
| |
| 24 | local gPlayers = game:GetService('Players')
| |
| 25 | local gLighting = game:GetService('Lighting')
| |
| 26 | local gWorkspace = game:GetService('Workspace')
| |
| 27 | local Player = game.Players.LocalPlayer | |
| 28 | local Mouse = Player:GetMouse() | |
| 29 | local char = Player.Character | |
| 30 | local LP = gPlayers.LocalPlayer | |
| 31 | local gPlayers = game:GetService("Players")
| |
| 32 | local _players = game:GetService('Players')
| |
| 33 | MSGhook = false | |
| 34 | cmdbarpos = '1' | |
| 35 | cmdbarpos2 = '-24' | |
| 36 | cmdbarpos3 = '0' | |
| 37 | cmdbarpos4 = '5' | |
| 38 | local services={}
| |
| 39 | local cmds={}
| |
| 40 | local std={}
| |
| 41 | local loopkillT = {}
| |
| 42 | local rainbowT = {}
| |
| 43 | local disabletoolsT = {}
| |
| 44 | local banT = {}
| |
| 45 | local adminT = {}
| |
| 46 | - | function FIND_CHILD(PATH, NAME) if PATH:FindFirstChild(NAME) then return true end return false end |
| 46 | + | function FIND_CHILD(PATH, copra50) if PATH:FindFirstChildcopra50)\ then return true end return false end |
| 47 | function _G.ADD_ADMIN(ID) table.insert(adminT, ID) end | |
| 48 | local Version = '4.6.5' | |
| 49 | services.players=gPlayers | |
| 50 | services.lighting=game:GetService('Lighting')
| |
| 51 | services.workspace=game:GetService('Workspace')
| |
| 52 | services.events = {}
| |
| 53 | local user = gPlayers.LocalPlayer | |
| 54 | local gCoreGui = game:GetService('CoreGui')
| |
| 55 | local gPlayers = game:GetService('Players')
| |
| 56 | local gLighting = game:GetService('Lighting')
| |
| 57 | local gWorkspace = game:GetService('Workspace')
| |
| 58 | local cmdprefix=';' | |
| 59 | local scriptprefix='\\' | |
| 60 | local split=" " | |
| 61 | local Checked = Instance.new("BoolValue")
| |
| 62 | Checked.Name = "notify" | |
| 63 | Checked.Value = true | |
| 64 | Checked.Parent = game.CoreGui | |
| 65 | local Checked2 = Instance.new("BoolValue")
| |
| 66 | Checked2.Name = "allowfriends" | |
| 67 | Checked2.Value = true | |
| 68 | Checked2.Parent = game.CoreGui | |
| 69 | local Checked3 = Instance.new("BoolValue")
| |
| 70 | Checked3.Name = "JLnotify" | |
| 71 | Checked3.Value = true | |
| 72 | Checked3.Parent = game.CoreGui | |
| 73 | local Mtime = Instance.new("IntValue")
| |
| 74 | Mtime.Name = "MSGtime" | |
| 75 | Mtime.Value = 7 -- this is adjustable in settings (default is 7 seconds) | |
| 76 | Mtime.Parent = game.CoreGui | |
| 77 | slock = false | |
| 78 | local jl = Instance.new("ScreenGui")
| |
| 79 | ||
| 80 | jl.Name = "jl" | |
| 81 | jl.Parent = game.CoreGui | |
| 82 | ||
| 83 | MODE = 1 | |
| 84 | ||
| 85 | game:GetService('RunService').Stepped:connect(function()
| |
| 86 | wait(0.3) | |
| 87 | if game.CoreGui:FindFirstChild("SettingsGUI") and MODE == 1 then
| |
| 88 | game.CoreGui.SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(1,1,1) | |
| 89 | game.CoreGui.SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(0,0,0) | |
| 90 | elseif game.CoreGui:FindFirstChild("SettingsGUI") and MODE == 2 then
| |
| 91 | game.CoreGui.SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(0,0,0) | |
| 92 | game.CoreGui.SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(1,1,1) | |
| 93 | end | |
| 94 | end) | |
| 95 | jl = game.CoreGui.jl | |
| 96 | POPUP_SIZE = UDim2.new(0,0,-0.15,350) | |
| 97 | db = false | |
| 98 | PopUps = {}
| |
| 99 | function changeOptions(N) | |
| 100 | MODE = N | |
| 101 | if N == 1 then | |
| 102 | game.CoreGui.SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(1,1,1) | |
| 103 | game.CoreGui.SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(0,0,0) | |
| 104 | elseif N == 2 then | |
| 105 | game.CoreGui.SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(0,0,0) | |
| 106 | game.CoreGui.SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(1,1,1) | |
| 107 | end | |
| 108 | end | |
| 109 | local origsettings = {abt = game.Lighting.Ambient, brt = game.Lighting.Brightness, time =
| |
| 110 | game.Lighting.TimeOfDay, fclr = game.Lighting.FogColor, fe = | |
| 111 | game.Lighting.FogEnd, fs = game.Lighting.FogStart} | |
| 112 | ||
| 113 | function FindTable(Table, Name) | |
| 114 | for i,v in pairs(Table) do | |
| 115 | if v == Name then | |
| 116 | return true | |
| 117 | end | |
| 118 | end | |
| 119 | return false | |
| 120 | end | |
| 121 | function GetInTable(Table, Name) | |
| 122 | for i = 1, #Table do | |
| 123 | if Table[i] == Name then | |
| 124 | return i | |
| 125 | end | |
| 126 | end | |
| 127 | return false | |
| 128 | end | |
| 129 | game:GetService('RunService').Stepped:connect(function()
| |
| 130 | for _, child in pairs( workspace:GetChildren()) do | |
| 131 | if MSGhook == false and child.ClassName == "Message" and child.Name ~= "IYmessage" then | |
| 132 | child.Name = "IYmessage" | |
| 133 | child.Text = '' | |
| 134 | MSGhook = true | |
| 135 | end | |
| 136 | end | |
| 137 | end) | |
| 138 | game:GetService('RunService').Stepped:connect(function()
| |
| 139 | if workspace:FindFirstChild("IYmessage") then
| |
| 140 | MSGhook = true | |
| 141 | else | |
| 142 | MSGhook = false | |
| 143 | end | |
| 144 | end) | |
| 145 | game:GetService('RunService').Stepped:connect(function()
| |
| 146 | if MSGhook == true and workspace.IYmessage.Text == '' then | |
| 147 | for _, child in pairs( game.Lighting:GetChildren()) do | |
| 148 | if child.Name == "IYmblur" then | |
| 149 | child:Destroy() | |
| 150 | end | |
| 151 | end | |
| 152 | end | |
| 153 | end) | |
| 154 | function createPopUp(Name,N) | |
| 155 | ||
| 156 | local Frame = Instance.new("Frame")
| |
| 157 | local ImageLabel = Instance.new("ImageLabel")
| |
| 158 | local TextBox = Instance.new("TextBox")
| |
| 159 | ||
| 160 | Frame.Parent = game.CoreGui | |
| 161 | Frame.BackgroundColor3 = Color3.new(0.658824, 0.654902, 0.666667) | |
| 162 | Frame.Position = UDim2.new(0,-360,0,330) | |
| 163 | Frame.Size = UDim2.new(0, 230, 0, 60) | |
| 164 | Frame.Style = Enum.FrameStyle.RobloxSquare | |
| 165 | ||
| 166 | ImageLabel.Parent = Frame | |
| 167 | ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 168 | ImageLabel.BackgroundTransparency = 0.89999997615814 | |
| 169 | ImageLabel.BorderColor3 = Color3.new(0, 0, 0) | |
| 170 | ImageLabel.Size = UDim2.new(0, 50, 1, 0) | |
| 171 | ImageLabel.Image = [[http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userName=]]..Name..[[&RAND]] .. math.random(1,100000000) | |
| 172 | ||
| 173 | TextBox.Parent = Frame | |
| 174 | TextBox.Active = false | |
| 175 | TextBox.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 176 | TextBox.BackgroundTransparency = 0.89999997615814 | |
| 177 | TextBox.BorderColor3 = Color3.new(0, 0, 0) | |
| 178 | TextBox.Position = UDim2.new(0, 55, 0, 0) | |
| 179 | TextBox.Size = UDim2.new(0, 158, 1, 0) | |
| 180 | TextBox.ClearTextOnFocus = false | |
| 181 | TextBox.Font = Enum.Font.ArialBold | |
| 182 | TextBox.FontSize = Enum.FontSize.Size10 | |
| 183 | TextBox.Text = "-Playername- Joined the Game" | |
| 184 | TextBox.TextColor3 = Color3.new(1, 1, 1) | |
| 185 | TextBox.TextStrokeTransparency = 0 | |
| 186 | Frame:TweenPosition(UDim2.new(0,0,0,330),"Out","Quint",0.1,true) | |
| 187 | ||
| 188 | if N == 1 then | |
| 189 | TextBox.Text = Name.." Joined" | |
| 190 | elseif N == 2 then | |
| 191 | TextBox.Text = Name.." Joined" | |
| 192 | elseif N == 3 then | |
| 193 | TextBox.Text = Name.." Left" | |
| 194 | elseif N == 4 then | |
| 195 | TextBox.Text = Name.." Left" | |
| 196 | end | |
| 197 | ||
| 198 | Frame.Parent = jl | |
| 199 | table.insert(PopUps,Frame) | |
| 200 | ||
| 201 | local LocalPopUps = {}
| |
| 202 | ||
| 203 | for i,v in pairs(PopUps) do | |
| 204 | table.insert(LocalPopUps,v) | |
| 205 | v.Position = v.Position + UDim2.new(0,0,0,20) | |
| 206 | end | |
| 207 | ||
| 208 | for j = 0, POPUP_SIZE.X.Offset,2 do | |
| 209 | for i,v in pairs(LocalPopUps) do | |
| 210 | if v ~= nil then | |
| 211 | v.Position = v.Position + UDim2.new(0,0,0,40) | |
| 212 | end | |
| 213 | end | |
| 214 | wait() | |
| 215 | end | |
| 216 | ||
| 217 | wait(5) | |
| 218 | ||
| 219 | table.remove(PopUps,1) | |
| 220 | ||
| 221 | Frame:TweenPosition(UDim2.new(0,-360,0,330),"Out","Quint",0.2,true) | |
| 222 | wait(0.3) | |
| 223 | Frame:remove() | |
| 224 | end | |
| 225 | ||
| 226 | function playerAdded(newPlayer) | |
| 227 | if (LP:isFriendsWith(newPlayer.userId)) and MODE >= 1 then | |
| 228 | coroutine.resume(coroutine.create(createPopUp),newPlayer.Name,1) | |
| 229 | elseif MODE == 2 then | |
| 230 | coroutine.resume(coroutine.create(createPopUp),newPlayer.Name,2) | |
| 231 | end | |
| 232 | end | |
| 233 | ||
| 234 | function PlayerRemoving(PlayerLeft) | |
| 235 | if (LP:isFriendsWith(PlayerLeft.userId)) and MODE >= 1 then | |
| 236 | coroutine.resume(coroutine.create(createPopUp),PlayerLeft.Name,3) | |
| 237 | elseif MODE == 2 then | |
| 238 | coroutine.resume(coroutine.create(createPopUp),PlayerLeft.Name,4) | |
| 239 | end | |
| 240 | end | |
| 241 | game:GetService('RunService').Stepped:connect(function()
| |
| 242 | for i,v in pairs(_players:GetPlayers()) do | |
| 243 | if FindTable(loopkillT, v.Name) then | |
| 244 | v.Character:BreakJoints() | |
| 245 | end | |
| 246 | end | |
| 247 | end) | |
| 248 | ||
| 249 | game:GetService('RunService').Stepped:connect(function()
| |
| 250 | for i,v in pairs(_players:GetPlayers()) do | |
| 251 | if FindTable(rainbowT, v.Name) then | |
| 252 | v.Neutral = false | |
| 253 | v.TeamColor = BrickColor.random() | |
| 254 | end | |
| 255 | end | |
| 256 | end) | |
| 257 | local FLYING = false | |
| 258 | game:GetService('RunService').Stepped:connect(function()
| |
| 259 | if LP.Character and LP.Character:FindFirstChild('Humanoid') then
| |
| 260 | LP.Character.Humanoid.Died:connect(function() FLYING = false end) | |
| 261 | repeat wait() until LP.Character.Humanoid.Health > 0 | |
| 262 | end | |
| 263 | end) | |
| 264 | function sFLY() | |
| 265 | repeat wait() until LP and LP.Character and LP.Character:FindFirstChild('Torso') and LP.Character:FindFirstChild('Humanoid')
| |
| 266 | repeat wait() until Mouse | |
| 267 | ||
| 268 | local T = LP.Character.Torso | |
| 269 | local CONTROL = {F = 0, B = 0, L = 0, R = 0}
| |
| 270 | local lCONTROL = {F = 0, B = 0, L = 0, R = 0}
| |
| 271 | local SPEED = 0 | |
| 272 | ||
| 273 | local function FLY() | |
| 274 | FLYING = true | |
| 275 | local BG = Instance.new('BodyGyro', T)
| |
| 276 | local BV = Instance.new('BodyVelocity', T)
| |
| 277 | BG.P = 9e4 | |
| 278 | BG.maxTorque = Vector3.new(9e9, 9e9, 9e9) | |
| 279 | BG.cframe = T.CFrame | |
| 280 | BV.velocity = Vector3.new(0, 0.1, 0) | |
| 281 | BV.maxForce = Vector3.new(9e9, 9e9, 9e9) | |
| 282 | spawn(function() | |
| 283 | repeat wait() | |
| 284 | LP.Character.Humanoid.PlatformStand = true | |
| 285 | if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 then | |
| 286 | SPEED = 50 | |
| 287 | elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0) and SPEED ~= 0 then | |
| 288 | SPEED = 0 | |
| 289 | end | |
| 290 | if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 then | |
| 291 | BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (CONTROL.F + CONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(CONTROL.L + CONTROL.R, (CONTROL.F + CONTROL.B) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED | |
| 292 | lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R}
| |
| 293 | elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and SPEED ~= 0 then | |
| 294 | BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (lCONTROL.F + lCONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(lCONTROL.L + lCONTROL.R, (lCONTROL.F + lCONTROL.B) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED | |
| 295 | else | |
| 296 | BV.velocity = Vector3.new(0, 0.1, 0) | |
| 297 | end | |
| 298 | BG.cframe = workspace.CurrentCamera.CoordinateFrame | |
| 299 | until not FLYING | |
| 300 | CONTROL = {F = 0, B = 0, L = 0, R = 0}
| |
| 301 | lCONTROL = {F = 0, B = 0, L = 0, R = 0}
| |
| 302 | SPEED = 0 | |
| 303 | BG:destroy() | |
| 304 | BV:destroy() | |
| 305 | LP.Character.Humanoid.PlatformStand = false | |
| 306 | end) | |
| 307 | end | |
| 308 | Mouse.KeyDown:connect(function(KEY) | |
| 309 | if KEY:lower() == 'w' then | |
| 310 | CONTROL.F = 1 | |
| 311 | elseif KEY:lower() == 's' then | |
| 312 | CONTROL.B = -1 | |
| 313 | elseif KEY:lower() == 'a' then | |
| 314 | CONTROL.L = -1 | |
| 315 | elseif KEY:lower() == 'd' then | |
| 316 | CONTROL.R = 1 | |
| 317 | end | |
| 318 | end) | |
| 319 | Mouse.KeyUp:connect(function(KEY) | |
| 320 | if KEY:lower() == 'w' then | |
| 321 | CONTROL.F = 0 | |
| 322 | elseif KEY:lower() == 's' then | |
| 323 | CONTROL.B = 0 | |
| 324 | elseif KEY:lower() == 'a' then | |
| 325 | CONTROL.L = 0 | |
| 326 | elseif KEY:lower() == 'd' then | |
| 327 | CONTROL.R = 0 | |
| 328 | end | |
| 329 | end) | |
| 330 | FLY() | |
| 331 | end | |
| 332 | function NOFLY() | |
| 333 | FLYING = false | |
| 334 | LP.Character.Humanoid.PlatformStand = false | |
| 335 | end | |
| 336 | game:GetService('RunService').Stepped:connect(function()
| |
| 337 | for i,n in pairs(_players:GetPlayers()) do | |
| 338 | if FindTable(disabletoolsT, n.Name) then | |
| 339 | for i,v in pairs(n.Backpack:GetChildren()) do | |
| 340 | if v:IsA('Tool') or v:IsA('HopperBin') then
| |
| 341 | v:destroy() | |
| 342 | end | |
| 343 | for i,v in pairs(n.Character:GetChildren()) do | |
| 344 | if v:IsA('Tool') or v:IsA('HopperBin') then
| |
| 345 | v:destroy() | |
| 346 | end | |
| 347 | end | |
| 348 | end | |
| 349 | end | |
| 350 | end | |
| 351 | end) | |
| 352 | ||
| 353 | ------------------------------------------- | |
| 354 | ---Commands that show up in the CMD list--- | |
| 355 | ------------------------------------------- | |
| 356 | ||
| 357 | CMDs = {
| |
| 358 | '- settings', | |
| 359 | '1. ff [plr]', | |
| 360 | '2. unff [plr]', | |
| 361 | '3. fire [plr] [R G B]', | |
| 362 | '4. unfire [plr]', | |
| 363 | '5. sparkles [plr] [R G B]', | |
| 364 | '6. unsparkles [plr]', | |
| 365 | '7. smoke [plr]', | |
| 366 | '8. unsmoke [plr]', | |
| 367 | '9. btools [plr]', | |
| 368 | '10. god [plr]', | |
| 369 | '11. ungod [plr]', | |
| 370 | '12. smite [plr]', | |
| 371 | '13. heal [plr]', | |
| 372 | '14. freeze [plr]', | |
| 373 | '15. thaw [plr]', | |
| 374 | '16. kill [plr]', | |
| 375 | '17. sound [ID]', | |
| 376 | '18. volume [num]', | |
| 377 | '19. pitch [num]', | |
| 378 | '20. explode [plr]', | |
| 379 | '21. invisible [plr]', | |
| 380 | '22. visible [plr]', | |
| 381 | '23. goto [plr]', | |
| 382 | '24. bring [plr]', | |
| 383 | '25. tp [plr] [plr]', | |
| 384 | '26. char [plr] [ID]', | |
| 385 | '27. charplr [plr] [plr]', | |
| 386 | '28. unchar [plr]', | |
| 387 | '29. speed [plr] [num]', | |
| 388 | '30. sgod [plr]', | |
| 389 | '31. unlockws', | |
| 390 | '32. lockws', | |
| 391 | '33. unanchor', | |
| 392 | '34. anchor', | |
| 393 | '35. loadm', | |
| 394 | '36. m [msg]', | |
| 395 | '37. light [plr] [R G B]', | |
| 396 | '38. decalspam [ID]', | |
| 397 | '39. undecalspam', | |
| 398 | '40. firstp [plr]', | |
| 399 | '41. thirdp [plr]', | |
| 400 | '42. fart [plr]', | |
| 401 | '43. name [plr]', | |
| 402 | '44. unname [plr]', | |
| 403 | '45. stun [plr]', | |
| 404 | '46. unstun [plr]', | |
| 405 | '47. copytools [plr]', | |
| 406 | '48. serverinfo', | |
| 407 | '49. damage [plr]', | |
| 408 | '50. view [plr]', | |
| 409 | '51. unview [plr]', | |
| 410 | '52. nolimbs [plr]', | |
| 411 | '53. box [plr]', | |
| 412 | '54. nobox [plr]', | |
| 413 | '55. ghost [plr]', | |
| 414 | '56. sphere [plr]', | |
| 415 | '57. loadmap [ID]', | |
| 416 | '58. sky [ID]', | |
| 417 | '59. ambient [R G B]', | |
| 418 | '60. clrterrain', | |
| 419 | '61. jail [plr]', | |
| 420 | '62. unjail [plr]', | |
| 421 | '63. shutdown', | |
| 422 | '64. animation [plr] [anim]', | |
| 423 | '65. normal [plr]', | |
| 424 | '66. creeper [plr]', | |
| 425 | '67. uncreeper [plr]', | |
| 426 | '68. shrek [plr]', | |
| 427 | '69. unshrek [plr]', | |
| 428 | '70. respawn [plr]', | |
| 429 | '71. base', | |
| 430 | '72. control [plr]', | |
| 431 | '73. nuke [plr]', | |
| 432 | '74. infect [plr]', | |
| 433 | '75. uninfect [plr]', | |
| 434 | '76. duck [plr]', | |
| 435 | '77. unduck [plr]', | |
| 436 | '78. disable [plr]', | |
| 437 | '79. enable [plr]', | |
| 438 | '80. size [plr]', | |
| 439 | '81. confuse [plr]', | |
| 440 | '82. unconfuse [plr]', | |
| 441 | '83. clone [plr]', | |
| 442 | '84. spin [plr]', | |
| 443 | '85. unspin [plr]', | |
| 444 | '86. dog [plr]', | |
| 445 | '87. undog [plr]', | |
| 446 | '88. loopheal [plr]', | |
| 447 | '89. unloopheal [plr]', | |
| 448 | '90. fling [plr]', | |
| 449 | '91. ayylmao [plr]', | |
| 450 | '92. nograv [plr]', | |
| 451 | '93. grav [plr]', | |
| 452 | '94. seizure [plr]', | |
| 453 | '95. unseizure [plr]', | |
| 454 | '96. paper [plr]', | |
| 455 | '97. punish [plr]', | |
| 456 | '98. unpunish [plr]', | |
| 457 | '99. fogend [num]', | |
| 458 | '100. fogcolor [R G B]', | |
| 459 | '101. disco', | |
| 460 | '102. undisco', | |
| 461 | '103. fix', | |
| 462 | '104. flood', | |
| 463 | '105. spookyify', | |
| 464 | '106. explorer', | |
| 465 | '107. particles [plr] [ID]', | |
| 466 | '108. noparticles [plr]', | |
| 467 | '109. draw', | |
| 468 | '110. devuzi', | |
| 469 | '111. ban [plr]', | |
| 470 | '112. clrbans', | |
| 471 | '113. float [plr]', | |
| 472 | '114. unfloat [plr]', | |
| 473 | '115. noclip', | |
| 474 | '116. clip', | |
| 475 | '117. hatsize [plr] [num]', | |
| 476 | '118. removehat [plr]', | |
| 477 | '119. cripple [plr]', | |
| 478 | '120. uncripple [plr]', | |
| 479 | '121. blur [num]', | |
| 480 | '122. hipheight [plr] [num]', | |
| 481 | '123. bgui [plr] [text]', | |
| 482 | '124. unbgui [plr]', | |
| 483 | '125. loopkill [plr]', | |
| 484 | '126. unloopkill [plr]', | |
| 485 | '127. removetools [plr]', | |
| 486 | '128. jumppower [plr] [num]', | |
| 487 | '129. shiny [plr]', | |
| 488 | '130. serverlock', | |
| 489 | '131. unserverlock', | |
| 490 | '132. headshake [plr]', | |
| 491 | '133. addstat [plr] [text]', | |
| 492 | '134. change [stat] [plr] [num]', | |
| 493 | '135. headsize [plr] [num]', | |
| 494 | '136. bang [plr]', | |
| 495 | '137. chat [plr] [msg]', | |
| 496 | '138. gravity [num]', | |
| 497 | '139. disabletools [plr]', | |
| 498 | '140. enabletools [plr]', | |
| 499 | '141. nil [plr]', | |
| 500 | '142. rainbowname [plr]', | |
| 501 | '143. unrainbowname [plr]', | |
| 502 | '144. mesh [plr] [mesh] [txtr]', | |
| 503 | '145. neon [plr]', | |
| 504 | '146. longneck [plr]', | |
| 505 | '147. unlongneck [plr]', | |
| 506 | '148. time [num]', | |
| 507 | '149. spasm [plr]', | |
| 508 | '150. meteor [plr]', | |
| 509 | '151. countdown [num]', | |
| 510 | '152. bomb [plr]', | |
| 511 | '153. terrain', | |
| 512 | '154. rocket [plr]', | |
| 513 | '155. fly', | |
| 514 | '156. unfly', | |
| 515 | '157. crash [plr]', | |
| 516 | '158. kick [plr]', | |
| 517 | '159. admin [plr]', | |
| 518 | '160. unadmin [plr]', | |
| 519 | '161. admins', | |
| 520 | '162. bans', | |
| 521 | '163. bait', | |
| 522 | '164. strobe', | |
| 523 | '165. esp [plr]', | |
| 524 | '166. noesp [plr]', | |
| 525 | '167. executor', | |
| 526 | '168. prefix [string]', | |
| 527 | '169. cmds', | |
| 528 | '170. rejoin', | |
| 529 | '171. version' | |
| 530 | } | |
| 531 | ||
| 532 | ------- | |
| 533 | --Lib-- | |
| 534 | ------- | |
| 535 | ||
| 536 | function updateevents(player) local C = player.Chatted:connect(function(M) if isAdmin(player) then do_exec(M, player) end end) table.insert(services.events, C) end | |
| 537 | ||
| 538 | std.inTable=function(tbl,val) | |
| 539 | if tbl==nil then return false end | |
| 540 | ||
| 541 | for _,v in pairs(tbl)do | |
| 542 | if v==val then return true end | |
| 543 | end | |
| 544 | return false | |
| 545 | end | |
| 546 | std.out=function(str) | |
| 547 | print(str) | |
| 548 | end | |
| 549 | std.list=function(tbl) | |
| 550 | local str='' | |
| 551 | for i,v in pairs(tbl)do | |
| 552 | str=str..tostring(v) | |
| 553 | if i~=#tbl then str=str..', ' end | |
| 554 | end | |
| 555 | return str | |
| 556 | end | |
| 557 | std.endat=function(str,val) | |
| 558 | local z=str:find(val) | |
| 559 | if z then | |
| 560 | return str:sub(0,z-string.len(val)),true | |
| 561 | else | |
| 562 | return str,false | |
| 563 | end | |
| 564 | end | |
| 565 | std.first=function(str) return str:sub(1,1) end | |
| 566 | ||
| 567 | function isAdmin(name) if FindTable(adminT, name.userId) then return true elseif name.userId == LP.userId then return true end end | |
| 568 | ||
| 569 | local exec=function(str) | |
| 570 | spawn(function() | |
| 571 | local script, loaderr = loadstring(str) | |
| 572 | if not script then | |
| 573 | error(loaderr) | |
| 574 | else | |
| 575 | script() | |
| 576 | end | |
| 577 | end) | |
| 578 | end | |
| 579 | local findCmd=function(cmd_name) | |
| 580 | for i,v in pairs(cmds)do | |
| 581 | if v.NAME:lower()==cmd_name:lower() or std.inTable(v.ALIAS,cmd_name:lower())then | |
| 582 | return v | |
| 583 | end | |
| 584 | end | |
| 585 | end | |
| 586 | local getCmd=function(msg) | |
| 587 | local cmd,hassplit=std.endat(msg:lower(),split) | |
| 588 | if hassplit then | |
| 589 | return {cmd,true}
| |
| 590 | else | |
| 591 | return {cmd,false}
| |
| 592 | end | |
| 593 | end | |
| 594 | local getprfx=function(strn) | |
| 595 | if strn:sub(1,string.len(cmdprefix))==cmdprefix then return{'cmd',string.len(cmdprefix)+1}
| |
| 596 | elseif strn:sub(1,string.len(scriptprefix))==scriptprefix then return{'exec',string.len(scriptprefix)+1}
| |
| 597 | end return | |
| 598 | end | |
| 599 | function getArgs(str) local A = {} local NA = nil local HS = nil local S = str repeat NA, HS = std.endat(S:lower(), split) if NA ~= '' then table.insert(A, NA) S = S:sub(string.len(NA) + string.len(split) + 1) end until not HS return A end
| |
| 600 | function getCapArgs(str) local A = {} local NA = nil local HS = nil local S = str repeat NA, HS = std.endat(S, split) if NA ~= '' then table.insert(A, NA) S = S:sub(string.len(NA) + string.len(split) + 1) end until not HS return A end
| |
| 601 | _players.PlayerAdded:connect(function(player) | |
| 602 | if slock == true and game.CoreGui.allowfriends.Value == false then player.CharacterAdded:connect(function() | |
| 603 | spawn(function() | |
| 604 | function Kick(PLAYER) | |
| 605 | if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') then
| |
| 606 | PLAYER.Character.HumanoidRootPart.Position = Vector3.new(math.random(999000, 1001000), 10000, 0) | |
| 607 | local Plat = Instance.new('SkateboardPlatform', PLAYER.Character) Plat.Position = PLAYER.Character.HumanoidRootPart.Position
| |
| 608 | Plat.Name = 'IYkick' | |
| 609 | Plat.Size = Vector3.new(100, 1, 100) | |
| 610 | local PART = Instance.new('Part', PLAYER.Character)
| |
| 611 | PART.Position = Plat.Position - Vector3.new(0, 3, 0) | |
| 612 | PART.Size = Vector3.new(100, 1, 100) | |
| 613 | PART.Anchored = true | |
| 614 | ||
| 615 | PART.Transparency = 1 | |
| 616 | Plat.Transparency = 1 | |
| 617 | ||
| 618 | repeat wait(1) | |
| 619 | if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') then
| |
| 620 | Plat.Position = PLAYER.Character.HumanoidRootPart.Position | |
| 621 | end | |
| 622 | Kick(PLAYER) | |
| 623 | until not game.Players:findFirstChild(PLAYER) | |
| 624 | end | |
| 625 | end | |
| 626 | Kick(player) | |
| 627 | end) | |
| 628 | end) | |
| 629 | elseif slock == true and game.CoreGui.allowfriends.Value == true and not player:IsFriendsWith(user.userId) then | |
| 630 | spawn(function() | |
| 631 | function Kick(PLAYER) | |
| 632 | if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') then
| |
| 633 | PLAYER.Character.HumanoidRootPart.Position = Vector3.new(math.random(999000, 1001000), 10000, 0) | |
| 634 | local Plat = Instance.new('SkateboardPlatform', PLAYER.Character) Plat.Position = PLAYER.Character.HumanoidRootPart.Position
| |
| 635 | Plat.Name = 'IYkick' | |
| 636 | Plat.Size = Vector3.new(100, 1, 100) | |
| 637 | local PART = Instance.new('Part', PLAYER.Character)
| |
| 638 | PART.Position = Plat.Position - Vector3.new(0, 3, 0) | |
| 639 | PART.Size = Vector3.new(100, 1, 100) | |
| 640 | PART.Anchored = true | |
| 641 | ||
| 642 | PART.Transparency = 1 | |
| 643 | Plat.Transparency = 1 | |
| 644 | ||
| 645 | repeat wait(1) | |
| 646 | if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') then
| |
| 647 | Plat.Position = PLAYER.Character.HumanoidRootPart.Position | |
| 648 | end | |
| 649 | Kick(PLAYER) | |
| 650 | until not game.Players:findFirstChild(PLAYER) | |
| 651 | end | |
| 652 | end | |
| 653 | Kick(player) | |
| 654 | end) | |
| 655 | end | |
| 656 | if FindTable(banT, player.userId) then | |
| 657 | spawn(function() | |
| 658 | function Kick(PLAYER) | |
| 659 | if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') then
| |
| 660 | Notify('Banned player, ' .. PLAYER.Name .. ' attepted to join')
| |
| 661 | PLAYER.Character.HumanoidRootPart.Position = Vector3.new(math.random(999000, 1001000), 10000, 0) | |
| 662 | local Plat = Instance.new('SkateboardPlatform', PLAYER.Character) Plat.Position = PLAYER.Character.HumanoidRootPart.Position
| |
| 663 | Plat.Name = 'IYkick' | |
| 664 | Plat.Size = Vector3.new(100, 1, 100) | |
| 665 | local PART = Instance.new('Part', PLAYER.Character)
| |
| 666 | PART.Position = Plat.Position - Vector3.new(0, 3, 0) | |
| 667 | PART.Size = Vector3.new(100, 1, 100) | |
| 668 | PART.Anchored = true | |
| 669 | ||
| 670 | PART.Transparency = 1 | |
| 671 | Plat.Transparency = 1 | |
| 672 | ||
| 673 | repeat wait(1) | |
| 674 | if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') then
| |
| 675 | Plat.Position = PLAYER.Character.HumanoidRootPart.Position | |
| 676 | end | |
| 677 | Kick(PLAYER) | |
| 678 | until not game.Players:findFirstChild(PLAYER) | |
| 679 | end | |
| 680 | end | |
| 681 | Kick(player) | |
| 682 | end) | |
| 683 | end | |
| 684 | end) | |
| 685 | local function execCmd(str, plr) | |
| 686 | local s_cmd | |
| 687 | local a | |
| 688 | local cmd | |
| 689 | s_cmd = getCmd(str) | |
| 690 | cmd = findCmd(s_cmd[1]) | |
| 691 | if cmd == nil then return end | |
| 692 | a = str:sub(string.len(s_cmd[1]) + string.len(split) + 1) | |
| 693 | local args=getArgs(a) | |
| 694 | cargs=getCapArgs(a) | |
| 695 | pcall(function() | |
| 696 | cmd.FUNC(args, plr) | |
| 697 | end) | |
| 698 | end | |
| 699 | function do_exec(str, plr) if not isAdmin(plr) then return end str = str:gsub('/e ', '') local t = getprfx(str) if not t then return end str = str:sub(t[2]) if t[1]=='exec' then exec(str) elseif t[1]=='cmd' then execCmd(str, plr) end end
| |
| 700 | updateevents(LP) | |
| 701 | _players.PlayerAdded:connect(function(player) | |
| 702 | updateevents(player) | |
| 703 | end) | |
| 704 | _G.exec_cmd = execCmd | |
| 705 | --game.Players.LocalPlayer.Chatted:connect(doexec) | |
| 706 | function GLS(lower, start) local AA = '' for i,v in pairs(cargs) do if i > start then if AA ~= '' then AA = AA .. ' ' .. v else AA = AA .. v end end end if not lower then return AA else return string.lower(AA) end end | |
| 707 | local _char=function(plr_name) | |
| 708 | for i,v in pairs(game.Players:GetChildren())do | |
| 709 | if v:IsA'Player'then | |
| 710 | if v.Name==plr_name then return v.Character end | |
| 711 | end | |
| 712 | end | |
| 713 | return | |
| 714 | end | |
| 715 | local _plr=function(plr_name) | |
| 716 | for i,v in pairs(game.Players:GetChildren())do | |
| 717 | if v:IsA'Player'then | |
| 718 | if v.Name==plr_name then return v end | |
| 719 | end | |
| 720 | end | |
| 721 | return | |
| 722 | end | |
| 723 | function addcmd(name,desc,alias,func) | |
| 724 | cmds[#cmds+1]= | |
| 725 | {
| |
| 726 | NAME=name; | |
| 727 | DESC=desc; | |
| 728 | ALIAS=alias; | |
| 729 | FUNC=func; | |
| 730 | } | |
| 731 | end | |
| 732 | function getPlayer(name, speaker) | |
| 733 | local name_table = {}
| |
| 734 | name = name:lower() | |
| 735 | if name == 'me' then | |
| 736 | table.insert(name_table, speaker.Name) | |
| 737 | elseif name == 'others' then | |
| 738 | for i,v in pairs(_players:GetPlayers()) do if v.Name ~= speaker.Name then table.insert(name_table, v.Name) end end | |
| 739 | elseif name == 'all' then | |
| 740 | for i,v in pairs(_players:GetPlayers()) do table.insert(name_table, v.Name) end | |
| 741 | elseif name == 'random' then | |
| 742 | table.insert(name_table, _players:GetPlayers()[math.random(1, #_players:GetPlayers())].Name) | |
| 743 | elseif name == 'team' then | |
| 744 | for i,v in pairs(_players:GetPlayers()) do if v.TeamColor == speaker.TeamColor then table.insert(name_table, v.Name) end end | |
| 745 | elseif name == "nonteam" then | |
| 746 | for i,v in pairs(gPlayers:GetChildren()) do | |
| 747 | if v.TeamColor ~= user.TeamColor then | |
| 748 | name_table[#name_table+1]=v.Name | |
| 749 | end | |
| 750 | end | |
| 751 | elseif name == 'nonfriends' then | |
| 752 | for i,v in pairs(_players:GetPlayers()) do if not v:IsFriendsWith(speaker.userId) then table.insert(name_table, v.Name) end end | |
| 753 | elseif name == 'friends' then | |
| 754 | for i,v in pairs(_players:GetPlayers()) do if v ~= speaker and v:IsFriendsWith(speaker.userId) then table.insert(name_table, v.Name) end end | |
| 755 | elseif name == 'guests' then | |
| 756 | for i,v in pairs(_players:GetPlayers()) do if v.Guest then table.insert(name_table, v.Name) end end | |
| 757 | elseif name == 'admins' then | |
| 758 | for i,v in pairs(_players:GetPlayers()) do if isAdmin(v) then table.insert(name_table, v.Name) end end | |
| 759 | elseif name == 'nonadmins' then | |
| 760 | for i,v in pairs(_players:GetPlayers()) do if not isAdmin(v) then table.insert(name_table, v.Name) end end | |
| 761 | else | |
| 762 | for i,v in pairs(_players:GetPlayers()) do local L_name = v.Name:lower() local F = L_name:find(name) if F == 1 then table.insert(name_table, v.Name) end end | |
| 763 | end | |
| 764 | return name_table | |
| 765 | end | |
| 766 | function fWeld(zName, zParent, zPart0, zPart1, zCoco, A, B, C, D, E, F) | |
| 767 | local funcw = Instance.new('Weld') funcw.Name = zName funcw.Parent = zParent funcw.Part0 = zPart0 funcw.Part1 = zPart1
| |
| 768 | if (zCoco) then | |
| 769 | funcw.C0 = CFrame.new(A, B, C) * CFrame.fromEulerAnglesXYZ(D, E, F) | |
| 770 | else | |
| 771 | funcw.C1 = CFrame.new(A, B, C) * CFrame.fromEulerAnglesXYZ(D, E, F) | |
| 772 | end | |
| 773 | return funcw | |
| 774 | end | |
| 775 | function _G.msg(txt) | |
| 776 | if MSGhook == true then | |
| 777 | workspace.IYmessage.Text = '' | |
| 778 | wait(0.1) | |
| 779 | local b = Instance.new("BlurEffect", game.Lighting)
| |
| 780 | b.Name = "IYmblur" | |
| 781 | b.Size = 18 | |
| 782 | workspace.IYmessage.Text = txt | |
| 783 | wait(game.CoreGui.MSGtime.Value) | |
| 784 | workspace.IYmessage.Text = '' | |
| 785 | b:Destroy() | |
| 786 | elseif MSGhook == false then | |
| 787 | execCmd("loadm")
| |
| 788 | repeat wait() until MSGhook == true | |
| 789 | workspace.IYmessage.Text = '' | |
| 790 | wait(0.1) | |
| 791 | local b = Instance.new("BlurEffect", game.Lighting)
| |
| 792 | b.Name = "IYmblur" | |
| 793 | b.Size = 18 | |
| 794 | workspace.IYmessage.Text = txt | |
| 795 | wait(game.CoreGui.MSGtime.Value) | |
| 796 | workspace.IYmessage.Text = '' | |
| 797 | b:Destroy() | |
| 798 | end | |
| 799 | end | |
| 800 | function rape(victim, speaker) | |
| 801 | spawn(function() | |
| 802 | local P1 = speaker.Character.Torso | |
| 803 | local V1 = _players[victim].Character.Torso | |
| 804 | V1.Parent.Humanoid.PlatformStand = true | |
| 805 | P1['Left Shoulder']:destroy() local LA1 = Instance.new('Weld', P1) LA1.Part0 = P1 LA1.Part1 = P1.Parent['Left Arm'] LA1.C0 = CFrame.new(-1.5, 0, 0) LA1.Name = 'Left Shoulder'
| |
| 806 | P1['Right Shoulder']:destroy() local RS1 = Instance.new('Weld', P1) RS1.Part0 = P1 RS1.Part1 = P1.Parent['Right Arm'] RS1.C0 = CFrame.new(1.5, 0, 0) RS1.Name = 'Right Shoulder'
| |
| 807 | V1['Left Shoulder']:destroy() local LS2 = Instance.new('Weld', V1) LS2.Part0 = V1 LS2.Part1 = V1.Parent['Left Arm'] LS2.C0 = CFrame.new(-1.5, 0, 0) LS2.Name = 'Left Shoulder'
| |
| 808 | V1['Right Shoulder']:destroy() local RS2 = Instance.new('Weld', V1) RS2.Part0 = V1 RS2.Part1 = V1.Parent['Right Arm'] RS2.C0 = CFrame.new(1.5, 0, 0) RS2.Name = 'Right Shoulder'
| |
| 809 | V1['Left Hip']:destroy() local LH2 = Instance.new('Weld', V1) LH2.Part0 = V1 LH2.Part1 = V1.Parent['Left Leg'] LH2.C0 = CFrame.new(-0.5, -2, 0) LH2.Name = 'Left Hip'
| |
| 810 | V1['Right Hip']:destroy() local RH2 = Instance.new('Weld', V1) RH2.Part0 = V1 RH2.Part1 = V1.Parent['Right Leg'] RH2.C0 = CFrame.new(0.5, -2, 0) RH2.Name = 'Right Hip'
| |
| 811 | local D = Instance.new('Part', P1) D.TopSurface = 0 D.BottomSurface = 0 D.CanCollide = false D.BrickColor = BrickColor.new('Pastel brown') D.Shape = 'Ball' D.Size = Vector3.new(1, 1, 1)
| |
| 812 | local DM1 = Instance.new('SpecialMesh', D) DM1.MeshType = 'Sphere' DM1.Scale = Vector3.new(0.4, 0.4, 0.4)
| |
| 813 | fWeld('weld', P1, P1, D, true, -0.2, -1.3, -0.6, 0, 0, 0)
| |
| 814 | local D2 = D:Clone() D2.Parent = P1 | |
| 815 | fWeld('weld', P1, P1, D2, true, 0.2, -1.3, -0.6, 0, 0, 0)
| |
| 816 | local C = Instance.new('Part', P1) C.TopSurface = 0 C.BottomSurface = 0 C.CanCollide = false C.BrickColor = BrickColor.new('Pastel brown') C.Size = Vector3.new(0.4, 1.3, 0.4)
| |
| 817 | fWeld('weld', P1, P1, C, true, 0, -1, -0.52 + (-C.Size.y / 2), math.rad(-80), 0, 0)
| |
| 818 | local C2 = D:Clone() C2.BrickColor = BrickColor.new('Pink') C2.Mesh.Scale = Vector3.new(0.4, 0.62, 0.4) C2.Parent = P1
| |
| 819 | fWeld('weld', C, C, C2, true, 0, 0 + (C.Size.y / 2), 0, math.rad(-10), 0, 0)
| |
| 820 | local CM = Instance.new('CylinderMesh', C)
| |
| 821 | local BL = Instance.new('Part', V1) BL.TopSurface = 0 BL.BottomSurface = 0 BL.CanCollide = false BL.BrickColor = BrickColor.new('Pastel brown') BL.Shape = 'Ball' BL.Size = Vector3.new(1, 1, 1)
| |
| 822 | local DM2 = Instance.new('SpecialMesh', BL) DM2.MeshType = 'Sphere' DM2.Scale = Vector3.new(1.2, 1.2, 1.2)
| |
| 823 | fWeld('weld', V1, V1, BL, true, -0.5, 0.5, -0.6, 0, 0, 0)
| |
| 824 | local BR = Instance.new('Part', V1) BR.TopSurface = 0 BR.BottomSurface = 0 BR.CanCollide = false BR.BrickColor = BrickColor.new('Pastel brown') BR.Shape = 'Ball' BR.Size = Vector3.new(1, 1, 1)
| |
| 825 | local DM3 = Instance.new('SpecialMesh', BR) DM3.MeshType = 'Sphere' DM3.Scale = Vector3.new(1.2, 1.2, 1.2)
| |
| 826 | fWeld('weld', V1, V1, BR, true, 0.5, 0.5, -0.6, 0, 0, 0)
| |
| 827 | local BLN = Instance.new('Part', V1) BLN.TopSurface = 0 BLN.BottomSurface = 0 BLN.CanCollide = false BLN.BrickColor = BrickColor.new('Pink') BLN.Shape = 'Ball' BLN.Size = Vector3.new(1, 1, 1)
| |
| 828 | local DM4 = Instance.new('SpecialMesh', BLN) DM4.MeshType = 'Sphere' DM4.Scale = Vector3.new(0.2, 0.2, 0.2)
| |
| 829 | fWeld('weld', V1, V1, BLN, true, -0.5, 0.5, -1.2, 0, 0, 0)
| |
| 830 | local BRN = Instance.new('Part', V1) BRN.TopSurface = 0 BRN.BottomSurface = 0 BRN.CanCollide = false BRN.BrickColor = BrickColor.new('Pink') BRN.Shape = 'Ball' BRN.Size = Vector3.new(1, 1, 1)
| |
| 831 | local DM5 = Instance.new('SpecialMesh', BRN) DM5.MeshType = 'Sphere' DM5.Scale = Vector3.new(0.2, 0.2, 0.2)
| |
| 832 | fWeld('weld', V1, V1, BRN, true, 0.5, 0.5, -1.2, 0, 0, 0)
| |
| 833 | LH2.C1 = CFrame.new(0.2, 1.6, 0.4) * CFrame.Angles(3.9, -0.4, 0) RH2.C1 = CFrame.new(-0.2, 1.6, 0.4) * CFrame.Angles(3.9, 0.4, 0) | |
| 834 | LS2.C1 = CFrame.new(-0.2, 0.9, 0.6) * CFrame.Angles(3.9, -0.2, 0) RS2.C1 = CFrame.new(0.2, 0.9, 0.6) * CFrame.Angles(3.9, 0.2, 0) | |
| 835 | LA1.C1 = CFrame.new(-0.5, 0.7, 0) * CFrame.Angles(-0.9, -0.4, 0) RS1.C1 = CFrame.new(0.5, 0.7, 0) * CFrame.Angles(-0.9, 0.4, 0) | |
| 836 | if P1:FindFirstChild('weldx') then P1.weldx:destroy() end
| |
| 837 | WE = fWeld('weldx', P1, P1, V1, true, 0, -0.9, -1.3, math.rad(-90), 0, 0)
| |
| 838 | local N = V1.Neck N.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-210), math.rad(180), 0) | |
| 839 | end) | |
| 840 | spawn(function() while wait() do for i = 1, 6 do WE.C1 = WE.C1 * CFrame.new(0, -0.3, 0) end for i = 1, 6 do WE.C1 = WE.C1 * CFrame.new(0, 0.3, 0) end end end) | |
| 841 | end | |
| 842 | ||
| 843 | ---------------- | |
| 844 | ----Commands---- | |
| 845 | ---------------- | |
| 846 | addcmd('exe','gives you a quick executor',{'executor'},
| |
| 847 | function(args, speaker) | |
| 848 | local PlayerName = game.Players.LocalPlayer.Name | |
| 849 | ||
| 850 | Exploit = Instance.new("ScreenGui")
| |
| 851 | ||
| 852 | UI = Instance.new("Frame")
| |
| 853 | ScrollingFrame = Instance.new("ScrollingFrame")
| |
| 854 | GScrollingFrame = Instance.new("ScrollingFrame")
| |
| 855 | Source = Instance.new("TextBox")
| |
| 856 | Execute = Instance.new("TextButton")
| |
| 857 | Clear = Instance.new("TextButton")
| |
| 858 | Close = Instance.new("TextButton")
| |
| 859 | Open = Instance.new("TextButton")
| |
| 860 | Name = Instance.new("TextLabel")
| |
| 861 | TextButton = Instance.new("TextButton")
| |
| 862 | -- Properties | |
| 863 | ||
| 864 | Exploit.Name = "Exploit" | |
| 865 | Exploit.Parent = game.Players.LocalPlayer.PlayerGui | |
| 866 | ||
| 867 | UI.Name = "UI" | |
| 868 | UI.Parent = Exploit | |
| 869 | UI.Active = true | |
| 870 | UI.BackgroundColor3 = Color3.new(0, 0, 0) | |
| 871 | UI.BorderColor3 = Color3.new(255, 255, 255) | |
| 872 | UI.Draggable = true | |
| 873 | UI.Position = UDim2.new(0, 31, 0, 111) | |
| 874 | UI.Selectable = true | |
| 875 | UI.Size = UDim2.new(0, 600, 0, 300) | |
| 876 | UI.Visible = false | |
| 877 | ||
| 878 | ScrollingFrame.Parent = UI | |
| 879 | ScrollingFrame.BackgroundColor3 = Color3.new(0, 0, 0) | |
| 880 | ScrollingFrame.BorderColor3 = Color3.new(255, 255, 255) | |
| 881 | ScrollingFrame.Position = UDim2.new(0, 10, 0, 10) | |
| 882 | ScrollingFrame.Size = UDim2.new(0, 580, 0, 240) | |
| 883 | ScrollingFrame.CanvasSize = UDim2.new(0,0,20,0) | |
| 884 | ScrollingFrame.Changed:connect(function() | |
| 885 | GScrollingFrame.CanvasPosition = ScrollingFrame.CanvasPosition | |
| 886 | end) | |
| 887 | Source.Name = "Source" | |
| 888 | Source.Parent = ScrollingFrame | |
| 889 | Source.BackgroundColor3 = Color3.new(0, 0, 0) | |
| 890 | Source.BorderColor3 = Color3.new(0, 0,0) | |
| 891 | Source.Position = UDim2.new(0, 0, 0, 0) | |
| 892 | Source.Size = UDim2.new(0, 550, 0, 3000) | |
| 893 | Source.ClearTextOnFocus = false | |
| 894 | Source.Font = Enum.Font.Code | |
| 895 | Source.FontSize = Enum.FontSize.Size18 | |
| 896 | Source.MultiLine = true | |
| 897 | Source.Text = 'print("Hello World!")'
| |
| 898 | Source.TextColor3 = Color3.new(255, 255, 255) | |
| 899 | Source.TextSize = 18 | |
| 900 | Source.TextWrapped = true | |
| 901 | Source.TextXAlignment = Enum.TextXAlignment.Left | |
| 902 | Source.TextYAlignment = Enum.TextYAlignment.Top | |
| 903 | ||
| 904 | Execute.Name = "Execute" | |
| 905 | Execute.Parent = UI | |
| 906 | Execute.BackgroundColor3 = Color3.new(0, 0, 0) | |
| 907 | Execute.BorderColor3 = Color3.new(255, 255, 255) | |
| 908 | Execute.Position = UDim2.new(0, 150, 0, 260) | |
| 909 | Execute.Size = UDim2.new(0, 60, 0, 30) | |
| 910 | Execute.Font = Enum.Font.SciFi | |
| 911 | Execute.FontSize = Enum.FontSize.Size14 | |
| 912 | Execute.Text = "Execute" | |
| 913 | Execute.TextColor3 = Color3.new(255, 255, 255) | |
| 914 | Execute.TextSize = 14 | |
| 915 | Execute.MouseButton1Down:connect(function() | |
| 916 | Name.Text = "Running" | |
| 917 | loadstring(tostring(Source.Text))() | |
| 918 | Name.Text = "Executed" | |
| 919 | wait(1) | |
| 920 | Name.Text = "Quick Exe" | |
| 921 | end) | |
| 922 | Clear.Name = "Clear" | |
| 923 | Clear.Parent = UI | |
| 924 | Clear.BackgroundColor3 = Color3.new(0, 0, 0) | |
| 925 | Clear.BorderColor3 = Color3.new(255, 255, 255) | |
| 926 | Clear.Position = UDim2.new(0, 380, 0, 260) | |
| 927 | Clear.Size = UDim2.new(0, 60, 0, 30) | |
| 928 | Clear.Font = Enum.Font.SciFi | |
| 929 | Clear.FontSize = Enum.FontSize.Size14 | |
| 930 | Clear.Text = "Clear" | |
| 931 | Clear.TextColor3 = Color3.new(255, 255, 255) | |
| 932 | Clear.TextSize = 14 | |
| 933 | Clear.MouseButton1Down:connect(function() | |
| 934 | Name.Text = "Cleared!" | |
| 935 | Source.Text = "" | |
| 936 | wait(1) | |
| 937 | Name.Text = "Quick Exe" | |
| 938 | end) | |
| 939 | ||
| 940 | Close.Name = "Close" | |
| 941 | Close.Parent = UI | |
| 942 | Close.BackgroundColor3 = Color3.new(0, 0, 0) | |
| 943 | Close.BorderColor3 = Color3.new(255, 255, 255) | |
| 944 | Close.Position = UDim2.new(0, 270, 0, 301) | |
| 945 | Close.Size = UDim2.new(0, 50, 0, 15) | |
| 946 | Close.Font = Enum.Font.Code | |
| 947 | Close.FontSize = Enum.FontSize.Size14 | |
| 948 | Close.Text = "Hide" | |
| 949 | Close.TextColor3 = Color3.new(255, 255, 255) | |
| 950 | Close.TextSize = 14 | |
| 951 | Close.MouseButton1Down:connect(function() | |
| 952 | UI.Visible = false | |
| 953 | for Down = 146,600,16 do | |
| 954 | wait(0) | |
| 955 | end | |
| 956 | Open.Visible = true | |
| 957 | end) | |
| 958 | Open.Name = "Open" | |
| 959 | Open.Parent = Exploit | |
| 960 | Open.BackgroundColor3 = Color3.new(0, 0, 0) | |
| 961 | Open.BorderColor3 = Color3.new(255, 255, 255) | |
| 962 | Open.Position = UDim2.new(0, 100, 0.9, 0) | |
| 963 | Open.Size = UDim2.new(0, 300, 0, 30) | |
| 964 | Open.Visible = false | |
| 965 | Open.Font = Enum.Font.Code | |
| 966 | Open.FontSize = Enum.FontSize.Size14 | |
| 967 | Open.Text = "Left click = open | Right Click = exit" | |
| 968 | Open.TextColor3 = Color3.new(255, 255, 255) | |
| 969 | Open.TextSize = 14 | |
| 970 | Open.MouseButton1Down:connect(function() | |
| 971 | UI.Visible = true | |
| 972 | Open.Visible = false | |
| 973 | for Up = 600,146,-16 do | |
| 974 | wait(0) | |
| 975 | end | |
| 976 | end) | |
| 977 | Open.MouseButton2Down:connect(function() | |
| 978 | Exploit:Destroy() | |
| 979 | for Up = 600,146,-16 do | |
| 980 | wait(0) | |
| 981 | end | |
| 982 | end) | |
| 983 | ||
| 984 | Name.Name = "Name" | |
| 985 | Name.Parent = UI | |
| 986 | Name.BackgroundColor3 = Color3.new(0, 0, 0) | |
| 987 | Name.BorderColor3 = Color3.new(255, 255, 255) | |
| 988 | Name.Position = UDim2.new(0, 190, 0, -31) | |
| 989 | Name.Size = UDim2.new(0, 220, 0, 30) | |
| 990 | Name.Font = Enum.Font.SciFi | |
| 991 | Name.FontSize = Enum.FontSize.Size24 | |
| 992 | Name.Text = "Quick Exe" | |
| 993 | Name.TextColor3 = Color3.new(0.490196, 0.490196, 0.490196) | |
| 994 | Name.TextSize = 24 | |
| 995 | ||
| 996 | UI.Visible = true | |
| 997 | Name.Text = "Quick Exe" | |
| 998 | ||
| 999 | while true do | |
| 1000 | wait(0) | |
| 1001 | for i = 255,100,-5 do | |
| 1002 | Name.TextColor3 = Color3.fromRGB(i,i,i) | |
| 1003 | wait(0) | |
| 1004 | end | |
| 1005 | for c = 100,255,5 do | |
| 1006 | Name.TextColor3 = Color3.fromRGB(c,c,c) | |
| 1007 | wait(0) | |
| 1008 | end | |
| 1009 | end | |
| 1010 | end) | |
| 1011 | ||
| 1012 | addcmd('ff','gives ff to player',{},
| |
| 1013 | function(args, speaker) | |
| 1014 | local players = getPlayer(args[1], speaker) | |
| 1015 | for i,v in pairs(players)do | |
| 1016 | local pchar=_char(v) | |
| 1017 | Instance.new("ForceField", pchar)
| |
| 1018 | end | |
| 1019 | end) | |
| 1020 | ||
| 1021 | addcmd('rocket','attaches a player to a rocket',{'missile'},
| |
| 1022 | function(args, speaker) | |
| 1023 | local players = getPlayer(args[1], speaker) | |
| 1024 | for i,v in pairs(players)do | |
| 1025 | local pchar=_char(v) | |
| 1026 | spawn(function() | |
| 1027 | local m = missile:Clone() | |
| 1028 | m.Parent = workspace | |
| 1029 | local W = Instance.new('Weld', m)
| |
| 1030 | W.Part0 = W.Parent | |
| 1031 | W.Part1 = pchar.Torso | |
| 1032 | W.C1 = CFrame.new(0, 0.5, 1) | |
| 1033 | m.force.Force = Vector3.new(0, 15000, 0) | |
| 1034 | wait(0.01) | |
| 1035 | pchar.HumanoidRootPart.CFrame = pchar.HumanoidRootPart.CFrame * CFrame.new(0, 5, 0) | |
| 1036 | wait(5) | |
| 1037 | Instance.new('Explosion', m).Position = m.Position
| |
| 1038 | wait(0.01) | |
| 1039 | pchar:BreakJoints() | |
| 1040 | wait(1) | |
| 1041 | m:destroy() | |
| 1042 | end) | |
| 1043 | end | |
| 1044 | end) | |
| 1045 | ||
| 1046 | addcmd('rejoin','makes you rejoin the game',{'rj'},
| |
| 1047 | function(args, speaker) | |
| 1048 | game:GetService('TeleportService'):Teleport(game.PlaceId)
| |
| 1049 | end) | |
| 1050 | ||
| 1051 | addcmd('unff', 'takes away ff from player',{'unff'},
| |
| 1052 | function(args, speaker) | |
| 1053 | local players = getPlayer(args[1], speaker) | |
| 1054 | for i,v in pairs(players)do | |
| 1055 | local pchar=_char(v) | |
| 1056 | for j,v1 in pairs(pchar:GetChildren()) do | |
| 1057 | if v1:IsA("ForceField") then
| |
| 1058 | v1:Destroy() | |
| 1059 | end | |
| 1060 | end | |
| 1061 | end | |
| 1062 | end) | |
| 1063 | ||
| 1064 | addcmd('spasm','makes someone c r a z y',{},
| |
| 1065 | function(args, speaker) | |
| 1066 | local players = getPlayer(args[1], speaker) | |
| 1067 | for i,v in pairs(players)do | |
| 1068 | local pchar=_char(v) | |
| 1069 | local AnimationId = "33796059" | |
| 1070 | local Anim = Instance.new("Animation")
| |
| 1071 | Anim.AnimationId = "rbxassetid://"..AnimationId | |
| 1072 | local k = pchar.Humanoid:LoadAnimation(Anim) | |
| 1073 | k:Play() | |
| 1074 | k:AdjustSpeed(99) | |
| 1075 | end | |
| 1076 | end) | |
| 1077 | ||
| 1078 | ||
| 1079 | addcmd('fly','makes you fly',{},
| |
| 1080 | function(args, speaker) | |
| 1081 | sFLY() | |
| 1082 | end) | |
| 1083 | ||
| 1084 | addcmd('unfly','takes away fly',{'nofly'},
| |
| 1085 | function(args, speaker) | |
| 1086 | NOFLY() | |
| 1087 | end) | |
| 1088 | ||
| 1089 | addcmd('fire', 'set a player on fire',{},
| |
| 1090 | function(args, speaker) | |
| 1091 | local players = getPlayer(args[1], speaker) | |
| 1092 | for i,v in pairs(players)do | |
| 1093 | spawn(function() | |
| 1094 | local pchar=_char(v) | |
| 1095 | local Fire1 = Instance.new("Fire", pchar.Head)
| |
| 1096 | local Fire2 = Instance.new("Fire", pchar.HumanoidRootPart)
| |
| 1097 | local Fire3 = Instance.new("Fire", pchar["Left Arm"])
| |
| 1098 | local Fire4 = Instance.new("Fire", pchar["Right Arm"])
| |
| 1099 | local Fire5 = Instance.new("Fire", pchar["Left Leg"])
| |
| 1100 | local Fire6 = Instance.new("Fire", pchar["Right Leg"])
| |
| 1101 | if not args[2] then return end | |
| 1102 | Fire1.Color = Color3.new((args[2]),(args[3]),(args[4])) | |
| 1103 | Fire1.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4])) | |
| 1104 | Fire2.Color = Color3.new((args[2]),(args[3]),(args[4])) | |
| 1105 | Fire2.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4])) | |
| 1106 | Fire3.Color = Color3.new((args[2]),(args[3]),(args[4])) | |
| 1107 | Fire3.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4])) | |
| 1108 | Fire4.Color = Color3.new((args[2]),(args[3]),(args[4])) | |
| 1109 | Fire4.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4])) | |
| 1110 | Fire5.Color = Color3.new((args[2]),(args[3]),(args[4])) | |
| 1111 | Fire5.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4])) | |
| 1112 | Fire6.Color = Color3.new((args[2]),(args[3]),(args[4])) | |
| 1113 | Fire6.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4])) | |
| 1114 | end) | |
| 1115 | end | |
| 1116 | end) | |
| 1117 | ||
| 1118 | addcmd('nofire', 'extinguish a player',{'unfire'},
| |
| 1119 | function(args, speaker) | |
| 1120 | local players = getPlayer(args[1], speaker) | |
| 1121 | for i,v in pairs(players)do | |
| 1122 | local pchar=_char(v) | |
| 1123 | for j,v1 in pairs(pchar.Head:GetChildren()) do | |
| 1124 | if v1:IsA("Fire") then
| |
| 1125 | v1:Destroy() | |
| 1126 | end | |
| 1127 | end | |
| 1128 | for j,v1 in pairs(pchar.HumanoidRootPart:GetChildren()) do | |
| 1129 | if v1:IsA("Fire") then
| |
| 1130 | v1:Destroy() | |
| 1131 | end | |
| 1132 | end | |
| 1133 | for j,v1 in pairs(pchar["Left Arm"]:GetChildren()) do | |
| 1134 | if v1:IsA("Fire") then
| |
| 1135 | v1:Destroy() | |
| 1136 | end | |
| 1137 | end | |
| 1138 | for j,v1 in pairs(pchar["Right Arm"]:GetChildren()) do | |
| 1139 | if v1:IsA("Fire") then
| |
| 1140 | v1:Destroy() | |
| 1141 | end | |
| 1142 | end | |
| 1143 | for j,v1 in pairs(pchar["Left Leg"]:GetChildren()) do | |
| 1144 | if v1:IsA("Fire") then
| |
| 1145 | v1:Destroy() | |
| 1146 | end | |
| 1147 | end | |
| 1148 | for j,v1 in pairs(pchar["Right Leg"]:GetChildren()) do | |
| 1149 | if v1:IsA("Fire") then
| |
| 1150 | v1:Destroy() | |
| 1151 | end | |
| 1152 | end | |
| 1153 | end | |
| 1154 | end) | |
| 1155 | ||
| 1156 | addcmd('shiny', 'makes a player shine',{},
| |
| 1157 | function(args, speaker) | |
| 1158 | local players = getPlayer(args[1], speaker) | |
| 1159 | for i,v in pairs(players)do | |
| 1160 | spawn(function() | |
| 1161 | local pchar=_char(v) | |
| 1162 | for i,v in pairs(pchar:GetChildren()) do | |
| 1163 | if v.ClassName == "Decal" or v.ClassName == "Texture" then | |
| 1164 | v:Remove() | |
| 1165 | end | |
| 1166 | if v.ClassName == "Part" or v.ClassName == "WedgePart" or v.ClassName == "TrussPart" or v.ClassName == "UnionOperation" or v.ClassName == "CornerWedgePart" then | |
| 1167 | v.Reflectance = 1 | |
| 1168 | v.Material = "Plastic" | |
| 1169 | end | |
| 1170 | end | |
| 1171 | end) | |
| 1172 | end | |
| 1173 | end) | |
| 1174 | ||
| 1175 | addcmd('light', 'givs em light',{},
| |
| 1176 | function(args, speaker) | |
| 1177 | local players = getPlayer(args[1], speaker) | |
| 1178 | for i,v in pairs(players)do | |
| 1179 | spawn(function() | |
| 1180 | local pchar=_char(v) | |
| 1181 | local light = Instance.new("PointLight", pchar.HumanoidRootPart)
| |
| 1182 | light.Range = 12 | |
| 1183 | light.Brightness = 3 | |
| 1184 | if not args[2] then return end | |
| 1185 | light.Color = Color3.new((args[2]),(args[3]),(args[4])) | |
| 1186 | light.Range = 12 | |
| 1187 | light.Brightness = 3 | |
| 1188 | end) | |
| 1189 | end | |
| 1190 | end) | |
| 1191 | ||
| 1192 | addcmd('nolight', 'no more light',{'unlight'},
| |
| 1193 | function(args, speaker) | |
| 1194 | local players = getPlayer(args[1], speaker) | |
| 1195 | for i,v in pairs(players)do | |
| 1196 | local pchar=_char(v) | |
| 1197 | for j,v1 in pairs(pchar.HumanoidRootPart:GetChildren()) do | |
| 1198 | if v1:IsA("PointLight") then
| |
| 1199 | v1:Destroy() | |
| 1200 | end | |
| 1201 | end | |
| 1202 | end | |
| 1203 | end) | |
| 1204 | ||
| 1205 | addcmd('loopkill', 'rip person',{'lkill'},
| |
| 1206 | function(args, speaker) | |
| 1207 | local players = getPlayer(args[1], speaker) | |
| 1208 | for i,v in pairs(players)do | |
| 1209 | if not FindTable(loopkillT, _players[v].Name) then | |
| 1210 | table.insert(loopkillT, _players[v].Name) | |
| 1211 | if args[1] == "all" then | |
| 1212 | Notify('Loopkilling everyone')
| |
| 1213 | elseif args[1] == "others" then | |
| 1214 | Notify('Loopkilling others')
| |
| 1215 | elseif args[1] == "friends" then | |
| 1216 | Notify('Loopkilling friends')
| |
| 1217 | elseif args[1] == "nonfriends" then | |
| 1218 | Notify('Loopkilling nonfriends')
| |
| 1219 | elseif args[1] == "team" then | |
| 1220 | Notify('Loopkilling your team')
| |
| 1221 | elseif args[1] == "nonteam" then | |
| 1222 | Notify('Loopkilling the opposing team')
| |
| 1223 | elseif args[1] == "guests" then | |
| 1224 | Notify('Loopkilling guests')
| |
| 1225 | elseif args[1] == "admins" then | |
| 1226 | Notify('Loopkilling admins')
| |
| 1227 | elseif args[1] == "nonadmins" then | |
| 1228 | Notify('Loopkilling non admins')
| |
| 1229 | else | |
| 1230 | Notify('Loopkilling ' .. gPlayers[v].Name)
| |
| 1231 | end | |
| 1232 | end | |
| 1233 | end | |
| 1234 | end) | |
| 1235 | ||
| 1236 | addcmd('unloopkill', 'un rip person',{'unlkill'},
| |
| 1237 | function(args, speaker) | |
| 1238 | local players = getPlayer(args[1], speaker) | |
| 1239 | for i,v in pairs(players)do | |
| 1240 | if FindTable(loopkillT, _players[v].Name) then | |
| 1241 | table.remove(loopkillT, GetInTable(loopkillT, _players[v].Name)) | |
| 1242 | if args[1] == "all" then | |
| 1243 | Notify('No longer loopkilling everyone')
| |
| 1244 | elseif args[1] == "others" then | |
| 1245 | Notify('No longer loopkilling others')
| |
| 1246 | elseif args[1] == "friends" then | |
| 1247 | Notify('No longer loopkilling friends')
| |
| 1248 | elseif args[1] == "nonfriends" then | |
| 1249 | Notify('No longer loopkilling nonfriends')
| |
| 1250 | elseif args[1] == "team" then | |
| 1251 | Notify('No longer loopkilling your team')
| |
| 1252 | elseif args[1] == "nonteam" then | |
| 1253 | Notify('No longer loopkilling the opposing team')
| |
| 1254 | elseif args[1] == "guests" then | |
| 1255 | Notify('No longer loopkilling guests')
| |
| 1256 | elseif args[1] == "admins" then | |
| 1257 | Notify('No longer loopkilling admins')
| |
| 1258 | elseif args[1] == "nonadmins" then | |
| 1259 | Notify('No longer loopkilling nonadmins')
| |
| 1260 | else | |
| 1261 | Notify('No longer loopkilling ' .. gPlayers[v].Name)
| |
| 1262 | end | |
| 1263 | end | |
| 1264 | end | |
| 1265 | end) | |
| 1266 | ||
| 1267 | addcmd('disabletools', 'removes their tools',{'loopremovetools'},
| |
| 1268 | function(args, speaker) | |
| 1269 | local players = getPlayer(args[1], speaker) | |
| 1270 | for i,v in pairs(players)do | |
| 1271 | if not FindTable(disabletoolsT, _players[v].Name) then | |
| 1272 | table.insert(disabletoolsT, _players[v].Name) | |
| 1273 | if args[1] == "all" then | |
| 1274 | Notify('Disabled tools for everyone')
| |
| 1275 | elseif args[1] == "others" then | |
| 1276 | Notify('Disabled tools for others')
| |
| 1277 | elseif args[1] == "friends" then | |
| 1278 | Notify('Disabled tools for friends')
| |
| 1279 | elseif args[1] == "nonfriends" then | |
| 1280 | Notify('Disabled tools for nonfriends')
| |
| 1281 | elseif args[1] == "team" then | |
| 1282 | Notify('Disabled tools for your team')
| |
| 1283 | elseif args[1] == "nonteam" then | |
| 1284 | Notify('Disabled tools for the opposing team')
| |
| 1285 | elseif args[1] == "guests" then | |
| 1286 | Notify('Disabled tools for guests')
| |
| 1287 | elseif args[1] == "admins" then | |
| 1288 | Notify('Disabled tools for admins')
| |
| 1289 | elseif args[1] == "nonadmins" then | |
| 1290 | Notify('Disabled tools for nonadmins')
| |
| 1291 | else | |
| 1292 | Notify('Disabled tools for ' .. gPlayers[v].Name)
| |
| 1293 | end | |
| 1294 | end | |
| 1295 | end | |
| 1296 | end) | |
| 1297 | ||
| 1298 | addcmd('rainbowname', 'color spam their name tag',{'rname'},
| |
| 1299 | function(args, speaker) | |
| 1300 | local players = getPlayer(args[1], speaker) | |
| 1301 | for i,v in pairs(players)do | |
| 1302 | if not FindTable(rainbowT, _players[v].Name) then | |
| 1303 | table.insert(rainbowT, _players[v].Name) | |
| 1304 | if args[1] == "all" then | |
| 1305 | Notify('Gave everyone rainbow name')
| |
| 1306 | elseif args[1] == "others" then | |
| 1307 | Notify('Gave others rainbow name')
| |
| 1308 | elseif args[1] == "friends" then | |
| 1309 | Notify('Gave friends rainbow name')
| |
| 1310 | elseif args[1] == "nonfriends" then | |
| 1311 | Notify('Gave nonfriends rainbow name')
| |
| 1312 | elseif args[1] == "team" then | |
| 1313 | Notify('Gave your team rainbow name')
| |
| 1314 | elseif args[1] == "nonteam" then | |
| 1315 | Notify('Gave the opposing team rainbow name')
| |
| 1316 | elseif args[1] == "guests" then | |
| 1317 | Notify('Gave guests rainbow name')
| |
| 1318 | elseif args[1] == "admins" then | |
| 1319 | Notify('Gave admins rainbowname')
| |
| 1320 | elseif args[1] == "nonadmins" then | |
| 1321 | Notify('Gave nonadmins rainbow name')
| |
| 1322 | else | |
| 1323 | Notify('Gave ' .. gPlayers[v].Name .. ' rainbow name')
| |
| 1324 | end | |
| 1325 | end | |
| 1326 | end | |
| 1327 | end) | |
| 1328 | ||
| 1329 | addcmd('unrainbowname', 'removes their colorful name',{'unrname'},
| |
| 1330 | function(args, speaker) | |
| 1331 | local players = getPlayer(args[1], speaker) | |
| 1332 | for i,v in pairs(players)do | |
| 1333 | if FindTable(rainbowT, _players[v].Name) then | |
| 1334 | table.remove(rainbowT, GetInTable(rainbowT, _players[v].Name)) | |
| 1335 | _players[v].Neutral = true | |
| 1336 | if args[1] == "all" then | |
| 1337 | Notify('Disabled rainbow name for everyone')
| |
| 1338 | elseif args[1] == "others" then | |
| 1339 | Notify('Disabled others rainbow name')
| |
| 1340 | elseif args[1] == "friends" then | |
| 1341 | Notify('Disabled friends rainbow name')
| |
| 1342 | elseif args[1] == "nonfriends" then | |
| 1343 | Notify('Disabled non friends rainbow name')
| |
| 1344 | elseif args[1] == "team" then | |
| 1345 | Notify('Disabled rainbow name for your team')
| |
| 1346 | elseif args[1] == "nonteam" then | |
| 1347 | Notify('Disabled rainbow name for the opposing team')
| |
| 1348 | elseif args[1] == "guests" then | |
| 1349 | Notify('Disabled rainbow name for guests')
| |
| 1350 | elseif args[1] == "admins" then | |
| 1351 | Notify('Disabled rainbow name for admins')
| |
| 1352 | elseif args[1] == "nonadmins" then | |
| 1353 | Notify('Disabled rainbow name for non admins')
| |
| 1354 | else | |
| 1355 | Notify('Disabled rainbow name for ' .. gPlayers[v].Name)
| |
| 1356 | end | |
| 1357 | end | |
| 1358 | end | |
| 1359 | end) | |
| 1360 | ||
| 1361 | addcmd('terrain', 'gives you terrain tools',{'tt'},
| |
| 1362 | function(args, speaker) | |
| 1363 | --Terrain Script | |
| 1364 | --Edge#3467/IoIman616 | |
| 1365 | ||
| 1366 | for _, child in pairs( game.Players.LocalPlayer.PlayerGui:GetChildren()) do | |
| 1367 | if child.Name == "MaterialGui" then | |
| 1368 | child:Destroy() | |
| 1369 | end | |
| 1370 | end | |
| 1371 | ||
| 1372 | function sandbox(var,func) | |
| 1373 | local env = getfenv(func) | |
| 1374 | local newenv = setmetatable({},{
| |
| 1375 | __index = function(self,k) | |
| 1376 | if k=="script" then | |
| 1377 | return var | |
| 1378 | else | |
| 1379 | return env[k] | |
| 1380 | end | |
| 1381 | end, | |
| 1382 | }) | |
| 1383 | setfenv(func,newenv) | |
| 1384 | return func | |
| 1385 | end | |
| 1386 | cors = {}
| |
| 1387 | mas = Instance.new("Model",game:GetService("Lighting"))
| |
| 1388 | HopperBin0 = Instance.new("HopperBin")
| |
| 1389 | HopperBin0.Name = "Terrain Build" | |
| 1390 | HopperBin0.Parent = mas | |
| 1391 | for i,v in pairs(mas:GetChildren()) do | |
| 1392 | v.Parent = game:GetService("Players").LocalPlayer.Backpack
| |
| 1393 | pcall(function() v:MakeJoints() end) | |
| 1394 | end | |
| 1395 | mas:Destroy() | |
| 1396 | for i,v in pairs(cors) do | |
| 1397 | spawn(function() | |
| 1398 | pcall(v) | |
| 1399 | end) | |
| 1400 | end | |
| 1401 | ||
| 1402 | wait(0.01) | |
| 1403 | ||
| 1404 | function sandbox(var,func) | |
| 1405 | local env = getfenv(func) | |
| 1406 | local newenv = setmetatable({},{
| |
| 1407 | __index = function(self,k) | |
| 1408 | if k=="script" then | |
| 1409 | return var | |
| 1410 | else | |
| 1411 | return env[k] | |
| 1412 | end | |
| 1413 | end, | |
| 1414 | }) | |
| 1415 | setfenv(func,newenv) | |
| 1416 | return func | |
| 1417 | end | |
| 1418 | cors = {}
| |
| 1419 | mas = Instance.new("Model",game:GetService("Lighting"))
| |
| 1420 | ScreenGui0 = Instance.new("ScreenGui")
| |
| 1421 | ImageLabel1 = Instance.new("ImageLabel")
| |
| 1422 | ImageButton2 = Instance.new("ImageButton")
| |
| 1423 | Frame3 = Instance.new("Frame")
| |
| 1424 | NumberValue4 = Instance.new("NumberValue")
| |
| 1425 | ImageButton5 = Instance.new("ImageButton")
| |
| 1426 | Frame6 = Instance.new("Frame")
| |
| 1427 | NumberValue7 = Instance.new("NumberValue")
| |
| 1428 | ImageButton8 = Instance.new("ImageButton")
| |
| 1429 | Frame9 = Instance.new("Frame")
| |
| 1430 | NumberValue10 = Instance.new("NumberValue")
| |
| 1431 | ImageButton11 = Instance.new("ImageButton")
| |
| 1432 | Frame12 = Instance.new("Frame")
| |
| 1433 | NumberValue13 = Instance.new("NumberValue")
| |
| 1434 | ImageButton14 = Instance.new("ImageButton")
| |
| 1435 | Frame15 = Instance.new("Frame")
| |
| 1436 | NumberValue16 = Instance.new("NumberValue")
| |
| 1437 | ImageButton17 = Instance.new("ImageButton")
| |
| 1438 | Frame18 = Instance.new("Frame")
| |
| 1439 | NumberValue19 = Instance.new("NumberValue")
| |
| 1440 | ImageButton20 = Instance.new("ImageButton")
| |
| 1441 | Frame21 = Instance.new("Frame")
| |
| 1442 | NumberValue22 = Instance.new("NumberValue")
| |
| 1443 | ImageButton23 = Instance.new("ImageButton")
| |
| 1444 | Frame24 = Instance.new("Frame")
| |
| 1445 | NumberValue25 = Instance.new("NumberValue")
| |
| 1446 | ImageButton26 = Instance.new("ImageButton")
| |
| 1447 | Frame27 = Instance.new("Frame")
| |
| 1448 | NumberValue28 = Instance.new("NumberValue")
| |
| 1449 | ImageButton29 = Instance.new("ImageButton")
| |
| 1450 | Frame30 = Instance.new("Frame")
| |
| 1451 | NumberValue31 = Instance.new("NumberValue")
| |
| 1452 | ImageButton32 = Instance.new("ImageButton")
| |
| 1453 | Frame33 = Instance.new("Frame")
| |
| 1454 | NumberValue34 = Instance.new("NumberValue")
| |
| 1455 | ImageButton35 = Instance.new("ImageButton")
| |
| 1456 | Frame36 = Instance.new("Frame")
| |
| 1457 | NumberValue37 = Instance.new("NumberValue")
| |
| 1458 | ImageButton38 = Instance.new("ImageButton")
| |
| 1459 | Frame39 = Instance.new("Frame")
| |
| 1460 | NumberValue40 = Instance.new("NumberValue")
| |
| 1461 | ImageButton41 = Instance.new("ImageButton")
| |
| 1462 | Frame42 = Instance.new("Frame")
| |
| 1463 | NumberValue43 = Instance.new("NumberValue")
| |
| 1464 | ImageButton44 = Instance.new("ImageButton")
| |
| 1465 | Frame45 = Instance.new("Frame")
| |
| 1466 | NumberValue46 = Instance.new("NumberValue")
| |
| 1467 | ImageButton47 = Instance.new("ImageButton")
| |
| 1468 | Frame48 = Instance.new("Frame")
| |
| 1469 | NumberValue49 = Instance.new("NumberValue")
| |
| 1470 | ImageButton50 = Instance.new("ImageButton")
| |
| 1471 | Frame51 = Instance.new("Frame")
| |
| 1472 | NumberValue52 = Instance.new("NumberValue")
| |
| 1473 | ImageButton53 = Instance.new("ImageButton")
| |
| 1474 | Frame54 = Instance.new("Frame")
| |
| 1475 | ScreenGui0.Name = "MaterialGui" | |
| 1476 | ScreenGui0.Parent = mas | |
| 1477 | ImageLabel1.Name = "MaterialMenu" | |
| 1478 | ImageLabel1.Parent = ScreenGui0 | |
| 1479 | ImageLabel1.Transparency = 1 | |
| 1480 | ImageLabel1.Size = UDim2.new(0, 100, 0, 450) | |
| 1481 | ImageLabel1.Position = UDim2.new(0, 0, 1, -550) | |
| 1482 | ImageLabel1.BackgroundTransparency = 1 | |
| 1483 | ImageLabel1.ZIndex = 2 | |
| 1484 | ImageLabel1.Image = "rbxasset://textures/ui/MaterialMenu.png" | |
| 1485 | ImageButton2.Name = "Grass" | |
| 1486 | ImageButton2.Parent = ImageLabel1 | |
| 1487 | ImageButton2.Transparency = 1 | |
| 1488 | ImageButton2.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
| 1489 | ImageButton2.Position = UDim2.new(0.0700000003, 0, 0.0599999987, 0) | |
| 1490 | ImageButton2.BackgroundTransparency = 1 | |
| 1491 | ImageButton2.ZIndex = 4 | |
| 1492 | ImageButton2.Image = "http://www.roblox.com/asset/?id=56563112" | |
| 1493 | Frame3.Name = "Selection" | |
| 1494 | Frame3.Parent = ImageButton2 | |
| 1495 | Frame3.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
| 1496 | Frame3.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
| 1497 | Frame3.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 1498 | Frame3.BorderSizePixel = 0 | |
| 1499 | Frame3.ZIndex = 3 | |
| 1500 | NumberValue4.Name = "num" | |
| 1501 | NumberValue4.Parent = ImageButton2 | |
| 1502 | NumberValue4.Value = 1 | |
| 1503 | ImageButton5.Name = "Sand" | |
| 1504 | ImageButton5.Parent = ImageLabel1 | |
| 1505 | ImageButton5.Transparency = 1 | |
| 1506 | ImageButton5.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
| 1507 | ImageButton5.Position = UDim2.new(0.524545431, 0, 0.0599999987, 0) | |
| 1508 | ImageButton5.BackgroundTransparency = 1 | |
| 1509 | ImageButton5.ZIndex = 4 | |
| 1510 | ImageButton5.Image = "http://www.roblox.com/asset/?id=62356652" | |
| 1511 | Frame6.Name = "Selection" | |
| 1512 | Frame6.Parent = ImageButton5 | |
| 1513 | Frame6.Transparency = 1 | |
| 1514 | Frame6.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
| 1515 | Frame6.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
| 1516 | Frame6.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 1517 | Frame6.BackgroundTransparency = 1 | |
| 1518 | Frame6.BorderSizePixel = 0 | |
| 1519 | Frame6.ZIndex = 3 | |
| 1520 | NumberValue7.Name = "num" | |
| 1521 | NumberValue7.Parent = ImageButton5 | |
| 1522 | NumberValue7.Value = 2 | |
| 1523 | ImageButton8.Name = "Brick" | |
| 1524 | ImageButton8.Parent = ImageLabel1 | |
| 1525 | ImageButton8.Transparency = 1 | |
| 1526 | ImageButton8.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
| 1527 | ImageButton8.Position = UDim2.new(0.0700000003, 0, 0.161010101, 0) | |
| 1528 | ImageButton8.BackgroundTransparency = 1 | |
| 1529 | ImageButton8.ZIndex = 4 | |
| 1530 | ImageButton8.Image = "http://www.roblox.com/asset/?id=65961537" | |
| 1531 | Frame9.Name = "Selection" | |
| 1532 | Frame9.Parent = ImageButton8 | |
| 1533 | Frame9.Transparency = 1 | |
| 1534 | Frame9.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
| 1535 | Frame9.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
| 1536 | Frame9.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 1537 | Frame9.BackgroundTransparency = 1 | |
| 1538 | Frame9.BorderSizePixel = 0 | |
| 1539 | Frame9.ZIndex = 3 | |
| 1540 | NumberValue10.Name = "num" | |
| 1541 | NumberValue10.Parent = ImageButton8 | |
| 1542 | NumberValue10.Value = 3 | |
| 1543 | ImageButton11.Name = "Granite" | |
| 1544 | ImageButton11.Parent = ImageLabel1 | |
| 1545 | ImageButton11.Transparency = 1 | |
| 1546 | ImageButton11.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
| 1547 | ImageButton11.Position = UDim2.new(0.524545431, 0, 0.161010101, 0) | |
| 1548 | ImageButton11.BackgroundTransparency = 1 | |
| 1549 | ImageButton11.ZIndex = 4 | |
| 1550 | ImageButton11.Image = "http://www.roblox.com/asset/?id=67532153" | |
| 1551 | Frame12.Name = "Selection" | |
| 1552 | Frame12.Parent = ImageButton11 | |
| 1553 | Frame12.Transparency = 1 | |
| 1554 | Frame12.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
| 1555 | Frame12.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
| 1556 | Frame12.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 1557 | Frame12.BackgroundTransparency = 1 | |
| 1558 | Frame12.BorderSizePixel = 0 | |
| 1559 | Frame12.ZIndex = 3 | |
| 1560 | NumberValue13.Name = "num" | |
| 1561 | NumberValue13.Parent = ImageButton11 | |
| 1562 | NumberValue13.Value = 4 | |
| 1563 | ImageButton14.Name = "Asphalt" | |
| 1564 | ImageButton14.Parent = ImageLabel1 | |
| 1565 | ImageButton14.Transparency = 1 | |
| 1566 | ImageButton14.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
| 1567 | ImageButton14.Position = UDim2.new(0.0700000003, 0, 0.2620202, 0) | |
| 1568 | ImageButton14.BackgroundTransparency = 1 | |
| 1569 | ImageButton14.ZIndex = 4 | |
| 1570 | ImageButton14.Image = "http://www.roblox.com/asset/?id=67532038" | |
| 1571 | Frame15.Name = "Selection" | |
| 1572 | Frame15.Parent = ImageButton14 | |
| 1573 | Frame15.Transparency = 1 | |
| 1574 | Frame15.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
| 1575 | Frame15.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
| 1576 | Frame15.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 1577 | Frame15.BackgroundTransparency = 1 | |
| 1578 | Frame15.BorderSizePixel = 0 | |
| 1579 | Frame15.ZIndex = 3 | |
| 1580 | NumberValue16.Name = "num" | |
| 1581 | NumberValue16.Parent = ImageButton14 | |
| 1582 | NumberValue16.Value = 5 | |
| 1583 | ImageButton17.Name = "Iron" | |
| 1584 | ImageButton17.Parent = ImageLabel1 | |
| 1585 | ImageButton17.Transparency = 1 | |
| 1586 | ImageButton17.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
| 1587 | ImageButton17.Position = UDim2.new(0.524545431, 0, 0.2620202, 0) | |
| 1588 | ImageButton17.BackgroundTransparency = 1 | |
| 1589 | ImageButton17.ZIndex = 4 | |
| 1590 | ImageButton17.Image = "http://www.roblox.com/asset/?id=67532093" | |
| 1591 | Frame18.Name = "Selection" | |
| 1592 | Frame18.Parent = ImageButton17 | |
| 1593 | Frame18.Transparency = 1 | |
| 1594 | Frame18.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
| 1595 | Frame18.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
| 1596 | Frame18.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 1597 | Frame18.BackgroundTransparency = 1 | |
| 1598 | Frame18.BorderSizePixel = 0 | |
| 1599 | Frame18.ZIndex = 3 | |
| 1600 | NumberValue19.Name = "num" | |
| 1601 | NumberValue19.Parent = ImageButton17 | |
| 1602 | NumberValue19.Value = 6 | |
| 1603 | ImageButton20.Name = "Aluminum" | |
| 1604 | ImageButton20.Parent = ImageLabel1 | |
| 1605 | ImageButton20.Transparency = 1 | |
| 1606 | ImageButton20.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
| 1607 | ImageButton20.Position = UDim2.new(0.0700000003, 0, 0.363030314, 0) | |
| 1608 | ImageButton20.BackgroundTransparency = 1 | |
| 1609 | ImageButton20.ZIndex = 4 | |
| 1610 | ImageButton20.Image = "http://www.roblox.com/asset/?id=67531995" | |
| 1611 | Frame21.Name = "Selection" | |
| 1612 | Frame21.Parent = ImageButton20 | |
| 1613 | Frame21.Transparency = 1 | |
| 1614 | Frame21.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
| 1615 | Frame21.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
| 1616 | Frame21.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 1617 | Frame21.BackgroundTransparency = 1 | |
| 1618 | Frame21.BorderSizePixel = 0 | |
| 1619 | Frame21.ZIndex = 3 | |
| 1620 | NumberValue22.Name = "num" | |
| 1621 | NumberValue22.Parent = ImageButton20 | |
| 1622 | NumberValue22.Value = 7 | |
| 1623 | ImageButton23.Name = "Gold" | |
| 1624 | ImageButton23.Parent = ImageLabel1 | |
| 1625 | ImageButton23.Transparency = 1 | |
| 1626 | ImageButton23.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
| 1627 | ImageButton23.Position = UDim2.new(0.524545431, 0, 0.363030314, 0) | |
| 1628 | ImageButton23.BackgroundTransparency = 1 | |
| 1629 | ImageButton23.ZIndex = 4 | |
| 1630 | ImageButton23.Image = "http://www.roblox.com/asset/?id=67532118" | |
| 1631 | Frame24.Name = "Selection" | |
| 1632 | Frame24.Parent = ImageButton23 | |
| 1633 | Frame24.Transparency = 1 | |
| 1634 | Frame24.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
| 1635 | Frame24.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
| 1636 | Frame24.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 1637 | Frame24.BackgroundTransparency = 1 | |
| 1638 | Frame24.BorderSizePixel = 0 | |
| 1639 | Frame24.ZIndex = 3 | |
| 1640 | NumberValue25.Name = "num" | |
| 1641 | NumberValue25.Parent = ImageButton23 | |
| 1642 | NumberValue25.Value = 8 | |
| 1643 | ImageButton26.Name = "Plank" | |
| 1644 | ImageButton26.Parent = ImageLabel1 | |
| 1645 | ImageButton26.Transparency = 1 | |
| 1646 | ImageButton26.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
| 1647 | ImageButton26.Position = UDim2.new(0.0700000003, 0, 0.464040399, 0) | |
| 1648 | ImageButton26.BackgroundTransparency = 1 | |
| 1649 | ImageButton26.ZIndex = 4 | |
| 1650 | ImageButton26.Image = "http://www.roblox.com/asset/?id=67532015" | |
| 1651 | Frame27.Name = "Selection" | |
| 1652 | Frame27.Parent = ImageButton26 | |
| 1653 | Frame27.Transparency = 1 | |
| 1654 | Frame27.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
| 1655 | Frame27.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
| 1656 | Frame27.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 1657 | Frame27.BackgroundTransparency = 1 | |
| 1658 | Frame27.BorderSizePixel = 0 | |
| 1659 | Frame27.ZIndex = 3 | |
| 1660 | NumberValue28.Name = "num" | |
| 1661 | NumberValue28.Parent = ImageButton26 | |
| 1662 | NumberValue28.Value = 9 | |
| 1663 | ImageButton29.Name = "Log" | |
| 1664 | ImageButton29.Parent = ImageLabel1 | |
| 1665 | ImageButton29.Transparency = 1 | |
| 1666 | ImageButton29.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
| 1667 | ImageButton29.Position = UDim2.new(0.524545431, 0, 0.464040399, 0) | |
| 1668 | ImageButton29.BackgroundTransparency = 1 | |
| 1669 | ImageButton29.ZIndex = 4 | |
| 1670 | ImageButton29.Image = "http://www.roblox.com/asset/?id=67532051" | |
| 1671 | Frame30.Name = "Selection" | |
| 1672 | Frame30.Parent = ImageButton29 | |
| 1673 | Frame30.Transparency = 1 | |
| 1674 | Frame30.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
| 1675 | Frame30.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
| 1676 | Frame30.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 1677 | Frame30.BackgroundTransparency = 1 | |
| 1678 | Frame30.BorderSizePixel = 0 | |
| 1679 | Frame30.ZIndex = 3 | |
| 1680 | NumberValue31.Name = "num" | |
| 1681 | NumberValue31.Parent = ImageButton29 | |
| 1682 | NumberValue31.Value = 10 | |
| 1683 | ImageButton32.Name = "Gravel" | |
| 1684 | ImageButton32.Parent = ImageLabel1 | |
| 1685 | ImageButton32.Transparency = 1 | |
| 1686 | ImageButton32.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
| 1687 | ImageButton32.Position = UDim2.new(0.0700000003, 0, 0.565050483, 0) | |
| 1688 | ImageButton32.BackgroundTransparency = 1 | |
| 1689 | ImageButton32.ZIndex = 4 | |
| 1690 | ImageButton32.Image = "http://www.roblox.com/asset/?id=67532206" | |
| 1691 | Frame33.Name = "Selection" | |
| 1692 | Frame33.Parent = ImageButton32 | |
| 1693 | Frame33.Transparency = 1 | |
| 1694 | Frame33.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
| 1695 | Frame33.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
| 1696 | Frame33.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 1697 | Frame33.BackgroundTransparency = 1 | |
| 1698 | Frame33.BorderSizePixel = 0 | |
| 1699 | Frame33.ZIndex = 3 | |
| 1700 | NumberValue34.Name = "num" | |
| 1701 | NumberValue34.Parent = ImageButton32 | |
| 1702 | NumberValue34.Value = 11 | |
| 1703 | ImageButton35.Name = "Cinder" | |
| 1704 | ImageButton35.Parent = ImageLabel1 | |
| 1705 | ImageButton35.Transparency = 1 | |
| 1706 | ImageButton35.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
| 1707 | ImageButton35.Position = UDim2.new(0.524545431, 0, 0.565050483, 0) | |
| 1708 | ImageButton35.BackgroundTransparency = 1 | |
| 1709 | ImageButton35.ZIndex = 4 | |
| 1710 | ImageButton35.Image = "http://www.roblox.com/asset/?id=67532103" | |
| 1711 | Frame36.Name = "Selection" | |
| 1712 | Frame36.Parent = ImageButton35 | |
| 1713 | Frame36.Transparency = 1 | |
| 1714 | Frame36.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
| 1715 | Frame36.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
| 1716 | Frame36.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 1717 | Frame36.BackgroundTransparency = 1 | |
| 1718 | Frame36.BorderSizePixel = 0 | |
| 1719 | Frame36.ZIndex = 3 | |
| 1720 | NumberValue37.Name = "num" | |
| 1721 | NumberValue37.Parent = ImageButton35 | |
| 1722 | NumberValue37.Value = 12 | |
| 1723 | ImageButton38.Name = "Stone" | |
| 1724 | ImageButton38.Parent = ImageLabel1 | |
| 1725 | ImageButton38.Transparency = 1 | |
| 1726 | ImageButton38.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
| 1727 | ImageButton38.Position = UDim2.new(0.0700000003, 0, 0.666060627, 0) | |
| 1728 | ImageButton38.BackgroundTransparency = 1 | |
| 1729 | ImageButton38.ZIndex = 4 | |
| 1730 | ImageButton38.Image = "http://www.roblox.com/asset/?id=67531804" | |
| 1731 | Frame39.Name = "Selection" | |
| 1732 | Frame39.Parent = ImageButton38 | |
| 1733 | Frame39.Transparency = 1 | |
| 1734 | Frame39.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
| 1735 | Frame39.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
| 1736 | Frame39.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 1737 | Frame39.BackgroundTransparency = 1 | |
| 1738 | Frame39.BorderSizePixel = 0 | |
| 1739 | Frame39.ZIndex = 3 | |
| 1740 | NumberValue40.Name = "num" | |
| 1741 | NumberValue40.Parent = ImageButton38 | |
| 1742 | NumberValue40.Value = 13 | |
| 1743 | ImageButton41.Name = "Cement" | |
| 1744 | ImageButton41.Parent = ImageLabel1 | |
| 1745 | ImageButton41.Transparency = 1 | |
| 1746 | ImageButton41.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
| 1747 | ImageButton41.Position = UDim2.new(0.524545431, 0, 0.666060627, 0) | |
| 1748 | ImageButton41.BackgroundTransparency = 1 | |
| 1749 | ImageButton41.ZIndex = 4 | |
| 1750 | ImageButton41.Image = "http://www.roblox.com/asset/?id=67532059" | |
| 1751 | Frame42.Name = "Selection" | |
| 1752 | Frame42.Parent = ImageButton41 | |
| 1753 | Frame42.Transparency = 1 | |
| 1754 | Frame42.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
| 1755 | Frame42.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
| 1756 | Frame42.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 1757 | Frame42.BackgroundTransparency = 1 | |
| 1758 | Frame42.BorderSizePixel = 0 | |
| 1759 | Frame42.ZIndex = 3 | |
| 1760 | NumberValue43.Name = "num" | |
| 1761 | NumberValue43.Parent = ImageButton41 | |
| 1762 | NumberValue43.Value = 14 | |
| 1763 | ImageButton44.Name = "Red Plastic" | |
| 1764 | ImageButton44.Parent = ImageLabel1 | |
| 1765 | ImageButton44.Transparency = 1 | |
| 1766 | ImageButton44.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
| 1767 | ImageButton44.Position = UDim2.new(0.0700000003, 0, 0.767070711, 0) | |
| 1768 | ImageButton44.BackgroundTransparency = 1 | |
| 1769 | ImageButton44.ZIndex = 4 | |
| 1770 | ImageButton44.Image = "http://www.roblox.com/asset/?id=67531848" | |
| 1771 | Frame45.Name = "Selection" | |
| 1772 | Frame45.Parent = ImageButton44 | |
| 1773 | Frame45.Transparency = 1 | |
| 1774 | Frame45.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
| 1775 | Frame45.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
| 1776 | Frame45.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 1777 | Frame45.BackgroundTransparency = 1 | |
| 1778 | Frame45.BorderSizePixel = 0 | |
| 1779 | Frame45.ZIndex = 3 | |
| 1780 | NumberValue46.Name = "num" | |
| 1781 | NumberValue46.Parent = ImageButton44 | |
| 1782 | NumberValue46.Value = 15 | |
| 1783 | ImageButton47.Name = "Blue Plastic" | |
| 1784 | ImageButton47.Parent = ImageLabel1 | |
| 1785 | ImageButton47.Transparency = 1 | |
| 1786 | ImageButton47.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
| 1787 | ImageButton47.Position = UDim2.new(0.524545431, 0, 0.767070711, 0) | |
| 1788 | ImageButton47.BackgroundTransparency = 1 | |
| 1789 | ImageButton47.ZIndex = 4 | |
| 1790 | ImageButton47.Image = "http://www.roblox.com/asset/?id=67531924" | |
| 1791 | Frame48.Name = "Selection" | |
| 1792 | Frame48.Parent = ImageButton47 | |
| 1793 | Frame48.Transparency = 1 | |
| 1794 | Frame48.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
| 1795 | Frame48.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
| 1796 | Frame48.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 1797 | Frame48.BackgroundTransparency = 1 | |
| 1798 | Frame48.BorderSizePixel = 0 | |
| 1799 | Frame48.ZIndex = 3 | |
| 1800 | NumberValue49.Name = "num" | |
| 1801 | NumberValue49.Parent = ImageButton47 | |
| 1802 | NumberValue49.Value = 16 | |
| 1803 | ImageButton50.Name = "Water" | |
| 1804 | ImageButton50.Parent = ImageLabel1 | |
| 1805 | ImageButton50.Transparency = 1 | |
| 1806 | ImageButton50.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
| 1807 | ImageButton50.Position = UDim2.new(0.0700000003, 0, 0.867999971, 0) | |
| 1808 | ImageButton50.BackgroundTransparency = 1 | |
| 1809 | ImageButton50.ZIndex = 4 | |
| 1810 | ImageButton50.Image = "https://www.roblox.com/Game/Tools/ThumbnailAsset.ashx?fmt=png&wd=75&ht=75&aid=82717697" | |
| 1811 | Frame51.Name = "Selection" | |
| 1812 | Frame51.Parent = ImageButton50 | |
| 1813 | Frame51.Transparency = 1 | |
| 1814 | Frame51.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
| 1815 | Frame51.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
| 1816 | Frame51.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 1817 | Frame51.BackgroundTransparency = 1 | |
| 1818 | Frame51.BorderSizePixel = 0 | |
| 1819 | Frame51.ZIndex = 3 | |
| 1820 | NumberValue52.Name = "num" | |
| 1821 | NumberValue52.Parent = ImageButton50 | |
| 1822 | NumberValue52.Value = 17 | |
| 1823 | ImageButton53.Name = "Dig" | |
| 1824 | ImageButton53.Parent = ImageLabel1 | |
| 1825 | ImageButton53.Transparency = 1 | |
| 1826 | ImageButton53.Size = UDim2.new(0.400000006, 0, 0.088888891, 0) | |
| 1827 | ImageButton53.Position = UDim2.new(0.524999976, 0, 0.867999971, 0) | |
| 1828 | ImageButton53.BackgroundTransparency = 1 | |
| 1829 | ImageButton53.ZIndex = 4 | |
| 1830 | ImageButton53.Image = "http://www.roblox.com/asset/?id=7814201" | |
| 1831 | Frame54.Name = "Selection" | |
| 1832 | Frame54.Parent = ImageButton53 | |
| 1833 | Frame54.Transparency = 1 | |
| 1834 | print('Terrain Script Loaded. Made by Edge#3467/IoIman616')
| |
| 1835 | Frame54.Size = UDim2.new(1.10000002, 0, 1.10000002, 0) | |
| 1836 | Frame54.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0) | |
| 1837 | Frame54.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 1838 | Frame54.BackgroundTransparency = 1 | |
| 1839 | Frame54.BorderSizePixel = 0 | |
| 1840 | Frame54.ZIndex = 3 | |
| 1841 | for i,v in pairs(mas:GetChildren()) do | |
| 1842 | v.Parent = game.Players.LocalPlayer.PlayerGui | |
| 1843 | pcall(function() v:MakeJoints() end) | |
| 1844 | end | |
| 1845 | mas:Destroy() | |
| 1846 | for i,v in pairs(cors) do | |
| 1847 | spawn(function() | |
| 1848 | pcall(v) | |
| 1849 | end) | |
| 1850 | end | |
| 1851 | wait(0.01) | |
| 1852 | game.Players.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Visible = false | |
| 1853 | material = 1 | |
| 1854 | local Terrain = game.Workspace.Terrain | |
| 1855 | local CC = game.Workspace.CurrentCamera | |
| 1856 | ||
| 1857 | local SelB = Instance.new("SelectionBox")
| |
| 1858 | SelB.Color = BrickColor.new("Bright green")
| |
| 1859 | ||
| 1860 | local SelP = Instance.new("Part")
| |
| 1861 | SelP.Anchored = true | |
| 1862 | SelP.formFactor = Enum.FormFactor.Custom | |
| 1863 | ||
| 1864 | HopperBin0.Selected:connect(function(M) | |
| 1865 | SelB.Parent = game.Players.LocalPlayer.PlayerGui | |
| 1866 | game.Players.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Visible = true | |
| 1867 | SelB.Adornee = nil | |
| 1868 | ||
| 1869 | local ClickState = "None" | |
| 1870 | ||
| 1871 | local ClickType = 1 | |
| 1872 | ||
| 1873 | local TerrainClick = 1 | |
| 1874 | ||
| 1875 | local P1 = nil | |
| 1876 | ||
| 1877 | M.KeyDown:connect(function(K) | |
| 1878 | if K == "q" then | |
| 1879 | ClickType = 1 | |
| 1880 | elseif K == "e" then | |
| 1881 | ClickType = 2 | |
| 1882 | elseif K == "z" then | |
| 1883 | TerrainClick = 0 | |
| 1884 | elseif K == "x" then | |
| 1885 | TerrainClick = 1 | |
| 1886 | elseif K == "c" then | |
| 1887 | TerrainClick = 2 | |
| 1888 | elseif K == "v" then | |
| 1889 | TerrainClick = 3 | |
| 1890 | elseif K == "b" then | |
| 1891 | TerrainClick = 4 | |
| 1892 | end | |
| 1893 | end) | |
| 1894 | ||
| 1895 | M.Button1Down:connect(function() | |
| 1896 | if not M.Target then return end | |
| 1897 | local Hit = M.Hit | |
| 1898 | local cellPos | |
| 1899 | if ClickType == 1 then | |
| 1900 | cellPos = Terrain:WorldToCellPreferEmpty(Vector3.new(Hit.x, Hit.y, Hit.z)) | |
| 1901 | else | |
| 1902 | cellPos = Terrain:WorldToCellPreferSolid(Vector3.new(Hit.x, Hit.y, Hit.z)) | |
| 1903 | end | |
| 1904 | if ClickState == "None" then | |
| 1905 | ClickState = "Click1" | |
| 1906 | P1 = cellPos | |
| 1907 | end | |
| 1908 | end) | |
| 1909 | M.Button1Up:connect(function() | |
| 1910 | if not M.Target then return end | |
| 1911 | local Hit = M.Hit | |
| 1912 | local cellPos | |
| 1913 | if ClickType == 1 then | |
| 1914 | cellPos = Terrain:WorldToCellPreferEmpty(Vector3.new(Hit.x, Hit.y, Hit.z)) | |
| 1915 | else | |
| 1916 | cellPos = Terrain:WorldToCellPreferSolid(Vector3.new(Hit.x, Hit.y, Hit.z)) | |
| 1917 | end | |
| 1918 | if ClickState == "Click1" then | |
| 1919 | ClickState = "None" | |
| 1920 | local MinX = math.min(P1.x,cellPos.x) | |
| 1921 | local MaxX = math.max(P1.x,cellPos.x) | |
| 1922 | local MinY = math.min(P1.y,cellPos.y) | |
| 1923 | local MaxY = math.max(P1.y,cellPos.y) | |
| 1924 | local MinZ = math.min(P1.z,cellPos.z) | |
| 1925 | local MaxZ = math.max(P1.z,cellPos.z) | |
| 1926 | for y=MinY,MaxY do | |
| 1927 | for x=MinX,MaxX do | |
| 1928 | for z=MinZ,MaxZ do | |
| 1929 | Terrain:SetCell(x, y, z, material, 0, 0) | |
| 1930 | end | |
| 1931 | end | |
| 1932 | wait() | |
| 1933 | end | |
| 1934 | SelB.Adornee = nil | |
| 1935 | end | |
| 1936 | end) | |
| 1937 | M.Move:connect(function() | |
| 1938 | if not M.Target then return end | |
| 1939 | local Hit = M.Hit | |
| 1940 | local cellPos | |
| 1941 | if ClickType == 1 then | |
| 1942 | cellPos = Terrain:WorldToCellPreferEmpty(Vector3.new(Hit.x, Hit.y, Hit.z)) | |
| 1943 | else | |
| 1944 | cellPos = Terrain:WorldToCellPreferSolid(Vector3.new(Hit.x, Hit.y, Hit.z)) | |
| 1945 | end | |
| 1946 | if ClickState == "Click1" then | |
| 1947 | SelB.Adornee = SelP | |
| 1948 | local W1 = Terrain:CellCenterToWorld(P1.x,P1.y,P1.z) | |
| 1949 | local W2 = Terrain:CellCenterToWorld(cellPos.x,cellPos.y,cellPos.z) | |
| 1950 | local Size = W1-W2 | |
| 1951 | Size = Vector3.new(math.abs(Size.x),math.abs(Size.y),math.abs(Size.z))+Vector3.new(4,4,4) | |
| 1952 | local Pos = (W1+W2)/2 | |
| 1953 | SelP.Size = Size | |
| 1954 | SelP.CFrame = CFrame.new(Pos) | |
| 1955 | end | |
| 1956 | end) | |
| 1957 | end) | |
| 1958 | ||
| 1959 | HopperBin0.Deselected:connect(function() | |
| 1960 | SelB.Parent = nil | |
| 1961 | SelB.Adornee = nil | |
| 1962 | game.Players.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Visible = false | |
| 1963 | end) | |
| 1964 | ||
| 1965 | game:GetService('RunService').Stepped:connect(function()
| |
| 1966 | if game.Players.LocalPlayer.PlayerGui:FindFirstChild("MaterialGui") then
| |
| 1967 | for _, child in pairs( game.Players.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu:GetChildren()) do | |
| 1968 | if child:FindFirstChild("num") and material ~= child.num.Value then
| |
| 1969 | child.Selection.BackgroundTransparency = 1 | |
| 1970 | end | |
| 1971 | end | |
| 1972 | end | |
| 1973 | end) | |
| 1974 | ||
| 1975 | for _, child in pairs( game.Players.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu:GetChildren()) do | |
| 1976 | local enterCon = child.MouseButton1Click:connect(function() | |
| 1977 | if child.ClassName == "ImageButton" and child:FindFirstChild("num") then
| |
| 1978 | material = child.num.Value | |
| 1979 | if child:FindFirstChild("Selection") then
| |
| 1980 | child.Selection.BackgroundTransparency = 0 | |
| 1981 | end | |
| 1982 | end | |
| 1983 | end) | |
| 1984 | end | |
| 1985 | ||
| 1986 | local clr = game.Players.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Dig.MouseButton1Click:connect(function() | |
| 1987 | workspace.Terrain:Clear() | |
| 1988 | end) | |
| 1989 | ||
| 1990 | function sandbox(var,func) | |
| 1991 | local env = getfenv(func) | |
| 1992 | local newenv = setmetatable({},{
| |
| 1993 | __index = function(self,k) | |
| 1994 | if k=="script" then | |
| 1995 | return var | |
| 1996 | else | |
| 1997 | return env[k] | |
| 1998 | end | |
| 1999 | end, | |
| 2000 | }) | |
| 2001 | setfenv(func,newenv) | |
| 2002 | return func | |
| 2003 | end | |
| 2004 | cors = {}
| |
| 2005 | mas = Instance.new("Model",game:GetService("Lighting"))
| |
| 2006 | HopperBin0 = Instance.new("HopperBin")
| |
| 2007 | HopperBin0.Name = "Terrain Delete" | |
| 2008 | HopperBin0.Parent = mas | |
| 2009 | for i,v in pairs(mas:GetChildren()) do | |
| 2010 | v.Parent = game:GetService("Players").LocalPlayer.Backpack
| |
| 2011 | pcall(function() v:MakeJoints() end) | |
| 2012 | end | |
| 2013 | mas:Destroy() | |
| 2014 | for i,v in pairs(cors) do | |
| 2015 | spawn(function() | |
| 2016 | pcall(v) | |
| 2017 | end) | |
| 2018 | end | |
| 2019 | ||
| 2020 | function onClick(mouse) | |
| 2021 | p = game.Players.LocalPlayer | |
| 2022 | if (p == nil) then return end | |
| 2023 | if (p.Character == nil) then return end | |
| 2024 | ||
| 2025 | if (mouse.Hit.p - p.Character.Torso.Position).magnitude > 500 then return end | |
| 2026 | ||
| 2027 | c = game.Workspace.Terrain | |
| 2028 | ||
| 2029 | local cellPos = c:WorldToCellPreferSolid(Vector3.new(mouse.Hit.x, mouse.Hit.y, mouse.Hit.z)) | |
| 2030 | local x = cellPos.x | |
| 2031 | local y = cellPos.y | |
| 2032 | local z = cellPos.z | |
| 2033 | ||
| 2034 | c:SetCell(x, y, z, 0, 0, 0) | |
| 2035 | ||
| 2036 | end | |
| 2037 | ||
| 2038 | ||
| 2039 | function onSelect(mouse) | |
| 2040 | mouse.Button1Down:connect(function () onClick(mouse) end) | |
| 2041 | end | |
| 2042 | ||
| 2043 | ||
| 2044 | ||
| 2045 | HopperBin0.Selected:connect(onSelect) | |
| 2046 | end) | |
| 2047 | ||
| 2048 | addcmd('devuzi', 'op af',{'uzi'},
| |
| 2049 | function(args, speaker) | |
| 2050 | wait(0.25); | |
| 2051 | ||
| 2052 | ||
| 2053 | _clear=function() | |
| 2054 | local c={char;bag;gui;};
| |
| 2055 | for i=1,#c do | |
| 2056 | local c=c[i]:children(); | |
| 2057 | for i=1,#c do | |
| 2058 | if(c[i].Name==name)then | |
| 2059 | c[i].Parent=nil; | |
| 2060 | end; | |
| 2061 | end; | |
| 2062 | end; | |
| 2063 | local n=name..user.Name; | |
| 2064 | local c=workspace:children(); | |
| 2065 | for i=1,#c do | |
| 2066 | if(c[i].Name==n)then | |
| 2067 | c[i].Parent=nil; | |
| 2068 | end; | |
| 2069 | end; | |
| 2070 | end; | |
| 2071 | ||
| 2072 | _valid_key=function(object,key) | |
| 2073 | return object[key],key; | |
| 2074 | end; | |
| 2075 | ||
| 2076 | _new=function(class) | |
| 2077 | return function(props) | |
| 2078 | if(type(list_base_props)=='table')then | |
| 2079 | for i,v in next,list_base_props do | |
| 2080 | if(props[i]==nil)then | |
| 2081 | props[i]=v; | |
| 2082 | end; | |
| 2083 | end; | |
| 2084 | end; | |
| 2085 | ||
| 2086 | local object=class; | |
| 2087 | ||
| 2088 | if(type(class)=='string')then | |
| 2089 | object=Instance.new(class:sub(1,1):upper()..class:sub(2)); | |
| 2090 | end; | |
| 2091 | ||
| 2092 | local parent=props[1]; | |
| 2093 | props[1]=nil; | |
| 2094 | ||
| 2095 | for i,v in next,props do | |
| 2096 | local load,res,key=pcall(_valid_key,object,i:sub(1,1):upper()..i:sub(2)); | |
| 2097 | if(not load)then | |
| 2098 | load,res,key=pcall(_valid_key,object,i); | |
| 2099 | end; | |
| 2100 | ||
| 2101 | if(key)then | |
| 2102 | t=type(res); | |
| 2103 | s=tostring(res); | |
| 2104 | if(t=='userdata'and s=='Signal '..key)then | |
| 2105 | if(type(v)=='table')then | |
| 2106 | for i=1,#v do | |
| 2107 | res:connect(v[i]); | |
| 2108 | end; | |
| 2109 | else | |
| 2110 | res:connect(v); | |
| 2111 | end; | |
| 2112 | else | |
| 2113 | object[key]=v; | |
| 2114 | end; | |
| 2115 | end; | |
| 2116 | end; | |
| 2117 | ||
| 2118 | if(parent)then | |
| 2119 | object.Parent=parent; | |
| 2120 | end; | |
| 2121 | ||
| 2122 | return object; | |
| 2123 | end; | |
| 2124 | end; | |
| 2125 | ||
| 2126 | _RGB=function(r,g,b) | |
| 2127 | return Color3.new(r/255,g/255,b/255); | |
| 2128 | end; | |
| 2129 | ||
| 2130 | _copy=function(o) | |
| 2131 | local def=o.archivable; | |
| 2132 | o.archivable=true; | |
| 2133 | local c=o:clone(); | |
| 2134 | o.archivable=def; | |
| 2135 | return c; | |
| 2136 | end; | |
| 2137 | ||
| 2138 | _hum=function(char) | |
| 2139 | local hum=char:findFirstChild'Humanoid'; | |
| 2140 | if(not hum or hum.className~='Humanoid')then | |
| 2141 | local c=char:children(); | |
| 2142 | for i=1,#c do | |
| 2143 | if(c[i].className=='Humanoid')then | |
| 2144 | return c[i]; | |
| 2145 | end; | |
| 2146 | end; | |
| 2147 | else | |
| 2148 | return hum; | |
| 2149 | end; | |
| 2150 | end; | |
| 2151 | ||
| 2152 | _hum_tag=function(hum) | |
| 2153 | local c=hum:findFirstChild'creator'or Instance.new('ObjectValue',hum);
| |
| 2154 | c.Name='creator'; | |
| 2155 | c.Value=user; | |
| 2156 | if(hum.Health==0 and not hum:findFirstChild'killed')then | |
| 2157 | Instance.new('BoolValue',hum).Name='killed';
| |
| 2158 | bullets.clip=bullets.clip+10; | |
| 2159 | end; | |
| 2160 | end; | |
| 2161 | ||
| 2162 | _hum_dam=function(hum,dam,percent) | |
| 2163 | hum.Health=hum.Health-(percent and hum.MaxHealth*(dam*0.01)or dam); | |
| 2164 | if(hum.Health<=hum.MaxHealth*0.1)then | |
| 2165 | _hum_tag(hum); | |
| 2166 | end; | |
| 2167 | end; | |
| 2168 | ||
| 2169 | _ray=function(v0,v1,i) | |
| 2170 | local mag=(v0-v1).magnitude; | |
| 2171 | local ray=Ray.new(v0,(v1-v0).unit*(mag>999 and 999 or mag)); | |
| 2172 | ||
| 2173 | return(type(i)=='table'and workspace.FindPartOnRayWithIgnoreList or workspace.FindPartOnRay)(workspace,ray,i); | |
| 2174 | end; | |
| 2175 | ||
| 2176 | _must=function(v0,v1,i) | |
| 2177 | local hit,pos=_ray(v0,v1,i); | |
| 2178 | return not hit and mouse.target or hit,pos; | |
| 2179 | end; | |
| 2180 | ||
| 2181 | _cframe=function(x,y,z,r0,r1,r2) | |
| 2182 | return CFrame.Angles( | |
| 2183 | math.rad(r0 or 0), | |
| 2184 | math.rad(r1 or 0), | |
| 2185 | math.rad(r2 or 0) | |
| 2186 | )*CFrame.new(x,y,z); | |
| 2187 | end; | |
| 2188 | ||
| 2189 | _update=function() | |
| 2190 | if(bool_active and not screen.Parent)then | |
| 2191 | screen.Parent=gui; | |
| 2192 | elseif(not bool_active and screen.Parent)then | |
| 2193 | screen.Parent=nil; | |
| 2194 | end; | |
| 2195 | end; | |
| 2196 | ||
| 2197 | _light=function(v0,v1) | |
| 2198 | local mag=(v0-v1).magnitude; | |
| 2199 | local len=math.random(2,7); | |
| 2200 | len=len>mag/2 and mag/2 or len; | |
| 2201 | ||
| 2202 | --local light=_new'part'{
| |
| 2203 | -- cFrame=CFrame.new(v0,v1); | |
| 2204 | -- size=Vector3.new(1,1,1); | |
| 2205 | -- color=_RGB(255,255,0); | |
| 2206 | -- anchored=true; | |
| 2207 | -- inv; | |
| 2208 | --}; | |
| 2209 | _new'blockMesh'{
| |
| 2210 | scale=Vector3.new(0.2,0.2,len); | |
| 2211 | offset=Vector3.new(0,0,-len/2); | |
| 2212 | light; | |
| 2213 | }; | |
| 2214 | ||
| 2215 | local bb=_new'billboardGui'{
| |
| 2216 | size=UDim2.new(2,0,2,0); | |
| 2217 | adornee=light; | |
| 2218 | light; | |
| 2219 | }; | |
| 2220 | _new'imageLabel'{
| |
| 2221 | image=url:format(109101526); | |
| 2222 | backgroundTransparency=1; | |
| 2223 | size=UDim2.new(1,0,1,0); | |
| 2224 | bb; | |
| 2225 | }; | |
| 2226 | ||
| 2227 | -- _rem(light,0.15); | |
| 2228 | end; | |
| 2229 | ||
| 2230 | _rem=function(object,del) | |
| 2231 | if(del)then | |
| 2232 | delay(del,function() | |
| 2233 | if(object.Parent)then | |
| 2234 | object.Parent=nil; | |
| 2235 | end; | |
| 2236 | end); | |
| 2237 | else | |
| 2238 | pcall(function() | |
| 2239 | if(object.Parent)then | |
| 2240 | object.Parent=nil; | |
| 2241 | end; | |
| 2242 | end); | |
| 2243 | end; | |
| 2244 | end; | |
| 2245 | ||
| 2246 | _blood=function(pos,count) | |
| 2247 | for i=1,count do | |
| 2248 | local p=_new'part'{
| |
| 2249 | rotVelocity=Vector3.new(math.random(),math.random(),math.random())*50; | |
| 2250 | position=pos+Vector3.new(math.random(),math.random(),math.random()); | |
| 2251 | velocity=Vector3.new(math.random(),math.random(),math.random())*50; | |
| 2252 | size=Vector3.new(math.random(),math.random(),math.random())/3; | |
| 2253 | color=_RGB(255,0,0); | |
| 2254 | transparency=0.5; | |
| 2255 | canCollide=true; | |
| 2256 | bottomSurface=0; | |
| 2257 | topSurface=0; | |
| 2258 | formFactor=3; | |
| 2259 | locked=true; | |
| 2260 | inv; | |
| 2261 | }; | |
| 2262 | delay(5,function() | |
| 2263 | p.Parent=nil; | |
| 2264 | end); | |
| 2265 | end; | |
| 2266 | end; | |
| 2267 | ||
| 2268 | _make_hue=function() | |
| 2269 | h_hue=_new'part'{
| |
| 2270 | size=Vector3.new(0.25,1.8,0.35); | |
| 2271 | color=_RGB(100,100,100); | |
| 2272 | formFactor=3; | |
| 2273 | name='hue'; | |
| 2274 | handle; | |
| 2275 | }; | |
| 2276 | hh_weld=_new'weld'{
| |
| 2277 | c1=_cframe(0,0.5,0); | |
| 2278 | part0=handle; | |
| 2279 | part1=h_hue; | |
| 2280 | handle; | |
| 2281 | }; | |
| 2282 | end; | |
| 2283 | ||
| 2284 | _shot=function(v0,v1) | |
| 2285 | if(not time_left)then | |
| 2286 | time_left=0; | |
| 2287 | end; | |
| 2288 | if(time_left>time())then | |
| 2289 | return nil; | |
| 2290 | else | |
| 2291 | time_left=time()+math.random(1,10)/100; | |
| 2292 | end; | |
| 2293 | ||
| 2294 | if(bullets.current<1)then | |
| 2295 | local tick_sound=head:findFirstChild'tick_sound'or _new'sound'{
| |
| 2296 | soundId='rbxasset://sounds/SWITCH3.wav'; | |
| 2297 | name='tick_sound'; | |
| 2298 | volume=0.2; | |
| 2299 | pitch=2; | |
| 2300 | head; | |
| 2301 | }; | |
| 2302 | tick_sound:play(); | |
| 2303 | if(bullets.clip>0)then | |
| 2304 | time_left=time()+2; | |
| 2305 | h_hue:breakJoints(); | |
| 2306 | h_hue.CanCollide=true; | |
| 2307 | h_hue.Velocity=(h_hue.CFrame*CFrame.new(0,5,0)).lookVector*10; | |
| 2308 | _rem(h_hue,10); | |
| 2309 | delay(1.9,function() | |
| 2310 | _make_hue(); | |
| 2311 | local got=(bullets.clip>bullets.maximum and | |
| 2312 | bullets.maximum or | |
| 2313 | bullets.clip)-bullets.current; | |
| 2314 | ||
| 2315 | bullets.clip=bullets.clip-got; | |
| 2316 | bullets.current=bullets.current+got; | |
| 2317 | end); | |
| 2318 | end; | |
| 2319 | return nil; | |
| 2320 | else | |
| 2321 | bullets.current=bullets.current-1; | |
| 2322 | ||
| 2323 | h_weld.C1=_cframe(0,0.75,0, | |
| 2324 | -math.random(1000,1100)/10,180,0); | |
| 2325 | d_weld.C1=_cframe(0,-0.25,0.3); | |
| 2326 | ||
| 2327 | lightstuff.Visible=true; | |
| 2328 | delay(0.1,function() | |
| 2329 | lightstuff.Visible=false; | |
| 2330 | end); | |
| 2331 | ||
| 2332 | _rem(_new'part'{
| |
| 2333 | velocity=CFrame.new(drag.Position,(drag.CFrame*CFrame.new(-4,-5,0)).p).lookVector*10; | |
| 2334 | cFrame=drag.CFrame*CFrame.new(-0.5,0,0); | |
| 2335 | size=Vector3.new(0.1,0.1,0.4); | |
| 2336 | color=_RGB(200,200,0); | |
| 2337 | material='Slate'; | |
| 2338 | canCollide=true; | |
| 2339 | formFactor=3; | |
| 2340 | inv; | |
| 2341 | },5); | |
| 2342 | ||
| 2343 | delay(0.1,function() | |
| 2344 | d_weld.C1=_cframe(0,-0.25,0); | |
| 2345 | if(bool_active)then | |
| 2346 | h_weld.C1=h_weld_cf_active; | |
| 2347 | end; | |
| 2348 | end) | |
| 2349 | end; | |
| 2350 | ||
| 2351 | local hit,pos=_must(v0,v1,char); | |
| 2352 | ||
| 2353 | shot_sound:play(); | |
| 2354 | ||
| 2355 | ||
| 2356 | _rem(_new'part'{
| |
| 2357 | cFrame=CFrame.new(v0,pos)*CFrame.new(0,0,-(v0-pos).magnitude*0.5); | |
| 2358 | size=Vector3.new(0.1,0.1,(v0-pos).magnitude); | |
| 2359 | color=_RGB(255,255,0); | |
| 2360 | transparency=0.6; | |
| 2361 | reflectance=0.5; | |
| 2362 | canCollide=false; | |
| 2363 | bottomSurface=0; | |
| 2364 | anchored=true; | |
| 2365 | formFactor=3; | |
| 2366 | topSurface=0; | |
| 2367 | inv; | |
| 2368 | },.15); | |
| 2369 | _light(v0,v1); | |
| 2370 | ||
| 2371 | if(not hit)then return nil;end; | |
| 2372 | ||
| 2373 | if(hit.Parent.className=='Hat')then | |
| 2374 | hit:breakJoints(); | |
| 2375 | hit.CanCollide=true; | |
| 2376 | hit.Velocity=CFrame.new(v0,pos).lookVector*math.random(30,50); | |
| 2377 | hit.RotVelocity=Vector3.new(math.random(1,90),math.random(1,90),math.random(1,90)); | |
| 2378 | else | |
| 2379 | local hum=_hum(hit.Parent); | |
| 2380 | if(not hum)then | |
| 2381 | if(hit.Anchored==false and hit.Size.magnitude<4)then | |
| 2382 | hit:breakJoints(); | |
| 2383 | hit.CanCollide=true; | |
| 2384 | end; | |
| 2385 | else | |
| 2386 | _hum_dam(hum,math.random(4,6)); | |
| 2387 | _blood(pos,math.random(3,6)); | |
| 2388 | hit.RotVelocity=Vector3.new(math.random(1,90),math.random(1,90),math.random(1,90))/6; | |
| 2389 | if(hit.Name=='Head')then | |
| 2390 | hum.Health=0; | |
| 2391 | _blood(pos,math.random(3,6)); | |
| 2392 | delay(0.001,function() | |
| 2393 | _new(workspace:FindFirstChild'head_shot'or'sound'){
| |
| 2394 | pitch=math.random(70,100)*0.01; | |
| 2395 | soundId=url:format(1876552); | |
| 2396 | name='head_shot'; | |
| 2397 | workspace; | |
| 2398 | }:play(); | |
| 2399 | end); | |
| 2400 | _hum_tag(hum); | |
| 2401 | _rem(_new'part'{
| |
| 2402 | cFrame=CFrame.new(v0,pos)*CFrame.new(0,0,-(v0-pos).magnitude*0.5); | |
| 2403 | size=Vector3.new(0.1,0.1,(v0-pos).magnitude); | |
| 2404 | color=torso.Color; | |
| 2405 | transparency=0.5; | |
| 2406 | canCollide=false; | |
| 2407 | bottomSurface=0; | |
| 2408 | anchored=true; | |
| 2409 | formFactor=3; | |
| 2410 | topSurface=0; | |
| 2411 | inv; | |
| 2412 | },30); | |
| 2413 | hit.Parent=nil; | |
| 2414 | for b=0,1 do | |
| 2415 | for a=0,1 do | |
| 2416 | for i=0,1 do | |
| 2417 | _rem(_new'part'{
| |
| 2418 | velocity=CFrame.new(v0,pos).lookVector*20; | |
| 2419 | cFrame=hit.CFrame*CFrame.new(i,-b,a); | |
| 2420 | size=Vector3.new(0.5,0.5,0.5); | |
| 2421 | color=_RGB(255,255,255); | |
| 2422 | bottomSurface=0; | |
| 2423 | canCollide=true; | |
| 2424 | transparency=0; | |
| 2425 | formFactor=3; | |
| 2426 | topSurface=0; | |
| 2427 | hum; | |
| 2428 | },30); | |
| 2429 | end; | |
| 2430 | end; | |
| 2431 | end; | |
| 2432 | end; | |
| 2433 | end; | |
| 2434 | end; | |
| 2435 | end; | |
| 2436 | ||
| 2437 | ||
| 2438 | ||
| 2439 | _cf_select=function(mouse) | |
| 2440 | mouse.Icon=url:format(109111387);--108999296 | |
| 2441 | bool_active=true; | |
| 2442 | ||
| 2443 | local arm=char:findFirstChild'Right Arm'; | |
| 2444 | local weld=torso:findFirstChild'Right Shoulder'; | |
| 2445 | if(arm and weld)then | |
| 2446 | h_weld.Part0=arm; | |
| 2447 | h_weld.C1=h_weld_cf_active; | |
| 2448 | ||
| 2449 | weld.Part1=nil; | |
| 2450 | weld.Part0=nil; | |
| 2451 | ||
| 2452 | weld=_new(torso:findFirstChild'right_arml'or'weld'){
| |
| 2453 | name='right_arml'; | |
| 2454 | part0=torso; | |
| 2455 | part1=arm; | |
| 2456 | torso; | |
| 2457 | }; | |
| 2458 | ||
| 2459 | arml=(arml or 0)+1; | |
| 2460 | local alv=arml; | |
| 2461 | local gyro=torso:findFirstChild'p_gyro'or Instance.new('BodyGyro',torso);
| |
| 2462 | gyro.maxTorque=Vector3.new(5e5,5e5,5e5); | |
| 2463 | gyro.P=30000; | |
| 2464 | gyro.D=1000; | |
| 2465 | gyro.Name='p_gyro'; | |
| 2466 | repeat | |
| 2467 | local pos=mouse.hit.p; | |
| 2468 | local val,valp,p0,p1,p2,hitpos,cj,c0,c1; | |
| 2469 | ||
| 2470 | val=-math.pi*0.5; | |
| 2471 | valp=val*-1; | |
| 2472 | p0=torso.CFrame; | |
| 2473 | p0=p0+((p0*CFrame.Angles(valp,0,0)).lookVector*0.5)+(p0*CFrame.Angles(0,val,0)).lookVector; | |
| 2474 | p1=p0+((p0.p-pos).unit*-2); | |
| 2475 | p2=CFrame.new((p0.p+p1.p)/2,p0.p)*CFrame.Angles(val,val,0); | |
| 2476 | hitpos=torso.Position; | |
| 2477 | cj=CFrame.new(hitpos); | |
| 2478 | c0=torso.CFrame:inverse()*cj; | |
| 2479 | c1=p2:inverse()*cj; | |
| 2480 | weld.C0=c0; | |
| 2481 | weld.C1=c1; | |
| 2482 | ||
| 2483 | gyro.cframe=CFrame.new(torso.Position,Vector3.new(pos.X,torso.Position.Y,pos.Z)); | |
| 2484 | ||
| 2485 | wait(0.001); | |
| 2486 | until arml~=alv; | |
| 2487 | gyro.Parent=nil; | |
| 2488 | end; | |
| 2489 | end; | |
| 2490 | ||
| 2491 | _cf_deselect=function() | |
| 2492 | bool_active=false; | |
| 2493 | arml=(arml or 0)+1; | |
| 2494 | loop_shot=(loop_shot or 0)+1; | |
| 2495 | ||
| 2496 | h_weld.Part0=torso; | |
| 2497 | h_weld.C1=h_weld_cf_inactive; | |
| 2498 | ||
| 2499 | local weld=torso:findFirstChild'right_arml'; | |
| 2500 | if(weld)then | |
| 2501 | weld.Part1=nil; | |
| 2502 | weld.Part0=nil; | |
| 2503 | end; | |
| 2504 | local arm=char:findFirstChild'Right Arm'; | |
| 2505 | local weld=torso:findFirstChild'Right Shoulder'; | |
| 2506 | if(arm and weld)then | |
| 2507 | weld.Part0=torso; | |
| 2508 | weld.Part1=arm; | |
| 2509 | end; | |
| 2510 | end; | |
| 2511 | ||
| 2512 | _cf_mouse=function(event,fun) | |
| 2513 | mouse[event:sub(1,1):upper()..event:sub(2)]:connect(function(...) | |
| 2514 | if(bool_active)then | |
| 2515 | fun(...); | |
| 2516 | end; | |
| 2517 | end); | |
| 2518 | end; | |
| 2519 | ||
| 2520 | ||
| 2521 | do | |
| 2522 | local main=getfenv(0); | |
| 2523 | local c=game:children(); | |
| 2524 | local check=function(v) | |
| 2525 | if(v.className~=''and v.className~='Instance'and game:service(v.className))then | |
| 2526 | main[v.className:sub(1,1):lower()..v.className:sub(2)]=v; | |
| 2527 | end; | |
| 2528 | end; | |
| 2529 | for i=1,#c do | |
| 2530 | pcall(check,c[i]); | |
| 2531 | end; | |
| 2532 | end; | |
| 2533 | ||
| 2534 | ||
| 2535 | bullets={
| |
| 2536 | maximum=51111111111111111111111111110; | |
| 2537 | current=511111111111111111111111111111110; | |
| 2538 | clip=501111111111111111111111111111111*4; | |
| 2539 | }; | |
| 2540 | ||
| 2541 | list_base_props={
| |
| 2542 | backgroundColor3=_RGB(0,0,0); | |
| 2543 | textColor3=_RGB(200,200,200); | |
| 2544 | borderSizePixel=0; | |
| 2545 | color=_RGB(0,0,0); | |
| 2546 | archivable=false; | |
| 2547 | canCollide=false; | |
| 2548 | bottomSurface=0; | |
| 2549 | topSurface=0; | |
| 2550 | formFactor=0; | |
| 2551 | locked=true; | |
| 2552 | }; | |
| 2553 | ||
| 2554 | ||
| 2555 | ||
| 2556 | user=players.localPlayer; | |
| 2557 | mouse=user:getMouse(); | |
| 2558 | char=user.Character; | |
| 2559 | gui=user.PlayerGui; | |
| 2560 | bag=user.Backpack; | |
| 2561 | torso=char.Torso; | |
| 2562 | head=char.Head; | |
| 2563 | hum=_hum(char); | |
| 2564 | ||
| 2565 | url='rbxassetid://%d'; | |
| 2566 | name='dev-uzi'; | |
| 2567 | ||
| 2568 | h_weld_cf_inactive=_cframe(0.35,0.5,0.5, | |
| 2569 | 0,90,-70); | |
| 2570 | h_weld_cf_active=_cframe(0,0.75,0, | |
| 2571 | -110,180,0); | |
| 2572 | ||
| 2573 | assert(hum,'humanoid is not found'); | |
| 2574 | ||
| 2575 | ||
| 2576 | ||
| 2577 | _clear(); | |
| 2578 | ||
| 2579 | ||
| 2580 | _cf_mouse('button1Down',function()
| |
| 2581 | loop_shot=(loop_shot or 0)+1; | |
| 2582 | local vers=loop_shot; | |
| 2583 | local step=runService.Stepped; | |
| 2584 | repeat | |
| 2585 | _shot((tube.CFrame*CFrame.new(0,0,tube.Size.Z*0.5)).p,mouse.hit.p); | |
| 2586 | step:wait();--wait(0.001); | |
| 2587 | until vers~=loop_shot; | |
| 2588 | end); | |
| 2589 | ||
| 2590 | _cf_mouse('button1Up',function()
| |
| 2591 | loop_shot=(loop_shot or 0)+1; | |
| 2592 | end); | |
| 2593 | ||
| 2594 | _cf_mouse('move',function()
| |
| 2595 | cross_f.Position=UDim2.new(0,mouse.X-11,0,mouse.Y-11); | |
| 2596 | end); | |
| 2597 | ||
| 2598 | _cf_mouse('keyDown',function(k)
| |
| 2599 | if(k=='r')then | |
| 2600 | if(bullets.clip>0 and time_left<=time())then | |
| 2601 | local got=(bullets.clip>bullets.maximum and | |
| 2602 | bullets.maximum or | |
| 2603 | bullets.clip)-bullets.current; | |
| 2604 | ||
| 2605 | bullets.clip=bullets.clip-got; | |
| 2606 | bullets.current=bullets.current+got; | |
| 2607 | if(got~=0)then | |
| 2608 | time_left=time()+2; | |
| 2609 | end; | |
| 2610 | end; | |
| 2611 | end; | |
| 2612 | end); | |
| 2613 | ||
| 2614 | ||
| 2615 | screen=_new'screenGui'{
| |
| 2616 | name=name; | |
| 2617 | }; | |
| 2618 | ||
| 2619 | cross_f=_new'frame'{
| |
| 2620 | size=UDim2.new(0,21,0,21); | |
| 2621 | backgroundTransparency=1; | |
| 2622 | screen; | |
| 2623 | }; | |
| 2624 | ||
| 2625 | for i=0,1 do | |
| 2626 | _new'frame'{
| |
| 2627 | position=UDim2.new(0,13*i,0,11); | |
| 2628 | size=UDim2.new(0,10,0,1); | |
| 2629 | cross_f; | |
| 2630 | }; | |
| 2631 | end; | |
| 2632 | ||
| 2633 | for i=0,1 do | |
| 2634 | _new'frame'{
| |
| 2635 | position=UDim2.new(0,11,0,13*i); | |
| 2636 | size=UDim2.new(0,1,0,10); | |
| 2637 | cross_f; | |
| 2638 | }; | |
| 2639 | end; | |
| 2640 | ||
| 2641 | ||
| 2642 | ||
| 2643 | shot_sound=_new(head:findFirstChild'2920959'or'sound'){
| |
| 2644 | soundId=url:format(2920959); | |
| 2645 | pitch=1.4; | |
| 2646 | head; | |
| 2647 | }; | |
| 2648 | if(shot_sound.Name~='2920959')then | |
| 2649 | shot_sound.Name='2920959'; | |
| 2650 | shot_sound:play(); | |
| 2651 | end; | |
| 2652 | ||
| 2653 | bin=_new'hopperBin'{
| |
| 2654 | deselected=_cf_deselect; | |
| 2655 | selected=_cf_select; | |
| 2656 | name=name; | |
| 2657 | bag; | |
| 2658 | }; | |
| 2659 | ||
| 2660 | inv=_new'model'{
| |
| 2661 | name=name; | |
| 2662 | char; | |
| 2663 | }; | |
| 2664 | ||
| 2665 | handle=_new'part'{
| |
| 2666 | size=Vector3.new(0.3,1.3,0.4); | |
| 2667 | color=_RGB(140,140,140); | |
| 2668 | name='handle'; | |
| 2669 | formFactor=3; | |
| 2670 | inv; | |
| 2671 | touched=function(hit) | |
| 2672 | if(hit.Parent.className=='Model')then | |
| 2673 | local hum=_hum(hit.Parent); | |
| 2674 | if(hum~=nil)then | |
| 2675 | _hum_dam(hum,handle.Velocity.magnitude); | |
| 2676 | end; | |
| 2677 | end; | |
| 2678 | end; | |
| 2679 | }; | |
| 2680 | h_weld=_new'weld'{
| |
| 2681 | c1=h_weld_cf_inactive; | |
| 2682 | part1=handle; | |
| 2683 | part0=torso; | |
| 2684 | handle; | |
| 2685 | }; | |
| 2686 | _make_hue(); | |
| 2687 | ||
| 2688 | h_part=_new'part'{
| |
| 2689 | size=Vector3.new(0.4,0.4,1.4); | |
| 2690 | color=_RGB(140,140,140); | |
| 2691 | name='handle'; | |
| 2692 | formFactor=3; | |
| 2693 | handle; | |
| 2694 | }; | |
| 2695 | hp_weld=_new'weld'{
| |
| 2696 | c1=_cframe(0,-1.3/2,-0.3, | |
| 2697 | 20,0,0); | |
| 2698 | part0=handle; | |
| 2699 | part1=h_part; | |
| 2700 | handle; | |
| 2701 | }; | |
| 2702 | ||
| 2703 | drag=_new'part'{
| |
| 2704 | size=Vector3.new(0.5,0.45,1.5); | |
| 2705 | color=_RGB(100,100,100); | |
| 2706 | name='handle'; | |
| 2707 | formFactor=3; | |
| 2708 | handle; | |
| 2709 | }; | |
| 2710 | d_weld=_new'weld'{
| |
| 2711 | c1=_cframe(0,-0.25,0); | |
| 2712 | part0=h_part; | |
| 2713 | part1=drag; | |
| 2714 | handle; | |
| 2715 | }; | |
| 2716 | ||
| 2717 | tube=_new'part'{
| |
| 2718 | size=Vector3.new(0.2,0.2,1.5); | |
| 2719 | color=_RGB(0,0,0); | |
| 2720 | name='handle'; | |
| 2721 | formFactor=3; | |
| 2722 | handle; | |
| 2723 | }; | |
| 2724 | t_weld=_new'weld'{
| |
| 2725 | c1=_cframe(0,-0.3,-0.1); | |
| 2726 | part0=h_part; | |
| 2727 | part1=tube; | |
| 2728 | handle; | |
| 2729 | }; | |
| 2730 | ||
| 2731 | bullets_label=_new'textLabel'{
| |
| 2732 | textStrokeColor3=_RGB(0,0,0); | |
| 2733 | textColor3=_RGB(200,200,200); | |
| 2734 | textStrokeTransparency=0; | |
| 2735 | backgroundTransparency=1; | |
| 2736 | fontSize=5; | |
| 2737 | screen; | |
| 2738 | }; | |
| 2739 | ||
| 2740 | lightstuff=_new'frame'{
| |
| 2741 | backgroundColor3=_RGB(255,255,255); | |
| 2742 | position=UDim2.new(0,0,0,-1); | |
| 2743 | backgroundTransparency=0.5; | |
| 2744 | size=UDim2.new(1,0,1,1); | |
| 2745 | borderSizePixel=0; | |
| 2746 | visible=false; | |
| 2747 | screen; | |
| 2748 | }; | |
| 2749 | ||
| 2750 | coroutine.wrap(function() | |
| 2751 | local red,white,green; | |
| 2752 | repeat | |
| 2753 | if(screen.Parent)then | |
| 2754 | if(not green and bullets.current==bullets.maximum)then | |
| 2755 | green=true; | |
| 2756 | bullets_label.TextColor3=_RGB(0,200,0); | |
| 2757 | elseif(not red and bullets.current==0)then | |
| 2758 | red=true; | |
| 2759 | bullets_label.TextColor3=_RGB(200,0,0); | |
| 2760 | elseif((red or green)and bullets.current~=0 and bullets.current~=bullets.maximum)then | |
| 2761 | bullets_label.TextColor3=_RGB(200,200,200); | |
| 2762 | green=false; | |
| 2763 | red=false; | |
| 2764 | end; | |
| 2765 | bullets_label.Text=('Bullets: %d/%d'):format(bullets.current,bullets.clip);
| |
| 2766 | bullets_label.Size=UDim2.new(0,bullets_label.TextBounds.X,0,bullets_label.TextBounds.Y); | |
| 2767 | bullets_label.Position=UDim2.new(1,-bullets_label.TextBounds.X-6,1,-bullets_label.TextBounds.Y-6); | |
| 2768 | end; | |
| 2769 | wait(0.001); | |
| 2770 | until nil; | |
| 2771 | end)(); | |
| 2772 | ||
| 2773 | ||
| 2774 | _G.dev_pistol_version=(_G.dev_pistol_version or 0)+1; | |
| 2775 | local vers=_G.dev_pistol_version; | |
| 2776 | repeat _update();wait(0.001);until _G.dev_pistol_version~=vers or hum.Health==0; | |
| 2777 | if(hum.Health==0)then | |
| 2778 | _clear(); | |
| 2779 | end; | |
| 2780 | end) | |
| 2781 | ||
| 2782 | addcmd('enabletools', 'lets them have tools',{'unloopremovetools'},
| |
| 2783 | function(args, speaker) | |
| 2784 | local players = getPlayer(args[1], speaker) | |
| 2785 | for i,v in pairs(players)do | |
| 2786 | if FindTable(disabletoolsT, _players[v].Name) then | |
| 2787 | table.remove(disabletoolsT, GetInTable(disabletoolsT, _players[v].Name)) | |
| 2788 | if args[1] == "all" then | |
| 2789 | Notify('Enabled tools for everyone')
| |
| 2790 | elseif args[1] == "others" then | |
| 2791 | Notify('Enabled tools for others')
| |
| 2792 | elseif args[1] == "friends" then | |
| 2793 | Notify('Enabled tools for friends')
| |
| 2794 | elseif args[1] == "nonfriends" then | |
| 2795 | Notify('Enabled tools for nonfriends')
| |
| 2796 | elseif args[1] == "team" then | |
| 2797 | Notify('Enabled tools for your team')
| |
| 2798 | elseif args[1] == "nonteam" then | |
| 2799 | Notify('Enabled tools for the opposing team')
| |
| 2800 | elseif args[1] == "guests" then | |
| 2801 | Notify('Enabled tools for guests')
| |
| 2802 | elseif args[1] == "admins" then | |
| 2803 | Notify('Enabled tools for admins')
| |
| 2804 | elseif args[1] == "nonadmins" then | |
| 2805 | Notify('Enabled tools for nonadmins')
| |
| 2806 | else | |
| 2807 | Notify('Enabled tools for ' .. gPlayers[v].Name)
| |
| 2808 | end | |
| 2809 | end | |
| 2810 | end | |
| 2811 | end) | |
| 2812 | ||
| 2813 | addcmd('nil', 'removes the player',{},
| |
| 2814 | function(args, speaker) | |
| 2815 | local players = getPlayer(args[1], speaker) | |
| 2816 | for i,v in pairs(players)do | |
| 2817 | pcall(function() gPlayers[v].Character:Remove() end) | |
| 2818 | gPlayers[v].Character = nil | |
| 2819 | if args[1] == "all" then | |
| 2820 | Notify('Made everyone nil')
| |
| 2821 | elseif args[1] == "others" then | |
| 2822 | Notify('Made others nil')
| |
| 2823 | elseif args[1] == "friends" then | |
| 2824 | Notify('Made friends nil')
| |
| 2825 | elseif args[1] == "nonfriends" then | |
| 2826 | Notify('Made non friends nil')
| |
| 2827 | elseif args[1] == "team" then | |
| 2828 | Notify('Made your team nil')
| |
| 2829 | elseif args[1] == "nonteam" then | |
| 2830 | Notify('Made the opposing team nil')
| |
| 2831 | elseif args[1] == "guests" then | |
| 2832 | Notify('Made guests nil')
| |
| 2833 | elseif args[1] == "admins" then | |
| 2834 | Notify('Made admins nil')
| |
| 2835 | elseif args[1] == "nonadmins" then | |
| 2836 | Notify('Made nonadmins nil')
| |
| 2837 | else | |
| 2838 | Notify('Made ' .. gPlayers[v].Name .. ' nil')
| |
| 2839 | end | |
| 2840 | end | |
| 2841 | end) | |
| 2842 | ||
| 2843 | addcmd('ban', 'goodbye ;)',{},
| |
| 2844 | function(args, speaker) | |
| 2845 | local players = getPlayer(args[1], speaker) | |
| 2846 | for i,v in pairs(players)do | |
| 2847 | if args[1] == "all" then | |
| 2848 | Notify('Banned everyone')
| |
| 2849 | elseif args[1] == "others" then | |
| 2850 | Notify('Banned others')
| |
| 2851 | elseif args[1] == "friends" then | |
| 2852 | Notify('Banned friends')
| |
| 2853 | elseif args[1] == "nonfriends" then | |
| 2854 | Notify('Banned nonfriends')
| |
| 2855 | elseif args[1] == "team" then | |
| 2856 | Notify('Your team has been banned')
| |
| 2857 | elseif args[1] == "nonteam" then | |
| 2858 | Notify('The opposing team has been banned')
| |
| 2859 | elseif args[1] == "guests" then | |
| 2860 | Notify('Guests have been banned')
| |
| 2861 | elseif args[1] == "nonadmins" then | |
| 2862 | Notify('Nonadmins have been banned')
| |
| 2863 | else | |
| 2864 | Notify(gPlayers[v].Name .. ' has been banned') | |
| 2865 | end | |
| 2866 | spawn(function() | |
| 2867 | table.insert(banT, _players[v].userId) | |
| 2868 | table.insert(banname, _players[v].Name) | |
| 2869 | function Kick(PLAYER) | |
| 2870 | if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') then
| |
| 2871 | PLAYER.Character.HumanoidRootPart.Position = Vector3.new(math.random(999000, 1001000), 10000, 0) | |
| 2872 | local Plat = Instance.new('SkateboardPlatform', PLAYER.Character) Plat.Position = PLAYER.Character.HumanoidRootPart.Position
| |
| 2873 | Plat.Name = 'IYkick' | |
| 2874 | Plat.Size = Vector3.new(100, 1, 100) | |
| 2875 | local PART = Instance.new('Part', PLAYER.Character)
| |
| 2876 | PART.Position = Plat.Position - Vector3.new(0, 3, 0) | |
| 2877 | PART.Size = Vector3.new(100, 1, 100) | |
| 2878 | PART.Anchored = true | |
| 2879 | ||
| 2880 | PART.Transparency = 1 | |
| 2881 | Plat.Transparency = 1 | |
| 2882 | ||
| 2883 | repeat wait(1) | |
| 2884 | if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') then
| |
| 2885 | Plat.Position = PLAYER.Character.HumanoidRootPart.Position | |
| 2886 | end | |
| 2887 | Kick(PLAYER) | |
| 2888 | until not game.Players:findFirstChild(PLAYER) | |
| 2889 | end | |
| 2890 | end | |
| 2891 | Kick(gPlayers[v]) | |
| 2892 | end) | |
| 2893 | end | |
| 2894 | end) | |
| 2895 | ||
| 2896 | addcmd('clearbans', 'welcome back!',{'clrbans'},
| |
| 2897 | function(args, speaker) | |
| 2898 | banT = {}
| |
| 2899 | banname = {}
| |
| 2900 | Notify('Removed all bans')
| |
| 2901 | end) | |
| 2902 | ||
| 2903 | addcmd('verify', 'dismiss',{''},
| |
| 2904 | function(args, speaker) | |
| 2905 | local players = getPlayer(args[1], speaker) | |
| 2906 | for i,v in pairs(players)do | |
| 2907 | if gPlayers[v].Character.Head:FindFirstChild("BillboardGui") then
| |
| 2908 | gPlayers[v].Character.Head:FindFirstChild("BillboardGui"):Remove()
| |
| 2909 | end | |
| 2910 | end | |
| 2911 | end) | |
| 2912 | ||
| 2913 | addcmd('admin', 'ur an admin now ;o',{},
| |
| 2914 | function(args, speaker) | |
| 2915 | local players = getPlayer(args[1], speaker) | |
| 2916 | for i,v in pairs(players)do | |
| 2917 | if not isAdmin(_players[v]) then | |
| 2918 | table.insert(adminT, _players[v].userId) | |
| 2919 | table.insert(adminname, _players[v].Name) | |
| 2920 | if args[1] == "all" then | |
| 2921 | Notify('Everyone has been given admin')
| |
| 2922 | elseif args[1] == "others" then | |
| 2923 | Notify('Others have been given admin')
| |
| 2924 | elseif args[1] == "friends" then | |
| 2925 | Notify('Friends have been given admin')
| |
| 2926 | elseif args[1] == "team" then | |
| 2927 | Notify('Your team has been given admin')
| |
| 2928 | elseif args[1] == "nonteam" then | |
| 2929 | Notify('The opposing team has been given admin')
| |
| 2930 | else | |
| 2931 | Notify(gPlayers[v].Name .. ' has been given admin') | |
| 2932 | game.Chat:Chat(gPlayers[v].Character.Head, 'You are now an admin! The prefix is ' .. cmdprefix) | |
| 2933 | updateevents(gPlayers[v]) | |
| 2934 | for a, mod in pairs(gPlayers[v].Character:children()) do | |
| 2935 | if mod:FindFirstChild("TAG") then
| |
| 2936 | gPlayers[v].Character.Head.Transparency = 0 | |
| 2937 | mod:Destroy() | |
| 2938 | end | |
| 2939 | end | |
| 2940 | ||
| 2941 | if gPlayers[v].Character.Head:FindFirstChild("BillboardGui") then
| |
| 2942 | gPlayers[v].Character.Head:FindFirstChild("BillboardGui"):Remove()
| |
| 2943 | end | |
| 2944 | ||
| 2945 | y = Instance.new("BillboardGui")
| |
| 2946 | y.Size = UDim2.new(0,100,0,150) | |
| 2947 | y.StudsOffset = Vector3.new(0,1,0) | |
| 2948 | y.Parent = gPlayers[v].Character.Head | |
| 2949 | y.Adornee = gPlayers[v].Character.Head | |
| 2950 | f = Instance.new("TextLabel")
| |
| 2951 | f.Parent = y | |
| 2952 | f.BackgroundTransparency = 1 | |
| 2953 | f.Position = UDim2.new(0,0,0,-50) | |
| 2954 | f.Size = UDim2.new(0,100,0,100) | |
| 2955 | f.Font = "ArialBold" | |
| 2956 | f.TextSize = 20 | |
| 2957 | f.Text = "Go to cmds.infiniteyield.x10host.com to view commands (say ;verify me to dismiss)" | |
| 2958 | f.TextStrokeColor3 = Color3.new(0,0,0) | |
| 2959 | f.TextColor3 = Color3.new(255/255,255/255,255/255) | |
| 2960 | f.TextStrokeTransparency = 0 | |
| 2961 | f.TextYAlignment = "Bottom" | |
| 2962 | end | |
| 2963 | end | |
| 2964 | end | |
| 2965 | end) | |
| 2966 | ||
| 2967 | adminname = {}
| |
| 2968 | addcmd('admins','prints admins',{'adminlist'},
| |
| 2969 | function(args, speaker) | |
| 2970 | print('ADMINS:')
| |
| 2971 | wait(0.1) | |
| 2972 | for i, v in pairs (adminname) do print(v) end | |
| 2973 | Notify('Printed admins in the console (F9)')
| |
| 2974 | end) | |
| 2975 | banname = {}
| |
| 2976 | addcmd('bans','prints bans',{'banlist'},
| |
| 2977 | function(args, speaker) | |
| 2978 | print('BANLAND:')
| |
| 2979 | wait(0.1) | |
| 2980 | for i, v in pairs (banname) do print(v) end | |
| 2981 | Notify('Printed bans in the console (F9)')
| |
| 2982 | end) | |
| 2983 | ||
| 2984 | addcmd('bang','owo',{'rape'},
| |
| 2985 | function(args, speaker) | |
| 2986 | local players = getPlayer(args[1], speaker) | |
| 2987 | for i,v in pairs(players)do | |
| 2988 | rape(_players[v].Name, speaker) | |
| 2989 | end | |
| 2990 | end) | |
| 2991 | ||
| 2992 | addcmd('unadmin', 'removes the admin',{'noadmin'},
| |
| 2993 | function(args, speaker) | |
| 2994 | local players = getPlayer(args[1], speaker) | |
| 2995 | for i,v in pairs(players)do | |
| 2996 | if isAdmin(_players[v]) and _players[v].userId ~= LP.userId then | |
| 2997 | if FindTable(adminT, _players[v].userId) then | |
| 2998 | table.remove(adminT, GetInTable(adminT, _players[v].userId)) | |
| 2999 | table.remove(adminname, GetInTable(adminname, _players[v].Name)) | |
| 3000 | if args[1] == "all" then | |
| 3001 | Notify('Removed everyones admin')
| |
| 3002 | elseif args[1] == "others" then | |
| 3003 | Notify('Others no longer have admin')
| |
| 3004 | elseif args[1] == "friends" then | |
| 3005 | Notify('Friends no longer have admin')
| |
| 3006 | elseif args[1] == "team" then | |
| 3007 | Notify('Your team no longer has admin')
| |
| 3008 | elseif args[1] == "nonteam" then | |
| 3009 | Notify('The opposing team no longer has admin')
| |
| 3010 | else | |
| 3011 | Notify(gPlayers[v].Name .. ' no longer has admin') | |
| 3012 | end | |
| 3013 | end | |
| 3014 | game.Chat:Chat(gPlayers[v].Character.Head, 'You are no longer an admin') | |
| 3015 | end | |
| 3016 | end | |
| 3017 | end) | |
| 3018 | ||
| 3019 | addcmd('bgui', 'gives player billboard gui presenting text',{},
| |
| 3020 | function(args, speaker) | |
| 3021 | local players = getPlayer(args[1], speaker) | |
| 3022 | for i,v in pairs(players)do | |
| 3023 | if gPlayers[v].Character.Head:FindFirstChild("BillboardGui") then
| |
| 3024 | gPlayers[v].Character.Head:FindFirstChild("BillboardGui"):Remove()
| |
| 3025 | end | |
| 3026 | ||
| 3027 | y = Instance.new("BillboardGui")
| |
| 3028 | y.Size = UDim2.new(0,100,0,150) | |
| 3029 | y.StudsOffset = Vector3.new(0,1,0) | |
| 3030 | y.Parent = gPlayers[v].Character.Head | |
| 3031 | y.Adornee = gPlayers[v].Character.Head | |
| 3032 | f = Instance.new("TextLabel")
| |
| 3033 | f.Parent = y | |
| 3034 | f.BackgroundTransparency = 1 | |
| 3035 | f.Position = UDim2.new(0,0,0,-50) | |
| 3036 | f.Size = UDim2.new(0,100,0,100) | |
| 3037 | f.Font = "Highway" | |
| 3038 | f.FontSize = "Size48" | |
| 3039 | f.Text = GLS(false, 1) | |
| 3040 | f.TextStrokeColor3 = Color3.new(0,0,0) | |
| 3041 | f.TextColor3 = Color3.new(255/255,255/255,255/255) | |
| 3042 | f.TextStrokeTransparency = 0 | |
| 3043 | f.TextYAlignment = "Bottom" | |
| 3044 | end | |
| 3045 | end) | |
| 3046 | ||
| 3047 | addcmd('unbgui', 'gives player billboard gui presenting text',{'nobgui'},
| |
| 3048 | function(args, speaker) | |
| 3049 | local players = getPlayer(args[1], speaker) | |
| 3050 | for i,v in pairs(players)do | |
| 3051 | if gPlayers[v].Character.Head:FindFirstChild("BillboardGui") then
| |
| 3052 | gPlayers[v].Character.Head:FindFirstChild("BillboardGui"):Remove()
| |
| 3053 | end | |
| 3054 | end | |
| 3055 | end) | |
| 3056 | ||
| 3057 | addcmd('esp', 'lets you see a players location',{},
| |
| 3058 | function(args, speaker) | |
| 3059 | local players = getPlayer(args[1], speaker) | |
| 3060 | for i,v in pairs(players)do | |
| 3061 | if gPlayers[v].Character.HumanoidRootPart:FindFirstChild("BillboardGui") then
| |
| 3062 | gPlayers[v].Character.HumanoidRootPart:FindFirstChild("BillboardGui"):Remove()
| |
| 3063 | end | |
| 3064 | ||
| 3065 | y = Instance.new("BillboardGui")
| |
| 3066 | y.Size = UDim2.new(0,100,0,150) | |
| 3067 | y.StudsOffset = Vector3.new(0,1,0) | |
| 3068 | y.Parent = gPlayers[v].Character.HumanoidRootPart | |
| 3069 | y.Adornee = gPlayers[v].Character.HumanoidRootPart | |
| 3070 | f = Instance.new("TextLabel")
| |
| 3071 | f.Parent = y | |
| 3072 | f.BackgroundTransparency = 1 | |
| 3073 | f.Position = UDim2.new(0,0,0,-50) | |
| 3074 | f.Size = UDim2.new(0,100,0,100) | |
| 3075 | f.Font = "Highway" | |
| 3076 | f.FontSize = "Size48" | |
| 3077 | f.Text = "v" | |
| 3078 | f.TextStrokeColor3 = Color3.new(0,0,0) | |
| 3079 | f.TextColor3 = Color3.new(255/255,255/255,255/255) | |
| 3080 | f.TextStrokeTransparency = 0 | |
| 3081 | f.TextYAlignment = "Bottom" | |
| 3082 | y.AlwaysOnTop = true | |
| 3083 | end | |
| 3084 | end) | |
| 3085 | ||
| 3086 | addcmd('unesp', 'gives player billboard gui presenting text',{'noesp'},
| |
| 3087 | function(args, speaker) | |
| 3088 | local players = getPlayer(args[1], speaker) | |
| 3089 | for i,v in pairs(players)do | |
| 3090 | if gPlayers[v].Character.HumanoidRootPart:FindFirstChild("BillboardGui") then
| |
| 3091 | gPlayers[v].Character.HumanoidRootPart:FindFirstChild("BillboardGui"):Remove()
| |
| 3092 | end | |
| 3093 | end | |
| 3094 | end) | |
| 3095 | ||
| 3096 | addcmd('rhats', 'no more hats',{'removehats'},
| |
| 3097 | function(args, speaker) | |
| 3098 | local players = getPlayer(args[1], speaker) | |
| 3099 | for i,v in pairs(players) do | |
| 3100 | for i,v in pairs(gPlayers[v].Character:GetChildren()) do | |
| 3101 | if v:IsA('Accessory') then
| |
| 3102 | v:destroy() | |
| 3103 | end | |
| 3104 | end | |
| 3105 | end | |
| 3106 | end) | |
| 3107 | ||
| 3108 | addcmd('removetools', 'no more tools',{'rtools'},
| |
| 3109 | function(args, speaker) | |
| 3110 | local players = getPlayer(args[1], speaker) | |
| 3111 | for i,v in pairs(players) do | |
| 3112 | for i,v in pairs(gPlayers[v].Backpack:GetChildren()) do | |
| 3113 | if v:IsA('Tool') or v:IsA('HopperBin') then
| |
| 3114 | v:destroy() | |
| 3115 | end | |
| 3116 | for i,v in pairs(players) do | |
| 3117 | for i,v in pairs(gPlayers[v].Character:GetChildren()) do | |
| 3118 | if v:IsA('Tool') or v:IsA('HopperBin') then
| |
| 3119 | v:destroy() | |
| 3120 | end | |
| 3121 | end | |
| 3122 | end | |
| 3123 | end | |
| 3124 | end | |
| 3125 | end) | |
| 3126 | ||
| 3127 | addcmd('copytools', 'copys the tools from a players backpack',{'ctools'},
| |
| 3128 | function(args, speaker) | |
| 3129 | local players = getPlayer(args[1], speaker) | |
| 3130 | for i,v in pairs(players) do | |
| 3131 | for i,v in pairs(gPlayers[v].Backpack:GetChildren()) do | |
| 3132 | if v:IsA('Tool') or v:IsA('HopperBin') then
| |
| 3133 | v:Clone().Parent = speaker.Backpack | |
| 3134 | end | |
| 3135 | end | |
| 3136 | end | |
| 3137 | end) | |
| 3138 | ||
| 3139 | addcmd('gravity', 'workspace gravity',{''},
| |
| 3140 | function(args, speaker) | |
| 3141 | workspace.Gravity = args[1] | |
| 3142 | Notify('Gravity set to ' .. args[1])
| |
| 3143 | end) | |
| 3144 | ||
| 3145 | addcmd('serverinfo', 'gives you info about the server',{'info'},
| |
| 3146 | function(args, speaker) | |
| 3147 | wait(0.5) | |
| 3148 | ||
| 3149 | -- Objects | |
| 3150 | ||
| 3151 | local Sinfo = Instance.new("ScreenGui")
| |
| 3152 | local Time = Instance.new("TextLabel")
| |
| 3153 | local TextLabel = Instance.new("TextLabel")
| |
| 3154 | local TextLabel3 = Instance.new("TextLabel")
| |
| 3155 | local name = Instance.new("TextLabel")
| |
| 3156 | local fe = Instance.new("TextLabel")
| |
| 3157 | local players = Instance.new("TextLabel")
| |
| 3158 | local maxplayers = Instance.new("TextLabel")
| |
| 3159 | local TextLabel2 = Instance.new("TextLabel")
| |
| 3160 | local playerid = Instance.new("TextLabel")
| |
| 3161 | local appearance = Instance.new("TextLabel")
| |
| 3162 | local placeid = Instance.new("TextLabel")
| |
| 3163 | local exit = Instance.new("TextButton")
| |
| 3164 | ||
| 3165 | -- Properties | |
| 3166 | ||
| 3167 | Sinfo.Name = "Sinfo" | |
| 3168 | Sinfo.Parent = game.Players.LocalPlayer.PlayerGui | |
| 3169 | ||
| 3170 | Time.Name = "Time" | |
| 3171 | Time.Parent = Sinfo | |
| 3172 | Time.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
| 3173 | Time.BackgroundTransparency = 1 | |
| 3174 | Time.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
| 3175 | Time.Position = UDim2.new(0, 20, 0.924000025, 0) | |
| 3176 | Time.Size = UDim2.new(0, 1000, 0, 20) | |
| 3177 | Time.Font = Enum.Font.ArialBold | |
| 3178 | Time.FontSize = Enum.FontSize.Size14 | |
| 3179 | Time.Text = "0 Hours, 0 Minute(s), 0 Seconds" | |
| 3180 | Time.TextColor3 = Color3.new(1, 1, 1) | |
| 3181 | Time.TextStrokeTransparency = 0 | |
| 3182 | ||
| 3183 | TextLabel.Name = "Text Label" | |
| 3184 | TextLabel.Parent = Sinfo | |
| 3185 | TextLabel.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 3186 | TextLabel.BackgroundTransparency = 1 | |
| 3187 | TextLabel.BorderColor3 = Color3.new(0, 0, 0) | |
| 3188 | TextLabel.Position = UDim2.new(0, 50, 0.924000025, 0) | |
| 3189 | TextLabel.Size = UDim2.new(0, 600, 0, 20) | |
| 3190 | TextLabel.Font = Enum.Font.ArialBold | |
| 3191 | TextLabel.FontSize = Enum.FontSize.Size14 | |
| 3192 | TextLabel.Text = "Server Time:" | |
| 3193 | TextLabel.TextColor3 = Color3.new(0, 0, 0) | |
| 3194 | TextLabel.TextStrokeColor3 = Color3.new(1, 1, 1) | |
| 3195 | TextLabel.TextStrokeTransparency = 0 | |
| 3196 | ||
| 3197 | TextLabel3.Name = "Text Label3" | |
| 3198 | TextLabel3.Parent = Sinfo | |
| 3199 | TextLabel3.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 3200 | TextLabel3.BackgroundTransparency = 1 | |
| 3201 | TextLabel3.BorderColor3 = Color3.new(0, 0, 0) | |
| 3202 | TextLabel3.Position = UDim2.new(0, -250, 0.924000025, 0) | |
| 3203 | TextLabel3.Size = UDim2.new(0, 600, 0, 20) | |
| 3204 | TextLabel3.Font = Enum.Font.ArialBold | |
| 3205 | TextLabel3.FontSize = Enum.FontSize.Size14 | |
| 3206 | TextLabel3.Text = "Local Player:" | |
| 3207 | TextLabel3.TextColor3 = Color3.new(0, 0, 0) | |
| 3208 | TextLabel3.TextStrokeColor3 = Color3.new(1, 1, 1) | |
| 3209 | TextLabel3.TextStrokeTransparency = 0 | |
| 3210 | ||
| 3211 | name.Name = "name" | |
| 3212 | name.Parent = Sinfo | |
| 3213 | name.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
| 3214 | name.BackgroundTransparency = 1 | |
| 3215 | name.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
| 3216 | name.Position = UDim2.new(0, 350, 0.899999976, 0) | |
| 3217 | name.Size = UDim2.new(0, 1000, 0, 20) | |
| 3218 | name.Font = Enum.Font.ArialBold | |
| 3219 | name.FontSize = Enum.FontSize.Size14 | |
| 3220 | name.Text = "Loading Place Name" | |
| 3221 | name.TextColor3 = Color3.new(1, 1, 1) | |
| 3222 | name.TextStrokeTransparency = 0 | |
| 3223 | ||
| 3224 | fe.Name = "fe" | |
| 3225 | fe.Parent = Sinfo | |
| 3226 | fe.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
| 3227 | fe.BackgroundTransparency = 1 | |
| 3228 | fe.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
| 3229 | fe.Position = UDim2.new(0, 350, 0.949999988, 0) | |
| 3230 | fe.Size = UDim2.new(0, 1000, 0, 20) | |
| 3231 | fe.Font = Enum.Font.ArialBold | |
| 3232 | fe.FontSize = Enum.FontSize.Size14 | |
| 3233 | fe.Text = "Loading FE Status" | |
| 3234 | fe.TextColor3 = Color3.new(1, 1, 1) | |
| 3235 | fe.TextStrokeTransparency = 0 | |
| 3236 | ||
| 3237 | players.Name = "players" | |
| 3238 | players.Parent = Sinfo | |
| 3239 | players.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
| 3240 | players.BackgroundTransparency = 1 | |
| 3241 | players.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
| 3242 | players.Position = UDim2.new(0, 530, 0.899999976, 0) | |
| 3243 | players.Size = UDim2.new(0, 1000, 0, 20) | |
| 3244 | players.Font = Enum.Font.ArialBold | |
| 3245 | players.FontSize = Enum.FontSize.Size14 | |
| 3246 | players.Text = "Loading Players" | |
| 3247 | players.TextColor3 = Color3.new(1, 1, 1) | |
| 3248 | players.TextStrokeTransparency = 0 | |
| 3249 | ||
| 3250 | maxplayers.Name = "maxplayers" | |
| 3251 | maxplayers.Parent = Sinfo | |
| 3252 | maxplayers.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
| 3253 | maxplayers.BackgroundTransparency = 1 | |
| 3254 | maxplayers.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
| 3255 | maxplayers.Position = UDim2.new(0, 530, 0.949999988, 0) | |
| 3256 | maxplayers.Size = UDim2.new(0, 1000, 0, 20) | |
| 3257 | maxplayers.Font = Enum.Font.ArialBold | |
| 3258 | maxplayers.FontSize = Enum.FontSize.Size14 | |
| 3259 | maxplayers.Text = "Loading Max Players" | |
| 3260 | maxplayers.TextColor3 = Color3.new(1, 1, 1) | |
| 3261 | maxplayers.TextStrokeTransparency = 0 | |
| 3262 | ||
| 3263 | TextLabel2.Name = "Text Label2" | |
| 3264 | TextLabel2.Parent = Sinfo | |
| 3265 | TextLabel2.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 3266 | TextLabel2.BackgroundTransparency = 1 | |
| 3267 | TextLabel2.BorderColor3 = Color3.new(0, 0, 0) | |
| 3268 | TextLabel2.Position = UDim2.new(0, 400, 0.924000025, 0) | |
| 3269 | TextLabel2.Size = UDim2.new(0, 600, 0, 20) | |
| 3270 | TextLabel2.Font = Enum.Font.ArialBold | |
| 3271 | TextLabel2.FontSize = Enum.FontSize.Size14 | |
| 3272 | TextLabel2.Text = "Statistics:" | |
| 3273 | TextLabel2.TextColor3 = Color3.new(0, 0, 0) | |
| 3274 | TextLabel2.TextStrokeColor3 = Color3.new(1, 1, 1) | |
| 3275 | TextLabel2.TextStrokeTransparency = 0 | |
| 3276 | ||
| 3277 | playerid.Name = "playerid" | |
| 3278 | playerid.Parent = Sinfo | |
| 3279 | playerid.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
| 3280 | playerid.BackgroundTransparency = 1 | |
| 3281 | playerid.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
| 3282 | playerid.Position = UDim2.new(0, -330, 0.899999976, 0) | |
| 3283 | playerid.Size = UDim2.new(0, 1000, 0, 20) | |
| 3284 | playerid.Font = Enum.Font.ArialBold | |
| 3285 | playerid.FontSize = Enum.FontSize.Size14 | |
| 3286 | playerid.Text = "Loading Player ID" | |
| 3287 | playerid.TextColor3 = Color3.new(1, 1, 1) | |
| 3288 | playerid.TextStrokeTransparency = 0 | |
| 3289 | ||
| 3290 | appearance.Name = "appearance" | |
| 3291 | appearance.Parent = Sinfo | |
| 3292 | appearance.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
| 3293 | appearance.BackgroundTransparency = 1 | |
| 3294 | appearance.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
| 3295 | appearance.Position = UDim2.new(0, -330, 0.949999988, 0) | |
| 3296 | appearance.Size = UDim2.new(0, 1000, 0, 20) | |
| 3297 | appearance.Font = Enum.Font.ArialBold | |
| 3298 | appearance.FontSize = Enum.FontSize.Size14 | |
| 3299 | appearance.Text = "Loading Appearance ID" | |
| 3300 | appearance.TextColor3 = Color3.new(1, 1, 1) | |
| 3301 | appearance.TextStrokeTransparency = 0 | |
| 3302 | ||
| 3303 | placeid.Name = "placeid" | |
| 3304 | placeid.Parent = Sinfo | |
| 3305 | placeid.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
| 3306 | placeid.BackgroundTransparency = 1 | |
| 3307 | placeid.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
| 3308 | placeid.Position = UDim2.new(0, 700, 0.899999976, 0) | |
| 3309 | placeid.Size = UDim2.new(0, 1000, 0, 20) | |
| 3310 | placeid.Font = Enum.Font.ArialBold | |
| 3311 | placeid.FontSize = Enum.FontSize.Size14 | |
| 3312 | placeid.Text = "Loading Place ID" | |
| 3313 | placeid.TextColor3 = Color3.new(1, 1, 1) | |
| 3314 | placeid.TextStrokeTransparency = 0 | |
| 3315 | ||
| 3316 | exit.Name = "exit" | |
| 3317 | exit.Parent = Sinfo | |
| 3318 | exit.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 3319 | exit.BorderColor3 = Color3.new(0, 0, 0) | |
| 3320 | exit.Position = UDim2.new(0, 1150, 0.944999993, 0) | |
| 3321 | exit.Size = UDim2.new(0, 100, 0, 25) | |
| 3322 | exit.FontSize = Enum.FontSize.Size10 | |
| 3323 | exit.Text = "Exit" | |
| 3324 | exit.TextColor3 = Color3.new(0, 0, 0) | |
| 3325 | ||
| 3326 | wait(0.5) | |
| 3327 | game.Players.LocalPlayer.PlayerGui.Sinfo.name.Text = game.Name | |
| 3328 | game.Players.LocalPlayer.PlayerGui.Sinfo.playerid.Text = "Player ID: " ..game.Players.LocalPlayer.UserId | |
| 3329 | if game.Workspace.FilteringEnabled == true then | |
| 3330 | game.Players.LocalPlayer.PlayerGui.Sinfo.fe.Text = "Filtering Enabled" | |
| 3331 | elseif game.Workspace.FilteringEnabled == false then | |
| 3332 | game.Players.LocalPlayer.PlayerGui.Sinfo.fe.Text = "Filtering Disabled" | |
| 3333 | end | |
| 3334 | players = game.Players:getPlayers() | |
| 3335 | game.Players.LocalPlayer.PlayerGui.Sinfo.maxplayers.Text = game.Players.MaxPlayers.. " Players Max" | |
| 3336 | game.Players.LocalPlayer.PlayerGui.Sinfo.placeid.Text = "Place ID: " ..game.PlaceId | |
| 3337 | ||
| 3338 | game.Players.LocalPlayer.PlayerGui.Sinfo.exit.MouseButton1Click:Connect(function() | |
| 3339 | wait() | |
| 3340 | game.Players.LocalPlayer.PlayerGui.Sinfo:Destroy() | |
| 3341 | end) | |
| 3342 | ||
| 3343 | while true do | |
| 3344 | wait() | |
| 3345 | game.Players.LocalPlayer.PlayerGui.Sinfo.players.Text = #players.. " Player(s)" | |
| 3346 | game.Players.LocalPlayer.PlayerGui.Sinfo.appearance.Text = "Appearance: " ..game.Players.LocalPlayer.CharacterAppearanceId | |
| 3347 | local seconds = math.floor(workspace.DistributedGameTime) | |
| 3348 | local minutes = math.floor(workspace.DistributedGameTime / 60) | |
| 3349 | local hours = math.floor(workspace.DistributedGameTime / 60 / 60) | |
| 3350 | local seconds = seconds - (minutes * 60) | |
| 3351 | local minutes = minutes - (hours * 60) | |
| 3352 | if hours < 1 then | |
| 3353 | if minutes < 1 then | |
| 3354 | game.Players.LocalPlayer.PlayerGui.Sinfo.Time.Text = seconds .. " Second(s)" | |
| 3355 | else | |
| 3356 | game.Players.LocalPlayer.PlayerGui.Sinfo.Time.Text = minutes .. " Minute(s), " .. seconds .. " Second(s)" | |
| 3357 | end | |
| 3358 | else | |
| 3359 | game.Players.LocalPlayer.PlayerGui.Sinfo.Time.Text = hours .. " Hour(s), " .. minutes .. " Minute(s), " .. seconds .. " Second(s)" | |
| 3360 | end | |
| 3361 | end | |
| 3362 | end) | |
| 3363 | ||
| 3364 | addcmd('sparkles', 'give a player sparkles',{},
| |
| 3365 | function(args, speaker) | |
| 3366 | local players = getPlayer(args[1], speaker) | |
| 3367 | for i,v in pairs(players)do | |
| 3368 | spawn(function() | |
| 3369 | local pchar=_char(v) | |
| 3370 | local Sparkles1 = Instance.new("Sparkles", pchar.Head)
| |
| 3371 | local Sparkles2 = Instance.new("Sparkles", pchar.HumanoidRootPart)
| |
| 3372 | local Sparkles3 = Instance.new("Sparkles", pchar["Left Arm"])
| |
| 3373 | local Sparkles4 = Instance.new("Sparkles", pchar["Right Arm"])
| |
| 3374 | local Sparkles5 = Instance.new("Sparkles", pchar["Left Leg"])
| |
| 3375 | local Sparkles6 = Instance.new("Sparkles", pchar["Right Leg"])
| |
| 3376 | if not args[2] then return end | |
| 3377 | Sparkles1.Color = Color3.new((args[2]),(args[3]),(args[4])) | |
| 3378 | Sparkles2.Color = Color3.new((args[2]),(args[3]),(args[4])) | |
| 3379 | Sparkles3.Color = Color3.new((args[2]),(args[3]),(args[4])) | |
| 3380 | Sparkles4.Color = Color3.new((args[2]),(args[3]),(args[4])) | |
| 3381 | Sparkles5.Color = Color3.new((args[2]),(args[3]),(args[4])) | |
| 3382 | Sparkles6.Color = Color3.new((args[2]),(args[3]),(args[4])) | |
| 3383 | end) | |
| 3384 | end | |
| 3385 | end) | |
| 3386 | ||
| 3387 | addcmd('nosparkles', 'remove sparkles from a player',{'unsparkles'},
| |
| 3388 | function(args, speaker) | |
| 3389 | local players = getPlayer(args[1], speaker) | |
| 3390 | for i,v in pairs(players)do | |
| 3391 | local pchar=_char(v) | |
| 3392 | for j,v1 in pairs(pchar.Head:GetChildren()) do | |
| 3393 | if v1:IsA("Sparkles") then
| |
| 3394 | v1:Destroy() | |
| 3395 | end | |
| 3396 | end | |
| 3397 | for j,v1 in pairs(pchar.HumanoidRootPart:GetChildren()) do | |
| 3398 | if v1:IsA("Sparkles") then
| |
| 3399 | v1:Destroy() | |
| 3400 | end | |
| 3401 | end | |
| 3402 | for j,v1 in pairs(pchar["Left Arm"]:GetChildren()) do | |
| 3403 | if v1:IsA("Sparkles") then
| |
| 3404 | v1:Destroy() | |
| 3405 | end | |
| 3406 | end | |
| 3407 | for j,v1 in pairs(pchar["Right Arm"]:GetChildren()) do | |
| 3408 | if v1:IsA("Sparkles") then
| |
| 3409 | v1:Destroy() | |
| 3410 | end | |
| 3411 | end | |
| 3412 | for j,v1 in pairs(pchar["Left Leg"]:GetChildren()) do | |
| 3413 | if v1:IsA("Sparkles") then
| |
| 3414 | v1:Destroy() | |
| 3415 | end | |
| 3416 | end | |
| 3417 | for j,v1 in pairs(pchar["Right Leg"]:GetChildren()) do | |
| 3418 | if v1:IsA("Sparkles") then
| |
| 3419 | v1:Destroy() | |
| 3420 | end | |
| 3421 | end | |
| 3422 | end | |
| 3423 | end) | |
| 3424 | ||
| 3425 | addcmd('smoke', 'give a player smoke',{},
| |
| 3426 | function(args, speaker) | |
| 3427 | local players = getPlayer(args[1], speaker) | |
| 3428 | for i,v in pairs(players)do | |
| 3429 | local pchar=_char(v) | |
| 3430 | Instance.new("Smoke", pchar.HumanoidRootPart)
| |
| 3431 | end | |
| 3432 | end) | |
| 3433 | ||
| 3434 | addcmd('addstat', 'give a player a stat',{'stat'},
| |
| 3435 | function(args, speaker) | |
| 3436 | local players = getPlayer(args[1], speaker) | |
| 3437 | for i,v in pairs(players)do | |
| 3438 | spawn(function() | |
| 3439 | wait(0.5) | |
| 3440 | ||
| 3441 | function meep() | |
| 3442 | for _, child in pairs(gPlayers[v].leaderstats:GetChildren()) do | |
| 3443 | if child.Name == "STAT" then | |
| 3444 | child:Destroy() | |
| 3445 | end | |
| 3446 | end | |
| 3447 | ||
| 3448 | local score = Instance.new("StringValue")
| |
| 3449 | ||
| 3450 | score.Name = "STAT" | |
| 3451 | score.Value = GLS(false, 1) | |
| 3452 | ||
| 3453 | score.Parent = gPlayers[v].leaderstats | |
| 3454 | end | |
| 3455 | ||
| 3456 | ||
| 3457 | if gPlayers[v]:FindFirstChild("leaderstats") then
| |
| 3458 | meep() | |
| 3459 | else | |
| 3460 | local stats = Instance.new("IntValue")
| |
| 3461 | stats.Name = "leaderstats" | |
| 3462 | stats.Parent = gPlayers[v] | |
| 3463 | wait(0.5) | |
| 3464 | meep() | |
| 3465 | end | |
| 3466 | end) | |
| 3467 | end | |
| 3468 | end) | |
| 3469 | ||
| 3470 | addcmd('unsmoke', 'remove smoke from a player',{'nosmoke'},
| |
| 3471 | function(args, speaker) | |
| 3472 | local players = getPlayer(args[1], speaker) | |
| 3473 | for i,v in pairs(players)do | |
| 3474 | local pchar=_char(v) | |
| 3475 | for j,v1 in pairs(pchar.HumanoidRootPart:GetChildren()) do | |
| 3476 | if v1:IsA("Smoke") then
| |
| 3477 | v1:Destroy() | |
| 3478 | end | |
| 3479 | end | |
| 3480 | end | |
| 3481 | end) | |
| 3482 | ||
| 3483 | addcmd('longneck', 'makes a player have a really long neck',{'giraffe'},
| |
| 3484 | function(args, speaker) | |
| 3485 | local players = getPlayer(args[1], speaker) | |
| 3486 | for i,v in pairs(players)do | |
| 3487 | local pchar=_char(v) | |
| 3488 | for i,v in pairs(pchar:GetChildren()) do | |
| 3489 | if pchar.Torso:FindFirstChild("Neck") then
| |
| 3490 | pchar.Torso.Neck.C0 = CFrame.new(0,3,0) * CFrame.Angles(-math.rad(90),0,math.rad(180)) | |
| 3491 | local Neck = pchar:FindFirstChild("Neck") if Neck then Neck:Destroy() end
| |
| 3492 | Neck = Instance.new("Part", pchar) Neck.Name = "Neck" Neck.Size = Vector3.new(1,3,1)
| |
| 3493 | Neck.Position = Vector3.new(0,100,0) Neck.BrickColor = BrickColor.new(tostring(pchar.Head.BrickColor)) Neck.Locked = true | |
| 3494 | local Mesh = Instance.new("CylinderMesh", Neck) Mesh.Scale = Vector3.new(0.7,1,0.7)
| |
| 3495 | local Weld = Instance.new("Weld", Neck) Weld.Part0 = Neck Weld.Part1 = pchar.Torso Weld.C0 = CFrame.new(0,-2,0)
| |
| 3496 | end | |
| 3497 | end | |
| 3498 | end | |
| 3499 | end) | |
| 3500 | ||
| 3501 | addcmd('unlongneck', 'makes a player have a really long neck',{'nolongneck', 'ungiraffe', 'nogiraffe'},
| |
| 3502 | function(args, speaker) | |
| 3503 | local players = getPlayer(args[1], speaker) | |
| 3504 | for i,v in pairs(players)do | |
| 3505 | local pchar=_char(v) | |
| 3506 | for i,v in pairs(pchar:GetChildren()) do | |
| 3507 | pchar.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(-math.rad(90),0,math.rad(180)) | |
| 3508 | local Neck = pchar:FindFirstChild("Neck") if Neck then Neck:Destroy() end
| |
| 3509 | end | |
| 3510 | end | |
| 3511 | end) | |
| 3512 | ||
| 3513 | addcmd('removeterrain', 'rip terrain',{'noterrain','clrterrain'},
| |
| 3514 | function(args, speaker) | |
| 3515 | game.Workspace.Terrain:Clear() | |
| 3516 | end) | |
| 3517 | ||
| 3518 | addcmd('smite','get hit by lightning',{},
| |
| 3519 | function(args, speaker) | |
| 3520 | local players = getPlayer(args[1], speaker) | |
| 3521 | for i,v in pairs(players)do | |
| 3522 | spawn(function() | |
| 3523 | local pchar=_char(v) | |
| 3524 | game.Lighting.Ambient = Color3.new(0,0,0) | |
| 3525 | local time_=tonumber(1) | |
| 3526 | game.Lighting:SetMinutesAfterMidnight(time_*60) | |
| 3527 | game.Lighting.Brightness = 0 | |
| 3528 | ||
| 3529 | local s = Instance.new("Sound")
| |
| 3530 | ||
| 3531 | ||
| 3532 | s.Name = "thunder" | |
| 3533 | s.SoundId = "http://www.roblox.com/asset/?id=357559831" | |
| 3534 | s.Volume = 10 | |
| 3535 | s.Pitch = 1 | |
| 3536 | s.Looped = false | |
| 3537 | s.archivable = true | |
| 3538 | ||
| 3539 | s.Parent = pchar.Head | |
| 3540 | ||
| 3541 | wait() | |
| 3542 | ||
| 3543 | s:play() | |
| 3544 | ||
| 3545 | wait(1) | |
| 3546 | ||
| 3547 | local e = Instance.new("Explosion")
| |
| 3548 | ||
| 3549 | e.BlastRadius = 5 | |
| 3550 | ||
| 3551 | e.BlastPressure = 1000 | |
| 3552 | ||
| 3553 | e.Parent = game.Workspace | |
| 3554 | ||
| 3555 | e.Position = pchar.HumanoidRootPart.Position | |
| 3556 | ||
| 3557 | System = {}
| |
| 3558 | ||
| 3559 | System.Create = function(a, c) | |
| 3560 | local e = Instance.new(a) | |
| 3561 | for d, a in pairs(c) do | |
| 3562 | local b, a = ypcall(function() | |
| 3563 | return e[d] | |
| 3564 | end) | |
| 3565 | if b then | |
| 3566 | e[d] = c[d] | |
| 3567 | end | |
| 3568 | end | |
| 3569 | return e | |
| 3570 | end | |
| 3571 | function b(d, b) | |
| 3572 | local c = getfenv(d) | |
| 3573 | local a = setmetatable({}, {
| |
| 3574 | __index = function(a, a) | |
| 3575 | if a:lower() == 'script' then | |
| 3576 | return b | |
| 3577 | else | |
| 3578 | return c[a] | |
| 3579 | end | |
| 3580 | end | |
| 3581 | }) | |
| 3582 | setfenv(d, a) | |
| 3583 | ypcall(function() | |
| 3584 | d() | |
| 3585 | end) | |
| 3586 | end | |
| 3587 | c = {}
| |
| 3588 | mas = Instance.new("Model",game:GetService("Lighting"))
| |
| 3589 | mas.Name = "CompiledModel" | |
| 3590 | o1 = System.Create("Model",{
| |
| 3591 | ["Name"] = "SMITE", | |
| 3592 | ["Parent"] = mas, | |
| 3593 | }) | |
| 3594 | o2 = System.Create("Part",{
| |
| 3595 | ["Parent"] = o1, | |
| 3596 | ["Material"] = Enum.Material.Cobblestone, | |
| 3597 | ["BrickColor"] = BrickColor.new("New Yeller"),
| |
| 3598 | ["Transparency"] = 0.60000002384186, | |
| 3599 | ["Position"] = pchar.HumanoidRootPart.Position, | |
| 3600 | ["Anchored"] = true, | |
| 3601 | ["CanCollide"] = false, | |
| 3602 | ["Size"] = Vector3.new(8.39999962, 578.400024, 0.99999994), | |
| 3603 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
| 3604 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
| 3605 | ["Color"] = Color3.new(1, 1, 0), | |
| 3606 | }) | |
| 3607 | o3 = System.Create("Part",{
| |
| 3608 | ["Parent"] = o1, | |
| 3609 | ["Material"] = Enum.Material.Foil, | |
| 3610 | ["BrickColor"] = BrickColor.new("New Yeller"),
| |
| 3611 | ["Transparency"] = 0.40000000596046, | |
| 3612 | ["Position"] = pchar.HumanoidRootPart.Position, | |
| 3613 | ["Rotation"] = Vector3.new(-0, -90, 0), | |
| 3614 | ["Anchored"] = true, | |
| 3615 | ["CanCollide"] = false, | |
| 3616 | ["Size"] = Vector3.new(7.39999962, 578.400024, 7.39999962), | |
| 3617 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
| 3618 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
| 3619 | ["Color"] = Color3.new(1, 1, 0), | |
| 3620 | }) | |
| 3621 | o4 = System.Create("PointLight",{
| |
| 3622 | ["Parent"] = o3, | |
| 3623 | ["Brightness"] = 10000000000, | |
| 3624 | ["Range"] = 60, | |
| 3625 | }) | |
| 3626 | o5 = System.Create("Part",{
| |
| 3627 | ["Parent"] = o1, | |
| 3628 | ["Material"] = Enum.Material.Cobblestone, | |
| 3629 | ["BrickColor"] = BrickColor.new("New Yeller"),
| |
| 3630 | ["Transparency"] = 0.60000002384186, | |
| 3631 | ["Position"] = pchar.HumanoidRootPart.Position, | |
| 3632 | ["Rotation"] = Vector3.new(-0, -90, 0), | |
| 3633 | ["Anchored"] = true, | |
| 3634 | ["CanCollide"] = false, | |
| 3635 | ["Size"] = Vector3.new(8.39999962, 578.400024, 0.99999994), | |
| 3636 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
| 3637 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
| 3638 | ["Color"] = Color3.new(1, 1, 0), | |
| 3639 | }) | |
| 3640 | o6 = System.Create("Part",{
| |
| 3641 | ["Parent"] = o1, | |
| 3642 | ["Material"] = Enum.Material.Cobblestone, | |
| 3643 | ["BrickColor"] = BrickColor.new("New Yeller"),
| |
| 3644 | ["Transparency"] = 0.60000002384186, | |
| 3645 | ["Position"] = pchar.HumanoidRootPart.Position, | |
| 3646 | ["Rotation"] = Vector3.new(-180, 0, -180), | |
| 3647 | ["Anchored"] = true, | |
| 3648 | ["CanCollide"] = false, | |
| 3649 | ["Size"] = Vector3.new(8.39999962, 578.400024, 0.99999994), | |
| 3650 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
| 3651 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
| 3652 | ["Color"] = Color3.new(1, 1, 0), | |
| 3653 | }) | |
| 3654 | o7 = System.Create("Part",{
| |
| 3655 | ["Parent"] = o1, | |
| 3656 | ["Material"] = Enum.Material.Cobblestone, | |
| 3657 | ["BrickColor"] = BrickColor.new("New Yeller"),
| |
| 3658 | ["Transparency"] = 0.60000002384186, | |
| 3659 | ["Position"] = pchar.HumanoidRootPart.Position, | |
| 3660 | ["Rotation"] = Vector3.new(0, 90, 0), | |
| 3661 | ["Anchored"] = true, | |
| 3662 | ["CanCollide"] = false, | |
| 3663 | ["Size"] = Vector3.new(8.39999962, 379.800018, 0.99999994), | |
| 3664 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
| 3665 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
| 3666 | ["Color"] = Color3.new(1, 1, 0), | |
| 3667 | }) | |
| 3668 | mas.Parent = workspace | |
| 3669 | mas:MakeJoints() | |
| 3670 | local b = mas:GetChildren() | |
| 3671 | for a = 1, #b do | |
| 3672 | b[a].Parent = workspace | |
| 3673 | ypcall(function() | |
| 3674 | b[a]:MakeJoints() | |
| 3675 | end) | |
| 3676 | end | |
| 3677 | mas:Destroy() | |
| 3678 | for a = 1, #c do | |
| 3679 | coroutine.resume(c[a]) | |
| 3680 | end | |
| 3681 | ||
| 3682 | wait(0.5) | |
| 3683 | game.workspace.SMITE:Destroy() | |
| 3684 | ||
| 3685 | ||
| 3686 | wait(1) | |
| 3687 | game.Lighting.Brightness = 1 | |
| 3688 | game.Lighting.Ambient = Color3.new(0.5,0.5,0.5) | |
| 3689 | game.Lighting.TimeOfDay = 14 | |
| 3690 | end) | |
| 3691 | end | |
| 3692 | end) | |
| 3693 | ||
| 3694 | addcmd('asteroid','get hit by an asteroid',{'meteor', 'meteorite'},
| |
| 3695 | function(args, speaker) | |
| 3696 | local players = getPlayer(args[1], speaker) | |
| 3697 | for i,v in pairs(players)do | |
| 3698 | spawn(function() | |
| 3699 | local pchar=_char(v) | |
| 3700 | local Ast = Instance.new("Part", workspace) Ast.Name = "Asteroid" Ast.Position = pchar.HumanoidRootPart.Position + Vector3.new(0,500,0) Ast.Size = Vector3.new(12,12,12)
| |
| 3701 | local Mesh = Instance.new("SpecialMesh", Ast) Mesh.MeshId = "rbxassetid://1290033" Mesh.Scale = Vector3.new(6.2,6.2,6.2) Mesh.TextureId = "rbxassetid://1290030"
| |
| 3702 | local Fire = Instance.new("Fire", Ast) Fire.Heat = 25 Fire.Size = 30
| |
| 3703 | local Smoke = Instance.new("Smoke", Ast) Smoke.RiseVelocity = 10 Smoke.Size = 10
| |
| 3704 | local f = Instance.new("Sound")
| |
| 3705 | f.Name = "fly" | |
| 3706 | f.SoundId = "rbxassetid://179438534" | |
| 3707 | f.Volume = 3 | |
| 3708 | f.Pitch = 1 | |
| 3709 | f.Looped = true | |
| 3710 | f.archivable = true | |
| 3711 | f.Parent = Ast | |
| 3712 | f:play() | |
| 3713 | local Touched = false | |
| 3714 | coroutine.wrap(function() | |
| 3715 | repeat wait(0.1) | |
| 3716 | Ast.Position = Vector3.new(pchar.HumanoidRootPart.Position.X, Ast.Position.Y, pchar.HumanoidRootPart.Position.Z) | |
| 3717 | until not Ast or Ast.Parent == nil or Touched == true | |
| 3718 | end)() | |
| 3719 | Ast.Touched:connect(function(Part) | |
| 3720 | if Touched == false then | |
| 3721 | Touched = true | |
| 3722 | Part:BreakJoints() | |
| 3723 | local Boom = Instance.new("Explosion", workspace)
| |
| 3724 | Boom.Position = Ast.Position | |
| 3725 | Boom.BlastPressure = 1000000 | |
| 3726 | Boom.BlastRadius = 30 | |
| 3727 | Fire.Heat = 0 | |
| 3728 | Smoke.RiseVelocity = 0 | |
| 3729 | f:Destroy() | |
| 3730 | local s = Instance.new("Sound")
| |
| 3731 | s.Name = "boom" | |
| 3732 | s.SoundId = "rbxassetid://188590169" | |
| 3733 | s.Volume = 3 | |
| 3734 | s.Pitch = 1 | |
| 3735 | s.Looped = true | |
| 3736 | s.archivable = true | |
| 3737 | s.Parent = Ast | |
| 3738 | s:play() | |
| 3739 | coroutine.wrap(function() | |
| 3740 | wait(10) | |
| 3741 | s:Destroy() | |
| 3742 | if Ast and Ast.Parent ~= nil then | |
| 3743 | Ast:Destroy() | |
| 3744 | end | |
| 3745 | end)() | |
| 3746 | end | |
| 3747 | end) | |
| 3748 | end) | |
| 3749 | end | |
| 3750 | end) | |
| 3751 | ||
| 3752 | addcmd('bomb','gives you a bomb vest',{'terrorist'},
| |
| 3753 | function(args, speaker) | |
| 3754 | local players = getPlayer(args[1], speaker) | |
| 3755 | for i,v in pairs(players)do | |
| 3756 | spawn(function() | |
| 3757 | local Char=_char(v) | |
| 3758 | local HumanoidRootPart = Char.HumanoidRootPart | |
| 3759 | local TickWait = 1 | |
| 3760 | local Dead = false | |
| 3761 | ||
| 3762 | local Position = Vector3.new(0,100,0) | |
| 3763 | function NewPart(Parent) | |
| 3764 | local Part = Instance.new("Part", Parent)
| |
| 3765 | Part.CanCollide = false | |
| 3766 | Part.Position = Position | |
| 3767 | Part.TopSurface = "Smooth" | |
| 3768 | Part.BottomSurface = "Smooth" | |
| 3769 | Position = Position + Vector3.new(0,10,0) | |
| 3770 | return Part | |
| 3771 | end | |
| 3772 | ||
| 3773 | local Model = Char:FindFirstChild("Bomb")
| |
| 3774 | if Model then Model:Destroy() end | |
| 3775 | ||
| 3776 | local Model = Instance.new("Model", Char)
| |
| 3777 | Model.Name = "Bomb" | |
| 3778 | ||
| 3779 | local Belt = NewPart(Model) | |
| 3780 | Belt.Size = Vector3.new(2.2,0.5,1.2) | |
| 3781 | local Weld = Instance.new("Weld", Belt)
| |
| 3782 | Weld.Part0 = Belt | |
| 3783 | Weld.Part1 = HumanoidRootPart | |
| 3784 | Weld.C0 = CFrame.new(0,1.1,0) | |
| 3785 | local Light = Instance.new("PointLight", Belt)
| |
| 3786 | Light.Range = 15 | |
| 3787 | Light.Brightness = 5 | |
| 3788 | Light.Color = Color3.new(1,0,0) | |
| 3789 | local Beep = Instance.new("Sound", Belt)
| |
| 3790 | Beep.SoundId = "http://www.roblox.com/asset/?id=188588790" | |
| 3791 | local ExplodeSound = Instance.new("Sound", Belt)
| |
| 3792 | ExplodeSound.SoundId = "http://www.roblox.com/asset/?id="..(tonumber((math.ceil(1776.66^2)+17).."."..string.rep("36",3))*77)+0.00003
| |
| 3793 | ExplodeSound.Pitch = 2.8 | |
| 3794 | ExplodeSound.Volume = 3 | |
| 3795 | ||
| 3796 | local Back = NewPart(Model) | |
| 3797 | Back.Size = Vector3.new(1.5,1.5,0.5) | |
| 3798 | local Weld = Instance.new("Weld", Back)
| |
| 3799 | Weld.Part0 = Back | |
| 3800 | Weld.Part1 = HumanoidRootPart | |
| 3801 | Weld.C0 = CFrame.new(0,0.1,-0.75) | |
| 3802 | ||
| 3803 | local StrapLeft = NewPart(Model) | |
| 3804 | StrapLeft.Size = Vector3.new(0.2,0.5,1.6) | |
| 3805 | local Weld = Instance.new("Weld", StrapLeft)
| |
| 3806 | Weld.Part0 = StrapLeft | |
| 3807 | Weld.Part1 = HumanoidRootPart | |
| 3808 | Weld.C0 = CFrame.new(0.65,-0.9,-0.2) | |
| 3809 | ||
| 3810 | local BuckleLeft = NewPart(Model) | |
| 3811 | BuckleLeft.Size = Vector3.new(0.2,1.5,0.2) | |
| 3812 | local Weld = Instance.new("Weld", BuckleLeft)
| |
| 3813 | Weld.Part0 = BuckleLeft | |
| 3814 | Weld.Part1 = HumanoidRootPart | |
| 3815 | Weld.C0 = CFrame.new(0.65,0.1,0.5) | |
| 3816 | ||
| 3817 | local StrapRight = NewPart(Model) | |
| 3818 | StrapRight.Size = Vector3.new(0.2,0.5,1.6) | |
| 3819 | local Weld = Instance.new("Weld", StrapRight)
| |
| 3820 | Weld.Part0 = StrapRight | |
| 3821 | Weld.Part1 = HumanoidRootPart | |
| 3822 | Weld.C0 = CFrame.new(-0.65,-0.9,-0.2) | |
| 3823 | ||
| 3824 | local BuckleRight = NewPart(Model) | |
| 3825 | BuckleRight.Size = Vector3.new(0.2,1.5,0.2) | |
| 3826 | local Weld = Instance.new("Weld", BuckleRight)
| |
| 3827 | Weld.Part0 = BuckleRight | |
| 3828 | Weld.Part1 = HumanoidRootPart | |
| 3829 | Weld.C0 = CFrame.new(-0.65,0.1,0.5) | |
| 3830 | ||
| 3831 | LightEnabled = true | |
| 3832 | coroutine.wrap(function() | |
| 3833 | repeat | |
| 3834 | wait(TickWait) | |
| 3835 | LightEnabled = not LightEnabled | |
| 3836 | Light.Enabled = LightEnabled | |
| 3837 | Beep:Play() | |
| 3838 | until Dead == true or Char:FindFirstChild("Bomb") == nil
| |
| 3839 | end)() | |
| 3840 | ||
| 3841 | wait(10) | |
| 3842 | if Dead == false then | |
| 3843 | Dead = true | |
| 3844 | ExplodeSound:Play(); wait(1.4) | |
| 3845 | local Explosion = Instance.new("Explosion")
| |
| 3846 | Explosion.Position = Belt.Position | |
| 3847 | Explosion.BlastPressure = 100000 | |
| 3848 | Explosion.DestroyJointRadiusPercent = 0.7 | |
| 3849 | Explosion.ExplosionType = "CratersAndDebris" | |
| 3850 | Explosion.BlastRadius = 50 | |
| 3851 | Explosion.Parent = workspace | |
| 3852 | end | |
| 3853 | end) | |
| 3854 | end | |
| 3855 | end) | |
| 3856 | ||
| 3857 | settingsOpen = false | |
| 3858 | addcmd('settings', 'gives you settings window',{'options'},
| |
| 3859 | function(args, speaker) | |
| 3860 | if settingsOpen == false then | |
| 3861 | settingsOpen = true | |
| 3862 | local SettingsGUI = Instance.new("ScreenGui")
| |
| 3863 | local FeedbackMain = Instance.new("Frame")
| |
| 3864 | local Title = Instance.new("TextLabel")
| |
| 3865 | local close = Instance.new("TextButton")
| |
| 3866 | local checkboxText = Instance.new("TextLabel")
| |
| 3867 | local CheckBox = Instance.new("ImageButton")
| |
| 3868 | local MtimeInput = Instance.new("TextButton")
| |
| 3869 | local Input = Instance.new("TextBox")
| |
| 3870 | local preText = Instance.new("TextLabel")
| |
| 3871 | local SetBcolor = Instance.new("TextButton")
| |
| 3872 | local RB = Instance.new("TextButton")
| |
| 3873 | local Input_2 = Instance.new("TextBox")
| |
| 3874 | local setpre = Instance.new("TextButton")
| |
| 3875 | local bcolortxt = Instance.new("TextLabel")
| |
| 3876 | local BB = Instance.new("TextButton")
| |
| 3877 | local Input_3 = Instance.new("TextBox")
| |
| 3878 | local GB = Instance.new("TextButton")
| |
| 3879 | local Input_4 = Instance.new("TextBox")
| |
| 3880 | local Rbox = Instance.new("TextButton")
| |
| 3881 | local Input_5 = Instance.new("TextBox")
| |
| 3882 | local Gbox = Instance.new("TextButton")
| |
| 3883 | local Input_6 = Instance.new("TextBox")
| |
| 3884 | local Bbox = Instance.new("TextButton")
| |
| 3885 | local Input_7 = Instance.new("TextBox")
| |
| 3886 | local InputBox = Instance.new("TextButton")
| |
| 3887 | local Input_8 = Instance.new("TextBox")
| |
| 3888 | local MTText = Instance.new("TextLabel")
| |
| 3889 | local setMT = Instance.new("TextButton")
| |
| 3890 | local CheckBoxS = Instance.new("ImageButton")
| |
| 3891 | local slocktext = Instance.new("TextLabel")
| |
| 3892 | local CheckBoxJL = Instance.new("ImageButton")
| |
| 3893 | local JLtext = Instance.new("TextLabel")
| |
| 3894 | local friends = Instance.new("TextButton")
| |
| 3895 | local everyone = Instance.new("TextButton")
| |
| 3896 | ||
| 3897 | SettingsGUI.Name = "SettingsGUI" | |
| 3898 | SettingsGUI.Parent = game.CoreGui | |
| 3899 | ||
| 3900 | FeedbackMain.Name = "FeedbackMain" | |
| 3901 | FeedbackMain.Parent = SettingsGUI | |
| 3902 | FeedbackMain.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 3903 | FeedbackMain.Position = UDim2.new(1, 100, 1, -310) | |
| 3904 | FeedbackMain.Size = UDim2.new(0, 300, 0, 310) | |
| 3905 | FeedbackMain.Style = Enum.FrameStyle.DropShadow | |
| 3906 | ||
| 3907 | Title.Name = "Title" | |
| 3908 | Title.Parent = FeedbackMain | |
| 3909 | Title.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 3910 | Title.BackgroundTransparency = 1 | |
| 3911 | Title.Size = UDim2.new(1, 0, 0, 30) | |
| 3912 | Title.Font = Enum.Font.SourceSansBold | |
| 3913 | Title.FontSize = Enum.FontSize.Size24 | |
| 3914 | Title.Text = "Settings" | |
| 3915 | Title.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
| 3916 | ||
| 3917 | close.Name = "close" | |
| 3918 | close.Parent = FeedbackMain | |
| 3919 | close.BackgroundColor3 = Color3.new(1, 0, 0) | |
| 3920 | close.BackgroundTransparency = 0.30000001192093 | |
| 3921 | close.BorderColor3 = Color3.new(1, 0, 0) | |
| 3922 | close.Position = UDim2.new(1, -20, 1, -294) | |
| 3923 | close.Size = UDim2.new(0, 20, 0, 20) | |
| 3924 | close.Font = Enum.Font.SourceSans | |
| 3925 | close.FontSize = Enum.FontSize.Size14 | |
| 3926 | close.Text = "" | |
| 3927 | ||
| 3928 | checkboxText.Name = "checkboxText" | |
| 3929 | checkboxText.Parent = FeedbackMain | |
| 3930 | checkboxText.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 3931 | checkboxText.BackgroundTransparency = 1 | |
| 3932 | checkboxText.Position = UDim2.new(0, 0, 0, 43) | |
| 3933 | checkboxText.Size = UDim2.new(1, 0, 0, 30) | |
| 3934 | checkboxText.Font = Enum.Font.Code | |
| 3935 | checkboxText.FontSize = Enum.FontSize.Size18 | |
| 3936 | checkboxText.Text = "Notifications" | |
| 3937 | checkboxText.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
| 3938 | ||
| 3939 | CheckBox.Name = "CheckBox" | |
| 3940 | CheckBox.Parent = FeedbackMain | |
| 3941 | CheckBox.BackgroundTransparency = 1 | |
| 3942 | CheckBox.Position = UDim2.new(0, 10, 0, 40) | |
| 3943 | CheckBox.Size = UDim2.new(0, 30, 0, 30) | |
| 3944 | CheckBox.Image = "http://www.roblox.com/asset/?id=65492641" | |
| 3945 | ||
| 3946 | MtimeInput.Name = "MtimeInput" | |
| 3947 | MtimeInput.Parent = FeedbackMain | |
| 3948 | MtimeInput.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 3949 | MtimeInput.Position = UDim2.new(0, 8, 0, 159) | |
| 3950 | MtimeInput.Size = UDim2.new(0, 30, 0, 30) | |
| 3951 | MtimeInput.AutoButtonColor = false | |
| 3952 | MtimeInput.Style = Enum.ButtonStyle.RobloxRoundDropdownButton | |
| 3953 | MtimeInput.Font = Enum.Font.SourceSans | |
| 3954 | MtimeInput.FontSize = Enum.FontSize.Size14 | |
| 3955 | MtimeInput.Text = "" | |
| 3956 | ||
| 3957 | Input.Name = "Input" | |
| 3958 | Input.Parent = MtimeInput | |
| 3959 | Input.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 3960 | Input.BackgroundTransparency = 1 | |
| 3961 | Input.Position = UDim2.new(-0.699999988, 0, 0, -8) | |
| 3962 | Input.Size = UDim2.new(0, 30, 0, 30) | |
| 3963 | Input.Font = Enum.Font.SourceSansBold | |
| 3964 | Input.FontSize = Enum.FontSize.Size18 | |
| 3965 | Input.MultiLine = true | |
| 3966 | Input.Text = "" | |
| 3967 | Input.TextColor3 = Color3.new(0.235294, 0.235294, 0.235294) | |
| 3968 | Input.TextWrapped = true | |
| 3969 | Input.TextXAlignment = Enum.TextXAlignment.Left | |
| 3970 | Input.TextYAlignment = Enum.TextYAlignment.Top | |
| 3971 | ||
| 3972 | preText.Name = "preText" | |
| 3973 | preText.Parent = FeedbackMain | |
| 3974 | preText.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 3975 | preText.BackgroundTransparency = 1 | |
| 3976 | preText.Position = UDim2.new(0, 0, 0, 118) | |
| 3977 | preText.Size = UDim2.new(1, 0, 0, 30) | |
| 3978 | preText.Font = Enum.Font.Code | |
| 3979 | preText.FontSize = Enum.FontSize.Size18 | |
| 3980 | preText.Text = "Prefix" | |
| 3981 | preText.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
| 3982 | ||
| 3983 | SetBcolor.Name = "SetBcolor" | |
| 3984 | SetBcolor.Parent = FeedbackMain | |
| 3985 | SetBcolor.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 3986 | SetBcolor.BorderSizePixel = 5 | |
| 3987 | SetBcolor.Position = UDim2.new(0, 235, 0, 83) | |
| 3988 | SetBcolor.Size = UDim2.new(0, 40, 0, 25) | |
| 3989 | SetBcolor.Style = Enum.ButtonStyle.RobloxRoundDropdownButton | |
| 3990 | SetBcolor.Font = Enum.Font.ArialBold | |
| 3991 | SetBcolor.FontSize = Enum.FontSize.Size18 | |
| 3992 | SetBcolor.Text = "Set" | |
| 3993 | ||
| 3994 | RB.Name = "RB" | |
| 3995 | RB.Parent = FeedbackMain | |
| 3996 | RB.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 3997 | RB.Position = UDim2.new(0, 8, 0, 80) | |
| 3998 | RB.Size = UDim2.new(0, 30, 0, 30) | |
| 3999 | RB.AutoButtonColor = false | |
| 4000 | RB.Style = Enum.ButtonStyle.RobloxRoundDropdownButton | |
| 4001 | RB.Font = Enum.Font.SourceSans | |
| 4002 | RB.FontSize = Enum.FontSize.Size14 | |
| 4003 | RB.Text = "R" | |
| 4004 | ||
| 4005 | Input_2.Name = "Input" | |
| 4006 | Input_2.Parent = RB | |
| 4007 | Input_2.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 4008 | Input_2.BackgroundTransparency = 1 | |
| 4009 | Input_2.Position = UDim2.new(0, 0, 0, -8) | |
| 4010 | Input_2.Size = UDim2.new(0, 30, 0, 30) | |
| 4011 | Input_2.Font = Enum.Font.SourceSansBold | |
| 4012 | Input_2.FontSize = Enum.FontSize.Size18 | |
| 4013 | Input_2.MultiLine = true | |
| 4014 | Input_2.Text = "" | |
| 4015 | Input_2.TextColor3 = Color3.new(0.235294, 0.235294, 0.235294) | |
| 4016 | Input_2.TextWrapped = true | |
| 4017 | Input_2.TextXAlignment = Enum.TextXAlignment.Left | |
| 4018 | Input_2.TextYAlignment = Enum.TextYAlignment.Top | |
| 4019 | ||
| 4020 | setpre.Name = "setpre" | |
| 4021 | setpre.Parent = FeedbackMain | |
| 4022 | setpre.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 4023 | setpre.BorderSizePixel = 5 | |
| 4024 | setpre.Position = UDim2.new(0, 235, 0, 120) | |
| 4025 | setpre.Size = UDim2.new(0, 40, 0, 25) | |
| 4026 | setpre.Style = Enum.ButtonStyle.RobloxRoundDropdownButton | |
| 4027 | setpre.Font = Enum.Font.ArialBold | |
| 4028 | setpre.FontSize = Enum.FontSize.Size18 | |
| 4029 | setpre.Text = "Set" | |
| 4030 | ||
| 4031 | bcolortxt.Name = "bcolortxt" | |
| 4032 | bcolortxt.Parent = FeedbackMain | |
| 4033 | bcolortxt.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 4034 | bcolortxt.BackgroundTransparency = 1 | |
| 4035 | bcolortxt.Position = UDim2.new(0, 0, 0, 78) | |
| 4036 | bcolortxt.Size = UDim2.new(1, 0, 0, 30) | |
| 4037 | bcolortxt.Font = Enum.Font.Code | |
| 4038 | bcolortxt.FontSize = Enum.FontSize.Size14 | |
| 4039 | bcolortxt.Text = "Notification\nBorder Color" | |
| 4040 | bcolortxt.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
| 4041 | ||
| 4042 | BB.Name = "BB" | |
| 4043 | BB.Parent = FeedbackMain | |
| 4044 | BB.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 4045 | BB.Position = UDim2.new(0, 60, 0, 80) | |
| 4046 | BB.Size = UDim2.new(0, 30, 0, 30) | |
| 4047 | BB.AutoButtonColor = false | |
| 4048 | BB.Style = Enum.ButtonStyle.RobloxRoundDropdownButton | |
| 4049 | BB.Font = Enum.Font.SourceSans | |
| 4050 | BB.FontSize = Enum.FontSize.Size14 | |
| 4051 | BB.Text = "B" | |
| 4052 | ||
| 4053 | Input_3.Name = "Input" | |
| 4054 | Input_3.Parent = BB | |
| 4055 | Input_3.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 4056 | Input_3.BackgroundTransparency = 1 | |
| 4057 | Input_3.Position = UDim2.new(0, 0, 0, -8) | |
| 4058 | Input_3.Size = UDim2.new(0, 30, 0, 30) | |
| 4059 | Input_3.Font = Enum.Font.SourceSansBold | |
| 4060 | Input_3.FontSize = Enum.FontSize.Size18 | |
| 4061 | Input_3.MultiLine = true | |
| 4062 | Input_3.Text = "" | |
| 4063 | Input_3.TextColor3 = Color3.new(0.235294, 0.235294, 0.235294) | |
| 4064 | Input_3.TextWrapped = true | |
| 4065 | Input_3.TextXAlignment = Enum.TextXAlignment.Left | |
| 4066 | Input_3.TextYAlignment = Enum.TextYAlignment.Top | |
| 4067 | ||
| 4068 | GB.Name = "GB" | |
| 4069 | GB.Parent = FeedbackMain | |
| 4070 | GB.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 4071 | GB.Position = UDim2.new(0, 34, 0, 80) | |
| 4072 | GB.Size = UDim2.new(0, 30, 0, 30) | |
| 4073 | GB.AutoButtonColor = false | |
| 4074 | GB.Style = Enum.ButtonStyle.RobloxRoundDropdownButton | |
| 4075 | GB.Font = Enum.Font.SourceSans | |
| 4076 | GB.FontSize = Enum.FontSize.Size14 | |
| 4077 | GB.Text = "G" | |
| 4078 | ||
| 4079 | Input_4.Name = "Input" | |
| 4080 | Input_4.Parent = GB | |
| 4081 | Input_4.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 4082 | Input_4.BackgroundTransparency = 1 | |
| 4083 | Input_4.Position = UDim2.new(0, 0, 0, -8) | |
| 4084 | Input_4.Size = UDim2.new(0, 30, 0, 30) | |
| 4085 | Input_4.Font = Enum.Font.SourceSansBold | |
| 4086 | Input_4.FontSize = Enum.FontSize.Size18 | |
| 4087 | Input_4.MultiLine = true | |
| 4088 | Input_4.Text = "" | |
| 4089 | Input_4.TextColor3 = Color3.new(0.235294, 0.235294, 0.235294) | |
| 4090 | Input_4.TextWrapped = true | |
| 4091 | Input_4.TextXAlignment = Enum.TextXAlignment.Left | |
| 4092 | Input_4.TextYAlignment = Enum.TextYAlignment.Top | |
| 4093 | ||
| 4094 | Rbox.Name = "Rbox" | |
| 4095 | Rbox.Parent = FeedbackMain | |
| 4096 | Rbox.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 4097 | Rbox.Position = UDim2.new(0, 8, 0, 80) | |
| 4098 | Rbox.Size = UDim2.new(0, 30, 0, 30) | |
| 4099 | Rbox.AutoButtonColor = false | |
| 4100 | Rbox.Style = Enum.ButtonStyle.RobloxRoundDropdownButton | |
| 4101 | Rbox.Font = Enum.Font.SourceSans | |
| 4102 | Rbox.FontSize = Enum.FontSize.Size14 | |
| 4103 | Rbox.Text = "" | |
| 4104 | ||
| 4105 | Input_5.Name = "Input" | |
| 4106 | Input_5.Parent = Rbox | |
| 4107 | Input_5.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 4108 | Input_5.BackgroundTransparency = 1 | |
| 4109 | Input_5.Position = UDim2.new(0, -9, 0, -8) | |
| 4110 | Input_5.Size = UDim2.new(0, 30, 0, 30) | |
| 4111 | Input_5.Font = Enum.Font.SourceSansBold | |
| 4112 | Input_5.FontSize = Enum.FontSize.Size18 | |
| 4113 | Input_5.MultiLine = true | |
| 4114 | Input_5.Text = "" | |
| 4115 | Input_5.TextColor3 = Color3.new(0.235294, 0.235294, 0.235294) | |
| 4116 | Input_5.TextWrapped = true | |
| 4117 | Input_5.TextXAlignment = Enum.TextXAlignment.Left | |
| 4118 | Input_5.TextYAlignment = Enum.TextYAlignment.Top | |
| 4119 | ||
| 4120 | Gbox.Name = "Gbox" | |
| 4121 | Gbox.Parent = FeedbackMain | |
| 4122 | Gbox.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 4123 | Gbox.Position = UDim2.new(0, 34, 0, 80) | |
| 4124 | Gbox.Size = UDim2.new(0, 30, 0, 30) | |
| 4125 | Gbox.AutoButtonColor = false | |
| 4126 | Gbox.Style = Enum.ButtonStyle.RobloxRoundDropdownButton | |
| 4127 | Gbox.Font = Enum.Font.SourceSans | |
| 4128 | Gbox.FontSize = Enum.FontSize.Size14 | |
| 4129 | Gbox.Text = "" | |
| 4130 | ||
| 4131 | Input_6.Name = "Input" | |
| 4132 | Input_6.Parent = Gbox | |
| 4133 | Input_6.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 4134 | Input_6.BackgroundTransparency = 1 | |
| 4135 | Input_6.Position = UDim2.new(0, -9, 0, -8) | |
| 4136 | Input_6.Size = UDim2.new(0, 30, 0, 30) | |
| 4137 | Input_6.Font = Enum.Font.SourceSansBold | |
| 4138 | Input_6.FontSize = Enum.FontSize.Size18 | |
| 4139 | Input_6.MultiLine = true | |
| 4140 | Input_6.Text = "" | |
| 4141 | Input_6.TextColor3 = Color3.new(0.235294, 0.235294, 0.235294) | |
| 4142 | Input_6.TextWrapped = true | |
| 4143 | Input_6.TextXAlignment = Enum.TextXAlignment.Left | |
| 4144 | Input_6.TextYAlignment = Enum.TextYAlignment.Top | |
| 4145 | ||
| 4146 | Bbox.Name = "Bbox" | |
| 4147 | Bbox.Parent = FeedbackMain | |
| 4148 | Bbox.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 4149 | Bbox.Position = UDim2.new(0, 60, 0, 80) | |
| 4150 | Bbox.Size = UDim2.new(0, 30, 0, 30) | |
| 4151 | Bbox.AutoButtonColor = false | |
| 4152 | Bbox.Style = Enum.ButtonStyle.RobloxRoundDropdownButton | |
| 4153 | Bbox.Font = Enum.Font.SourceSans | |
| 4154 | Bbox.FontSize = Enum.FontSize.Size14 | |
| 4155 | Bbox.Text = "" | |
| 4156 | ||
| 4157 | Input_7.Name = "Input" | |
| 4158 | Input_7.Parent = Bbox | |
| 4159 | Input_7.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 4160 | Input_7.BackgroundTransparency = 1 | |
| 4161 | Input_7.Position = UDim2.new(0, -9, 0, -8) | |
| 4162 | Input_7.Size = UDim2.new(0, 30, 0, 30) | |
| 4163 | Input_7.Font = Enum.Font.SourceSansBold | |
| 4164 | Input_7.FontSize = Enum.FontSize.Size18 | |
| 4165 | Input_7.MultiLine = true | |
| 4166 | Input_7.Text = "" | |
| 4167 | Input_7.TextColor3 = Color3.new(0.235294, 0.235294, 0.235294) | |
| 4168 | Input_7.TextWrapped = true | |
| 4169 | Input_7.TextXAlignment = Enum.TextXAlignment.Left | |
| 4170 | Input_7.TextYAlignment = Enum.TextYAlignment.Top | |
| 4171 | ||
| 4172 | InputBox.Name = "InputBox" | |
| 4173 | InputBox.Parent = FeedbackMain | |
| 4174 | InputBox.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 4175 | InputBox.Position = UDim2.new(0, 8, 0, 120) | |
| 4176 | InputBox.Size = UDim2.new(0, 30, 0, 30) | |
| 4177 | InputBox.AutoButtonColor = false | |
| 4178 | InputBox.Style = Enum.ButtonStyle.RobloxRoundDropdownButton | |
| 4179 | InputBox.Font = Enum.Font.SourceSans | |
| 4180 | InputBox.FontSize = Enum.FontSize.Size14 | |
| 4181 | InputBox.Text = "" | |
| 4182 | ||
| 4183 | Input_8.Name = "Input" | |
| 4184 | Input_8.Parent = InputBox | |
| 4185 | Input_8.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 4186 | Input_8.BackgroundTransparency = 1 | |
| 4187 | Input_8.Position = UDim2.new(0, 0, 0, -8) | |
| 4188 | Input_8.Size = UDim2.new(0, 30, 0, 30) | |
| 4189 | Input_8.Font = Enum.Font.SourceSansBold | |
| 4190 | Input_8.FontSize = Enum.FontSize.Size18 | |
| 4191 | Input_8.MultiLine = true | |
| 4192 | Input_8.Text = "" | |
| 4193 | Input_8.TextColor3 = Color3.new(0.235294, 0.235294, 0.235294) | |
| 4194 | Input_8.TextWrapped = true | |
| 4195 | Input_8.TextXAlignment = Enum.TextXAlignment.Left | |
| 4196 | Input_8.TextYAlignment = Enum.TextYAlignment.Top | |
| 4197 | ||
| 4198 | MTText.Name = "MTText" | |
| 4199 | MTText.Parent = FeedbackMain | |
| 4200 | MTText.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 4201 | MTText.BackgroundTransparency = 1 | |
| 4202 | MTText.Position = UDim2.new(0, 0, 0, 158) | |
| 4203 | MTText.Size = UDim2.new(1, 0, 0, 30) | |
| 4204 | MTText.Font = Enum.Font.Code | |
| 4205 | MTText.FontSize = Enum.FontSize.Size18 | |
| 4206 | MTText.Text = "Message Time" | |
| 4207 | MTText.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
| 4208 | ||
| 4209 | setMT.Name = "setMT" | |
| 4210 | setMT.Parent = FeedbackMain | |
| 4211 | setMT.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 4212 | setMT.BorderSizePixel = 5 | |
| 4213 | setMT.Position = UDim2.new(0, 235, 0, 159) | |
| 4214 | setMT.Size = UDim2.new(0, 40, 0, 25) | |
| 4215 | setMT.Style = Enum.ButtonStyle.RobloxRoundDropdownButton | |
| 4216 | setMT.Font = Enum.Font.ArialBold | |
| 4217 | setMT.FontSize = Enum.FontSize.Size18 | |
| 4218 | setMT.Text = "Set" | |
| 4219 | ||
| 4220 | CheckBoxS.Name = "CheckBoxS" | |
| 4221 | CheckBoxS.Parent = FeedbackMain | |
| 4222 | CheckBoxS.BackgroundTransparency = 1 | |
| 4223 | CheckBoxS.Position = UDim2.new(0, 10, 0, 195) | |
| 4224 | CheckBoxS.Size = UDim2.new(0, 30, 0, 30) | |
| 4225 | CheckBoxS.Image = "http://www.roblox.com/asset/?id=65492641" | |
| 4226 | ||
| 4227 | slocktext.Name = "slocktext" | |
| 4228 | slocktext.Parent = FeedbackMain | |
| 4229 | slocktext.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 4230 | slocktext.BackgroundTransparency = 1 | |
| 4231 | slocktext.Position = UDim2.new(0, 0, 0, 195) | |
| 4232 | slocktext.Size = UDim2.new(1, 0, 0, 30) | |
| 4233 | slocktext.Font = Enum.Font.Code | |
| 4234 | slocktext.FontSize = Enum.FontSize.Size14 | |
| 4235 | slocktext.Text = "Allow Friends On Serverlock" | |
| 4236 | slocktext.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
| 4237 | ||
| 4238 | CheckBoxJL.Name = "CheckBoxJL" | |
| 4239 | CheckBoxJL.Parent = FeedbackMain | |
| 4240 | CheckBoxJL.BackgroundTransparency = 1 | |
| 4241 | CheckBoxJL.Position = UDim2.new(0, 10, 0, 230) | |
| 4242 | CheckBoxJL.Size = UDim2.new(0, 30, 0, 30) | |
| 4243 | CheckBoxJL.Image = "http://www.roblox.com/asset/?id=65492641" | |
| 4244 | ||
| 4245 | JLtext.Name = "JLtext" | |
| 4246 | JLtext.Parent = FeedbackMain | |
| 4247 | JLtext.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 4248 | JLtext.BackgroundTransparency = 1 | |
| 4249 | JLtext.Position = UDim2.new(0, 0, 0, 230) | |
| 4250 | JLtext.Size = UDim2.new(1, 0, 0, 30) | |
| 4251 | JLtext.Font = Enum.Font.Code | |
| 4252 | JLtext.FontSize = Enum.FontSize.Size14 | |
| 4253 | JLtext.Text = "Joined / Left Notifications" | |
| 4254 | JLtext.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
| 4255 | ||
| 4256 | friends.Name = "friends" | |
| 4257 | friends.Parent = FeedbackMain | |
| 4258 | friends.BackgroundColor3 = Color3.new(0, 0, 0) | |
| 4259 | friends.BackgroundTransparency = 0.80000001192093 | |
| 4260 | friends.BorderColor3 = Color3.new(1, 1, 1) | |
| 4261 | friends.Position = UDim2.new(0, 95, 0, 270) | |
| 4262 | friends.Size = UDim2.new(0, 50, 0, 20) | |
| 4263 | friends.Font = Enum.Font.SourceSans | |
| 4264 | friends.FontSize = Enum.FontSize.Size14 | |
| 4265 | friends.Text = "Friends" | |
| 4266 | friends.TextColor3 = Color3.new(1, 1, 1) | |
| 4267 | ||
| 4268 | everyone.Name = "everyone" | |
| 4269 | everyone.Parent = FeedbackMain | |
| 4270 | everyone.BackgroundColor3 = Color3.new(0, 0, 0) | |
| 4271 | everyone.BackgroundTransparency = 0.80000001192093 | |
| 4272 | everyone.BorderColor3 = Color3.new(0, 0, 0) | |
| 4273 | everyone.Position = UDim2.new(0, 150, 0, 270) | |
| 4274 | everyone.Size = UDim2.new(0, 50, 0, 20) | |
| 4275 | everyone.Font = Enum.Font.SourceSans | |
| 4276 | everyone.FontSize = Enum.FontSize.Size14 | |
| 4277 | everyone.Text = "Everyone" | |
| 4278 | everyone.TextColor3 = Color3.new(1, 1, 1) | |
| 4279 | wait(0.5) | |
| 4280 | SettingsGUI.FeedbackMain:TweenPosition(UDim2.new(1,-300,1,-310),"Out","Quint",0.3,true) | |
| 4281 | wait(0.5) | |
| 4282 | SettingsGUI.FeedbackMain.close.MouseButton1Click:Connect(function() | |
| 4283 | settingsOpen = false | |
| 4284 | wait() | |
| 4285 | SettingsGUI.FeedbackMain:TweenPosition(UDim2.new(1,100,1,-310),"Out","Quint",0.3,true) | |
| 4286 | wait(1) | |
| 4287 | SettingsGUI:Destroy() | |
| 4288 | end) | |
| 4289 | --joined/left friend option | |
| 4290 | game.Players.PlayerAdded:connect(playerAdded) | |
| 4291 | game.CoreGui.SettingsGUI.FeedbackMain.friends.MouseButton1Click:connect(function() changeOptions(1) end) | |
| 4292 | game.CoreGui.SettingsGUI.FeedbackMain.everyone.MouseButton1Click:connect(function() changeOptions(2) end) | |
| 4293 | ||
| 4294 | game.Players.PlayerRemoving:connect(PlayerRemoving) | |
| 4295 | game.CoreGui.SettingsGUI.FeedbackMain.friends.MouseButton1Click:connect(function() changeOptions(1) end) | |
| 4296 | game.CoreGui.SettingsGUI.FeedbackMain.everyone.MouseButton1Click:connect(function() changeOptions(2) end) | |
| 4297 | --Message time | |
| 4298 | ||
| 4299 | SettingsGUI.FeedbackMain.setMT.MouseButton1Click:Connect(function() | |
| 4300 | wait() | |
| 4301 | game.CoreGui.MSGtime.Value = SettingsGUI.FeedbackMain.MtimeInput.Input.Text | |
| 4302 | Notify('Set message time to ' ..SettingsGUI.FeedbackMain.MtimeInput.Input.Text.. ' second(s)')
| |
| 4303 | end) | |
| 4304 | ||
| 4305 | --Border Color | |
| 4306 | ||
| 4307 | SettingsGUI.FeedbackMain.SetBcolor.MouseButton1Click:Connect(function() | |
| 4308 | local frame = SettingsGUI.FeedbackMain | |
| 4309 | wait() | |
| 4310 | notifyNOT.BorderColor = BrickColor.new(frame.Rbox.Input.Text,frame.Gbox.Input.Text,frame.Bbox.Input.Text) | |
| 4311 | Notify('Set Border Color.')
| |
| 4312 | end) | |
| 4313 | ||
| 4314 | --Change prefix | |
| 4315 | ||
| 4316 | SettingsGUI.FeedbackMain.setpre.MouseButton1Click:Connect(function() | |
| 4317 | wait() | |
| 4318 | cmdprefix = SettingsGUI.FeedbackMain.InputBox.Input.Text | |
| 4319 | Notify('Set prefix to "' .. SettingsGUI.FeedbackMain.InputBox.Input.Text .. '"')
| |
| 4320 | end) | |
| 4321 | ||
| 4322 | --Check Box for notify | |
| 4323 | ||
| 4324 | checked = "http://www.roblox.com/asset/?id=65492641" | |
| 4325 | unchecked = "http://www.roblox.com/asset/?id=65492651" | |
| 4326 | checkValue = game.CoreGui.notify | |
| 4327 | ||
| 4328 | if checkValue.Value == true then | |
| 4329 | SettingsGUI.FeedbackMain.CheckBox.Image = checked | |
| 4330 | else | |
| 4331 | SettingsGUI.FeedbackMain.CheckBox.Image = unchecked | |
| 4332 | end | |
| 4333 | ||
| 4334 | SettingsGUI.FeedbackMain.CheckBox.MouseButton1Down:connect(function() | |
| 4335 | if checkValue.Value then | |
| 4336 | checkValue.Value = false | |
| 4337 | SettingsGUI.FeedbackMain.CheckBox.Image = unchecked | |
| 4338 | notifyNOT.Visible = false | |
| 4339 | else | |
| 4340 | checkValue.Value = true | |
| 4341 | SettingsGUI.FeedbackMain.CheckBox.Image = checked | |
| 4342 | notifyNOT.Visible = true | |
| 4343 | end | |
| 4344 | end) | |
| 4345 | ||
| 4346 | --Check Box for allow friends on serverlock | |
| 4347 | ||
| 4348 | checked2 = "http://www.roblox.com/asset/?id=65492641" | |
| 4349 | unchecked2 = "http://www.roblox.com/asset/?id=65492651" | |
| 4350 | checkValue2 = game.CoreGui.allowfriends | |
| 4351 | ||
| 4352 | if checkValue2.Value == true then | |
| 4353 | SettingsGUI.FeedbackMain.CheckBoxS.Image = checked2 | |
| 4354 | else | |
| 4355 | SettingsGUI.FeedbackMain.CheckBoxS.Image = unchecked2 | |
| 4356 | end | |
| 4357 | ||
| 4358 | SettingsGUI.FeedbackMain.CheckBoxS.MouseButton1Down:connect(function() | |
| 4359 | if checkValue2.Value then | |
| 4360 | checkValue2.Value = false | |
| 4361 | SettingsGUI.FeedbackMain.CheckBoxS.Image = unchecked2 | |
| 4362 | else | |
| 4363 | checkValue2.Value = true | |
| 4364 | SettingsGUI.FeedbackMain.CheckBoxS.Image = checked2 | |
| 4365 | end | |
| 4366 | end) | |
| 4367 | ||
| 4368 | --Check Box for JoinedLeft notifications | |
| 4369 | ||
| 4370 | checked3 = "http://www.roblox.com/asset/?id=65492641" | |
| 4371 | unchecked3 = "http://www.roblox.com/asset/?id=65492651" | |
| 4372 | checkValue3 = game.CoreGui.JLnotify | |
| 4373 | ||
| 4374 | if checkValue3.Value == true then | |
| 4375 | SettingsGUI.FeedbackMain.CheckBoxJL.Image = checked3 | |
| 4376 | else | |
| 4377 | SettingsGUI.FeedbackMain.CheckBoxJL.Image = unchecked3 | |
| 4378 | end | |
| 4379 | ||
| 4380 | SettingsGUI.FeedbackMain.CheckBoxJL.MouseButton1Down:connect(function() | |
| 4381 | if checkValue3.Value then | |
| 4382 | checkValue3.Value = false | |
| 4383 | MODE = -1 | |
| 4384 | SettingsGUI.FeedbackMain.CheckBoxJL.Image = unchecked3 | |
| 4385 | else | |
| 4386 | checkValue3.Value = true | |
| 4387 | SettingsGUI.FeedbackMain.CheckBoxJL.Image = checked3 | |
| 4388 | MODE = 1 | |
| 4389 | end | |
| 4390 | end) | |
| 4391 | end | |
| 4392 | end) | |
| 4393 | ||
| 4394 | addcmd('btools', 'gives a player btools',{},
| |
| 4395 | function(args, speaker) | |
| 4396 | local players = getPlayer(args[1], speaker) | |
| 4397 | if players ~= nil then | |
| 4398 | for i, v in pairs(players) do | |
| 4399 | Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 2
| |
| 4400 | Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 3
| |
| 4401 | Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 4
| |
| 4402 | if args[1] == "all" then | |
| 4403 | Notify('Gave btools to everyone')
| |
| 4404 | elseif args[1] == "others" then | |
| 4405 | Notify('Gave btools to others')
| |
| 4406 | elseif args[1] == "friends" then | |
| 4407 | Notify('Gave btools to friends')
| |
| 4408 | elseif args[1] == "nonfriends" then | |
| 4409 | Notify('Gave btools to non friends')
| |
| 4410 | elseif args[1] == "team" then | |
| 4411 | Notify('Gave btools to your team')
| |
| 4412 | elseif args[1] == "nonteam" then | |
| 4413 | Notify('Gave btools to the opposing team')
| |
| 4414 | elseif args[1] == "guests" then | |
| 4415 | Notify('Gave btools to guests')
| |
| 4416 | elseif args[1] == "admins" then | |
| 4417 | Notify('Gave btools to admins')
| |
| 4418 | elseif args[1] == "nonadmins" then | |
| 4419 | Notify('Gave btools to nonadmins')
| |
| 4420 | else | |
| 4421 | Notify('Gave btools to ' .. gPlayers[v].Name)
| |
| 4422 | end | |
| 4423 | end | |
| 4424 | end | |
| 4425 | end) | |
| 4426 | ||
| 4427 | addcmd('hatsize', 'changes players hat size',{''},
| |
| 4428 | function(args, speaker) | |
| 4429 | local players = getPlayer(args[1], speaker) | |
| 4430 | for i,v in pairs(players) do | |
| 4431 | for i,v in pairs(gPlayers[v].Character:GetChildren()) do | |
| 4432 | if v:IsA('Accessory') then
| |
| 4433 | for a,b in pairs(v.Handle:GetChildren()) do | |
| 4434 | if b:IsA('SpecialMesh') then
| |
| 4435 | b.Scale = args[2] * Vector3.new(1, 1, 1) | |
| 4436 | end | |
| 4437 | end | |
| 4438 | end | |
| 4439 | end | |
| 4440 | end | |
| 4441 | end) | |
| 4442 | ||
| 4443 | addcmd('headsize', 'changes players head size',{''},
| |
| 4444 | function(args, speaker) | |
| 4445 | local players = getPlayer(args[1], speaker) | |
| 4446 | for i,v in pairs(players) do | |
| 4447 | local plrchar = _players[v].Character | |
| 4448 | if args[2] == 1 then | |
| 4449 | plrchar.Head.Mesh.Scale = Vector3.new(1.25, 1.25, 1.25) | |
| 4450 | plrchar.Head.Mesh.Offset = Vector3.new(0, 0, 0) | |
| 4451 | else | |
| 4452 | plrchar.Head.Mesh.Scale = args[2] * Vector3.new(1.25, 1.25, 1.25) | |
| 4453 | end | |
| 4454 | end | |
| 4455 | end) | |
| 4456 | ||
| 4457 | addcmd('change', 'changes a players stat',{'stat'},
| |
| 4458 | function(args, speaker) | |
| 4459 | local players = getPlayer(args[1], speaker) | |
| 4460 | for i,v in pairs(players) do | |
| 4461 | if _players[v]:FindFirstChild('leaderstats') then
| |
| 4462 | for i,v in pairs(_players[v].leaderstats:GetChildren()) do | |
| 4463 | if string.lower(v.Name) == string.lower(args[2]) and v:IsA('IntValue') or v:IsA('NumberValue') then
| |
| 4464 | if args[3] then v.Value = tonumber(args[3]) end | |
| 4465 | end | |
| 4466 | end | |
| 4467 | end | |
| 4468 | end | |
| 4469 | end) | |
| 4470 | ||
| 4471 | addcmd('draw', 'drawing tool',{},
| |
| 4472 | function(args, speaker) | |
| 4473 | for i,v in next,game:children()do | |
| 4474 | pcall(function() | |
| 4475 | local c=v.className; | |
| 4476 | rawset(getfenv(0),c:sub(1,1):lower()..c:sub(2),game:service(c)); | |
| 4477 | end); | |
| 4478 | end; | |
| 4479 | ||
| 4480 | ||
| 4481 | user=players.LocalPlayer; | |
| 4482 | uname=user.Name; | |
| 4483 | guis=user.PlayerGui; | |
| 4484 | pack=user.Backpack; | |
| 4485 | ||
| 4486 | keyDowns={};
| |
| 4487 | freeKeys={};
| |
| 4488 | shortcuts={};
| |
| 4489 | ||
| 4490 | _G.mine=_G.mine or{};
| |
| 4491 | ||
| 4492 | name='Draw3D'; | |
| 4493 | url='http://www.roblox.com/asset/?id=%d'; | |
| 4494 | ||
| 4495 | iconNormal=url:format(96578285); | |
| 4496 | iconOnDown=url:format(96584484); | |
| 4497 | ||
| 4498 | ver=0; | |
| 4499 | drawPixel=0.10; | |
| 4500 | _G.drawLimit=_G.drawLimit or 1000; | |
| 4501 | ||
| 4502 | _G.drawColor=_G.drawColor or Color3.new(); | |
| 4503 | ||
| 4504 | ||
| 4505 | ||
| 4506 | ||
| 4507 | ||
| 4508 | destroy=game.remove; | |
| 4509 | find=game.findFirstChild; | |
| 4510 | new=Instance.new; | |
| 4511 | with=function(c) | |
| 4512 | return function(p) | |
| 4513 | local o=type(c)=='string'and new(c)or c; | |
| 4514 | local x=p.Parent;p.Parent=nil; | |
| 4515 | for i,v in next,p do | |
| 4516 | o[i]=v; | |
| 4517 | end; | |
| 4518 | if(x)then | |
| 4519 | o.Parent=x; | |
| 4520 | end; | |
| 4521 | return o; | |
| 4522 | end; | |
| 4523 | end; | |
| 4524 | getPlace=function() | |
| 4525 | if(find(workspace,'draw')==nil)then | |
| 4526 | new('Model',workspace).Name='draw';
| |
| 4527 | end; | |
| 4528 | if(find(workspace.draw,uname)==nil)then | |
| 4529 | new('Model',workspace.draw).Name=uname;
| |
| 4530 | end; | |
| 4531 | return workspace.draw[uname]; | |
| 4532 | end; | |
| 4533 | drawLine=function(start,target) | |
| 4534 | local gui=with'BlockMesh'{
| |
| 4535 | Parent=with'Part'{
| |
| 4536 | CFrame=CFrame.new(start,target)*CFrame.new(0,0,-(start-target).magnitude/2); | |
| 4537 | Size=Vector3.new(drawPixel,drawPixel,(start-target).magnitude+.325*drawPixel); | |
| 4538 | Parent=getPlace(); | |
| 4539 | Color=_G.drawColor; | |
| 4540 | BottomSurface=0; | |
| 4541 | Anchored=true; | |
| 4542 | TopSurface=0; | |
| 4543 | formFactor=3; | |
| 4544 | Name=name; | |
| 4545 | }}.Parent; | |
| 4546 | table.insert(_G.mine,gui); | |
| 4547 | return gui; | |
| 4548 | end; | |
| 4549 | onDown=function() | |
| 4550 | if(drawing)then | |
| 4551 | return nil; | |
| 4552 | end; | |
| 4553 | if(selectGui.Adornee)then | |
| 4554 | destroy(selectGui.Adornee); | |
| 4555 | end; | |
| 4556 | ||
| 4557 | drawing=true; | |
| 4558 | ||
| 4559 | mouse.Icon=iconOnDown; | |
| 4560 | ver=ver+1; | |
| 4561 | ||
| 4562 | ||
| 4563 | local cVer,start,target=ver,mouse.hit.p; | |
| 4564 | ||
| 4565 | local group={};
| |
| 4566 | repeat | |
| 4567 | Wait(0.02); | |
| 4568 | ||
| 4569 | if(mouse.target and mouse.target.Name~=name and mouse.hit.p~=start)then | |
| 4570 | ||
| 4571 | target=mouse.hit.p; | |
| 4572 | ||
| 4573 | table.insert(group,drawLine(start,target)); | |
| 4574 | ||
| 4575 | start=target; | |
| 4576 | end; | |
| 4577 | until ver~=cVer; | |
| 4578 | drawing=false; | |
| 4579 | ||
| 4580 | local groupM=new('Model',getPlace());
| |
| 4581 | for i,v in next,group do | |
| 4582 | if(v:IsDescendantOf(Workspace))then | |
| 4583 | v.Parent=groupM; | |
| 4584 | end; | |
| 4585 | end; | |
| 4586 | if(next(groupM:children())==nil)then | |
| 4587 | destroy(groupM); | |
| 4588 | end; | |
| 4589 | end; | |
| 4590 | onUp=function() | |
| 4591 | mouse.Icon=iconNormal; | |
| 4592 | ver=ver+1; | |
| 4593 | end; | |
| 4594 | onKeyDown=function(k) | |
| 4595 | if(freeKeys[k]==false)then | |
| 4596 | return false; | |
| 4597 | end; | |
| 4598 | freeKeys[k]=false; | |
| 4599 | Wait(0.01); | |
| 4600 | if(keyDowns[k])then | |
| 4601 | keyDowns[k](); | |
| 4602 | elseif(shortcuts[k])then | |
| 4603 | shortcuts[k](); | |
| 4604 | end; | |
| 4605 | end; | |
| 4606 | onKeyUp=function(k) | |
| 4607 | freeKeys[k]=true; | |
| 4608 | end; | |
| 4609 | onMove=function() | |
| 4610 | ||
| 4611 | end; | |
| 4612 | onSelect=function(lmouse) | |
| 4613 | frame.Visible=true; | |
| 4614 | ||
| 4615 | mouse=lmouse; | |
| 4616 | ||
| 4617 | mouse.Icon=iconNormal; | |
| 4618 | ||
| 4619 | mouse.Button1Down:connect(onDown); | |
| 4620 | mouse.KeyDown:connect(onKeyDown); | |
| 4621 | mouse.Button1Up:connect(onUp); | |
| 4622 | mouse.KeyUp:connect(onKeyUp); | |
| 4623 | mouse.Move:connect(onMove); | |
| 4624 | end; | |
| 4625 | onDeselect=function() | |
| 4626 | ver=ver+1; | |
| 4627 | frame.Visible=false; | |
| 4628 | selectGui.Adornee=nil; | |
| 4629 | mouse.Icon=iconNormal; | |
| 4630 | for i,v in next,freeKeys do | |
| 4631 | freeKeys[i]=true; | |
| 4632 | end; | |
| 4633 | end; | |
| 4634 | addButton=function(title,shortcut,fun) | |
| 4635 | with'TextButton'{
| |
| 4636 | Text=string.format(' %s (%s)',title,shortcut);
| |
| 4637 | TextXAlignment=0; | |
| 4638 | Parent=frame; | |
| 4639 | }.MouseButton1Up:connect(fun); | |
| 4640 | ||
| 4641 | shortcuts[shortcut]=fun; | |
| 4642 | ||
| 4643 | local c=#frame:children(); | |
| 4644 | for i,v in next,frame:children()do | |
| 4645 | v.Position=UDim2.new(0,0,0,20*(i-1)); | |
| 4646 | v.Size=UDim2.new(1,0,0,20); | |
| 4647 | end; | |
| 4648 | ||
| 4649 | frame.Position=UDim2.new(1,-152,.5,-c*10); | |
| 4650 | frame.Size=UDim2.new(0,150,0,c*20); | |
| 4651 | end; | |
| 4652 | ||
| 4653 | ||
| 4654 | ||
| 4655 | ||
| 4656 | ||
| 4657 | ||
| 4658 | ||
| 4659 | ||
| 4660 | for i,v in next,{guis;pack;}do
| |
| 4661 | pcall(function() | |
| 4662 | repeat until destroy(v[name]); | |
| 4663 | end); | |
| 4664 | end; | |
| 4665 | ||
| 4666 | ||
| 4667 | ||
| 4668 | tool=with'HopperBin'{
| |
| 4669 | Parent=pack; | |
| 4670 | Name=name; | |
| 4671 | }; | |
| 4672 | tool.Deselected:connect(onDeselect); | |
| 4673 | tool.Selected:connect(onSelect); | |
| 4674 | ||
| 4675 | ||
| 4676 | ||
| 4677 | ||
| 4678 | screen=with'ScreenGui'{
| |
| 4679 | Parent=guis; | |
| 4680 | Name=name; | |
| 4681 | }; | |
| 4682 | frame=with'Frame'{
| |
| 4683 | Parent=screen; | |
| 4684 | Visible=false; | |
| 4685 | }; | |
| 4686 | clframe=with'Frame'{
| |
| 4687 | Position=UDim2.new(.5,-50,.5,-50); | |
| 4688 | Size=UDim2.new(0,100,0,100); | |
| 4689 | Visible=false; | |
| 4690 | Parent=screen; | |
| 4691 | }; | |
| 4692 | selectGui=with'SelectionBox'{
| |
| 4693 | Parent=screen; | |
| 4694 | }; | |
| 4695 | ||
| 4696 | local c=0; | |
| 4697 | for y=0,7 do | |
| 4698 | for x=0,7 do | |
| 4699 | local color=BrickColor.palette(c).Color; | |
| 4700 | ||
| 4701 | with'ImageButton'{
| |
| 4702 | Position=UDim2.new(.125*x,0,.125*y); | |
| 4703 | Size=UDim2.new(.125,0,.125); | |
| 4704 | BackgroundColor3=color; | |
| 4705 | Parent=clframe; | |
| 4706 | }.MouseButton1Up:connect(function() | |
| 4707 | clframe.Visible=false; | |
| 4708 | _G.drawColor=color; | |
| 4709 | end); | |
| 4710 | ||
| 4711 | c=c+1; | |
| 4712 | end; | |
| 4713 | end; | |
| 4714 | ||
| 4715 | addButton('Color','c',function()
| |
| 4716 | clframe.Visible=true; | |
| 4717 | end); | |
| 4718 | addButton('Remove your draws','r',function()
| |
| 4719 | repeat | |
| 4720 | destroy(_G.mine[1]); | |
| 4721 | table.remove(_G.mine,1); | |
| 4722 | Wait(0.01); | |
| 4723 | until nil; | |
| 4724 | end); | |
| 4725 | addButton('Remove global draws','k',function()
| |
| 4726 | destroy(workspace.draw); | |
| 4727 | while(_G.mine[1])do | |
| 4728 | destroy(_G.mine[1]); | |
| 4729 | table.remove(_G.mine,1); | |
| 4730 | end; | |
| 4731 | end); | |
| 4732 | addButton('Remove selected','x',function()
| |
| 4733 | repeat | |
| 4734 | if(find(workspace,'draw'))then | |
| 4735 | local dt=mouse.target; | |
| 4736 | if(dt and dt:IsDescendantOf(workspace.draw))then | |
| 4737 | selectGui.Adornee=dt.Parent; | |
| 4738 | else | |
| 4739 | selectGui.Adornee=nil; | |
| 4740 | end; | |
| 4741 | else | |
| 4742 | selectGui.Adornee=nil; | |
| 4743 | end; | |
| 4744 | Wait(0.01); | |
| 4745 | until freeKeys.x; | |
| 4746 | selectGui.Adornee=nil; | |
| 4747 | end); | |
| 4748 | ||
| 4749 | ||
| 4750 | ||
| 4751 | ||
| 4752 | repeat | |
| 4753 | Wait(0.01); | |
| 4754 | if(next(_G.mine)and _G.mine[_G.drawLimit])then | |
| 4755 | destroy(_G.mine[1]); | |
| 4756 | table.remove(_G.mine,1); | |
| 4757 | end; | |
| 4758 | until script.Parent==nil or tool.Parent==nil; | |
| 4759 | script.Disabled=true; | |
| 4760 | destroy(screen); | |
| 4761 | ||
| 4762 | end) | |
| 4763 | ||
| 4764 | addcmd('god', 'gods player',{},
| |
| 4765 | function(args, speaker) | |
| 4766 | local players = getPlayer(args[1], speaker) | |
| 4767 | for i,v in pairs(players)do | |
| 4768 | local pchar=_char(v) | |
| 4769 | if pchar then pchar.Humanoid.MaxHealth=math.huge end | |
| 4770 | end | |
| 4771 | end) | |
| 4772 | ||
| 4773 | addcmd('sgod', 'silently gods player',{},
| |
| 4774 | function(args, speaker) | |
| 4775 | local players = getPlayer(args[1], speaker) | |
| 4776 | for i,v in pairs(players)do | |
| 4777 | local pchar=_char(v) | |
| 4778 | spawn(function() | |
| 4779 | pchar.Humanoid.MaxHealth = 10000000 | |
| 4780 | wait() | |
| 4781 | pchar.Humanoid.Health = 10000000 | |
| 4782 | if args[1] == "all" then | |
| 4783 | Notify('Godded everyone')
| |
| 4784 | elseif args[1] == "others" then | |
| 4785 | Notify('Godded others')
| |
| 4786 | elseif args[1] == "friends" then | |
| 4787 | Notify('Godded friends')
| |
| 4788 | elseif args[1] == "nonfriends" then | |
| 4789 | Notify('Godded non friends')
| |
| 4790 | elseif args[1] == "team" then | |
| 4791 | Notify('Godded your team')
| |
| 4792 | elseif args[1] == "nonteam" then | |
| 4793 | Notify('Godded the opposing team')
| |
| 4794 | elseif args[1] == "guests" then | |
| 4795 | Notify('Godded guests')
| |
| 4796 | elseif args[1] == "admins" then | |
| 4797 | Notify('Godded admins')
| |
| 4798 | elseif args[1] == "nonadmins" then | |
| 4799 | Notify('Godded nonadmins')
| |
| 4800 | else | |
| 4801 | Notify('Godded ' .. gPlayers[v].Name)
| |
| 4802 | end | |
| 4803 | end) | |
| 4804 | end | |
| 4805 | end) | |
| 4806 | ||
| 4807 | addcmd('ungod', 'removes god from a player',{},
| |
| 4808 | function(args, speaker) | |
| 4809 | local players = getPlayer(args[1], speaker) | |
| 4810 | for i,v in pairs(players)do | |
| 4811 | local pchar=_char(v) | |
| 4812 | if pchar then | |
| 4813 | pchar.Humanoid.MaxHealth=100 | |
| 4814 | pchar.Humanoid.Health=100 | |
| 4815 | end | |
| 4816 | end | |
| 4817 | end) | |
| 4818 | ||
| 4819 | addcmd('heal', 'resets a players health',{},
| |
| 4820 | function(args, speaker) | |
| 4821 | local players = getPlayer(args[1], speaker) | |
| 4822 | for i,v in pairs(players)do | |
| 4823 | local pchar=_char(v) | |
| 4824 | if pchar then pchar.Humanoid.Health=pchar.Humanoid.MaxHealth;end | |
| 4825 | end | |
| 4826 | end) | |
| 4827 | ||
| 4828 | addcmd('fart', 'makes u fart',{},
| |
| 4829 | function(args, speaker) | |
| 4830 | local players = getPlayer(args[1], speaker) | |
| 4831 | for i,v in pairs(players)do | |
| 4832 | spawn(function() | |
| 4833 | local pchar=_char(v) | |
| 4834 | fart = Instance.new("Smoke")
| |
| 4835 | fart.Parent = pchar.HumanoidRootPart | |
| 4836 | fart.Color = Color3.new(255/255, 255/255, 0) | |
| 4837 | fart.Opacity = 0.4 | |
| 4838 | fart.Size = 1.0 | |
| 4839 | fart.RiseVelocity = 8 | |
| 4840 | fartsound = Instance.new("Sound", workspace)
| |
| 4841 | fsound = "http://www.roblox.com/asset?id=251309043" | |
| 4842 | fartsound.SoundId = fsound | |
| 4843 | fartsound.Volume = 1.0 | |
| 4844 | fartsound:Play() | |
| 4845 | wait(9.0) | |
| 4846 | fartsound:Destroy() | |
| 4847 | pchar.HumanoidRootPart.Smoke:Destroy() | |
| 4848 | end) | |
| 4849 | end | |
| 4850 | end) | |
| 4851 | ||
| 4852 | addcmd('decalspam', 'you can already guess...',{},
| |
| 4853 | function(args, speaker) | |
| 4854 | Notify('Decal Spammed ID: ' ..args[1])
| |
| 4855 | wait(4) | |
| 4856 | decalID = args[1] | |
| 4857 | function exPro(root) | |
| 4858 | for _, v in pairs(root:GetChildren()) do | |
| 4859 | if v:IsA("BasePart") then
| |
| 4860 | local One = Instance.new("Decal", v)
| |
| 4861 | local Two = Instance.new("Decal", v)
| |
| 4862 | local Three = Instance.new("Decal", v)
| |
| 4863 | local Four = Instance.new("Decal", v)
| |
| 4864 | local Five = Instance.new("Decal", v)
| |
| 4865 | local Six = Instance.new("Decal", v)
| |
| 4866 | One.Texture = "http://www.roblox.com/asset/?id="..decalID | |
| 4867 | Two.Texture = "http://www.roblox.com/asset/?id="..decalID | |
| 4868 | Three.Texture = "http://www.roblox.com/asset/?id="..decalID | |
| 4869 | Four.Texture = "http://www.roblox.com/asset/?id="..decalID | |
| 4870 | Five.Texture = "http://www.roblox.com/asset/?id="..decalID | |
| 4871 | Six.Texture = "http://www.roblox.com/asset/?id="..decalID | |
| 4872 | One.Face = "Front" | |
| 4873 | Two.Face = "Back" | |
| 4874 | Three.Face = "Right" | |
| 4875 | Four.Face = "Left" | |
| 4876 | Five.Face = "Top" | |
| 4877 | Six.Face = "Bottom" | |
| 4878 | One.Name = "IYdecal" | |
| 4879 | Two.Name = "IYdecal" | |
| 4880 | Three.Name = "IYdecal" | |
| 4881 | Four.Name = "IYdecal" | |
| 4882 | Five.Name = "IYdecal" | |
| 4883 | Six.Name = "IYdecal" | |
| 4884 | end | |
| 4885 | exPro(v) | |
| 4886 | end | |
| 4887 | end | |
| 4888 | function asdf(root) | |
| 4889 | for _, v in pairs(root:GetChildren()) do | |
| 4890 | asdf(v) | |
| 4891 | end | |
| 4892 | end | |
| 4893 | exPro(game.Workspace) | |
| 4894 | asdf(game.Workspace) | |
| 4895 | end) | |
| 4896 | ||
| 4897 | addcmd('undecalspam', 'removes the mess',{},
| |
| 4898 | function(args, speaker) | |
| 4899 | Notify('Removing Decal Spam...')
| |
| 4900 | wait(4) | |
| 4901 | function exPro(root) | |
| 4902 | for _, v in pairs(root:GetChildren()) do | |
| 4903 | if v:IsA("Decal") and v.Texture == "http://www.roblox.com/asset/?id="..decalID then
| |
| 4904 | v.Parent = nil | |
| 4905 | end | |
| 4906 | exPro(v) | |
| 4907 | end | |
| 4908 | end | |
| 4909 | function asdf(root) | |
| 4910 | for _, v in pairs(root:GetChildren()) do | |
| 4911 | asdf(v) | |
| 4912 | end | |
| 4913 | end | |
| 4914 | exPro(game.Workspace) | |
| 4915 | asdf(game.Workspace) | |
| 4916 | end) | |
| 4917 | ||
| 4918 | addcmd('sky', 'sets the sky',{'skybox'},
| |
| 4919 | function(args, speaker) | |
| 4920 | s = Instance.new("Sky")
| |
| 4921 | s.Name = "Sky" | |
| 4922 | s.Parent = game.Lighting | |
| 4923 | skyboxID = args[1] | |
| 4924 | s.SkyboxBk = "http://www.roblox.com/asset/?id="..skyboxID | |
| 4925 | s.SkyboxDn = "http://www.roblox.com/asset/?id="..skyboxID | |
| 4926 | s.SkyboxFt = "http://www.roblox.com/asset/?id="..skyboxID | |
| 4927 | s.SkyboxLf = "http://www.roblox.com/asset/?id="..skyboxID | |
| 4928 | s.SkyboxRt = "http://www.roblox.com/asset/?id="..skyboxID | |
| 4929 | s.SkyboxUp = "http://www.roblox.com/asset/?id="..skyboxID | |
| 4930 | game.Lighting.TimeOfDay = 12 | |
| 4931 | end) | |
| 4932 | ||
| 4933 | addcmd('freeze', 'freezes a player',{'fr'},
| |
| 4934 | function(args, speaker) | |
| 4935 | local players = getPlayer(args[1], speaker) | |
| 4936 | if players ~= nil then | |
| 4937 | for i, v in pairs(players) do | |
| 4938 | _char(v).Head.Anchored = true | |
| 4939 | end | |
| 4940 | end | |
| 4941 | end) | |
| 4942 | ||
| 4943 | addcmd('thaw', 'unfreezes a player',{'unfreeze'},
| |
| 4944 | function(args, speaker) | |
| 4945 | local players = getPlayer(args[1], speaker) | |
| 4946 | if players ~= nil then | |
| 4947 | for i, v in pairs(players) do | |
| 4948 | _char(v).Head.Anchored = false | |
| 4949 | end | |
| 4950 | end | |
| 4951 | end) | |
| 4952 | ||
| 4953 | addcmd('neon', 'makes a player neon',{},
| |
| 4954 | function(args, speaker) | |
| 4955 | local players = getPlayer(args[1], speaker) | |
| 4956 | if players ~= nil then | |
| 4957 | for i, v in pairs(players) do | |
| 4958 | for _, child in pairs( _char(v):GetChildren()) do | |
| 4959 | if child.ClassName == "CharacterMesh" then | |
| 4960 | child:Destroy() | |
| 4961 | end | |
| 4962 | end | |
| 4963 | for _, child in pairs( _char(v):GetChildren()) do | |
| 4964 | if child.ClassName == "Shirt" then | |
| 4965 | child:Destroy() | |
| 4966 | end | |
| 4967 | end | |
| 4968 | for _, child in pairs( _char(v):GetChildren()) do | |
| 4969 | if child.ClassName == "Pants" then | |
| 4970 | child:Destroy() | |
| 4971 | end | |
| 4972 | end | |
| 4973 | for _, child in pairs( _char(v):GetChildren()) do | |
| 4974 | if child.ClassName == "Part" then | |
| 4975 | child.Material = "Neon" | |
| 4976 | end | |
| 4977 | end | |
| 4978 | end | |
| 4979 | end | |
| 4980 | end) | |
| 4981 | ||
| 4982 | addcmd('kill', 'kills a player',{},
| |
| 4983 | function(args, speaker) | |
| 4984 | local players = getPlayer(args[1], speaker) | |
| 4985 | for i,v in pairs(players)do | |
| 4986 | local pchar=_char(v) | |
| 4987 | if pchar then pchar.Humanoid.MaxHealth=0;pchar.Humanoid.Health=0;end | |
| 4988 | end | |
| 4989 | end) | |
| 4990 | ||
| 4991 | addcmd('sound', 'plays a sound',{'music','play'},
| |
| 4992 | function(args, speaker) | |
| 4993 | local function dels(instance) | |
| 4994 | for i,v in pairs(instance:GetChildren())do | |
| 4995 | if v:IsA'Sound'then v:Destroy()end | |
| 4996 | dels(v) | |
| 4997 | end | |
| 4998 | end | |
| 4999 | dels(workspace) | |
| 5000 | ||
| 5001 | local c = args[1] or 'stop' | |
| 5002 | if std.inTable({'stop'}, c:lower()) then return end
| |
| 5003 | local s = Instance.new("Sound", workspace)
| |
| 5004 | s.Name = "IYsound" | |
| 5005 | s.Looped = true | |
| 5006 | s.SoundId = "rbxassetid://" .. c | |
| 5007 | s.Volume = 1 | |
| 5008 | s:Play() | |
| 5009 | local Asset = game:GetService("MarketplaceService"):GetProductInfo(c)
| |
| 5010 | Notify('Playing: ' .. Asset.Name)
| |
| 5011 | end) | |
| 5012 | ||
| 5013 | addcmd('blur', 'adjusts blur',{},
| |
| 5014 | function(args, speaker) | |
| 5015 | local function dels(instance) | |
| 5016 | for i,v in pairs(instance:GetChildren())do | |
| 5017 | if v:IsA'BlurEffect'then v:Destroy()end | |
| 5018 | dels(v) | |
| 5019 | end | |
| 5020 | end | |
| 5021 | dels(game.Lighting) | |
| 5022 | ||
| 5023 | local b = Instance.new("BlurEffect", game.Lighting)
| |
| 5024 | b.Name = "IYblur" | |
| 5025 | b.Size = args[1] | |
| 5026 | end) | |
| 5027 | ||
| 5028 | ||
| 5029 | addcmd('volume','changes volume of sound',{},
| |
| 5030 | function(args, speaker) | |
| 5031 | for i,v in pairs(game.Workspace:GetChildren())do | |
| 5032 | if v:IsA("Sound") and v.Name == "IYsound" then
| |
| 5033 | v.Volume = args[1] | |
| 5034 | Notify('Changed volume to ' .. args[1])
| |
| 5035 | end | |
| 5036 | end | |
| 5037 | end) | |
| 5038 | ||
| 5039 | addcmd('pitch','changes pitch of sound',{},
| |
| 5040 | function(args, speaker) | |
| 5041 | for i,v in pairs(game.Workspace:GetChildren())do | |
| 5042 | if v:IsA("Sound") and v.Name == "IYsound" then
| |
| 5043 | v.Pitch = args[1] | |
| 5044 | Notify('Changed pitch to ' .. args[1])
| |
| 5045 | end | |
| 5046 | end | |
| 5047 | end) | |
| 5048 | ||
| 5049 | addcmd('loadmap', 'spawns a map',{},
| |
| 5050 | function(args, speaker) | |
| 5051 | local m = args[1] | |
| 5052 | ||
| 5053 | for i,v in pairs(game.Workspace:GetChildren()) do | |
| 5054 | if v.Name ~= "Terrain" and v.Name ~= "Camera" then | |
| 5055 | v:Destroy() | |
| 5056 | end | |
| 5057 | end | |
| 5058 | ||
| 5059 | game.Lighting.FogEnd = 1999999999 | |
| 5060 | game.Lighting.TimeOfDay = 14 | |
| 5061 | ||
| 5062 | for i,v in pairs(game.Lighting:GetChildren()) do | |
| 5063 | if v:IsA('Sky') then
| |
| 5064 | v:Remove() | |
| 5065 | end | |
| 5066 | end | |
| 5067 | ||
| 5068 | for i,v in pairs(game.Players:GetChildren()) do | |
| 5069 | if v.Character ~= nil then | |
| 5070 | local M = Instance.new('Model', game.Workspace) M.Name = 'respawn_iy'
| |
| 5071 | local T = Instance.new('Part', M) T.Name = 'Torso' T.CanCollide = false T.Transparency = 1
| |
| 5072 | Instance.new('Humanoid', M)
| |
| 5073 | v.Character = M | |
| 5074 | wait(1) | |
| 5075 | game:GetObjects('rbxassetid://'..m..'')[1].Parent = workspace
| |
| 5076 | wait(1) | |
| 5077 | end | |
| 5078 | end | |
| 5079 | end) | |
| 5080 | ||
| 5081 | addcmd('loadm','loads global messaging',{},
| |
| 5082 | function(args, speaker) | |
| 5083 | if MSGhook == false then | |
| 5084 | wait(0.1) | |
| 5085 | ||
| 5086 | localp = game:GetService'Players'.LocalPlayer | |
| 5087 | localp.CharacterAppearanceId = 20018 | |
| 5088 | game.Players.LocalPlayer.Character.Humanoid.Health = 0 | |
| 5089 | wait(3) | |
| 5090 | game.Players.LocalPlayer.Character:WaitForChild("Humanoid")
| |
| 5091 | wait(0.5) | |
| 5092 | repeat wait() until game.Players.LocalPlayer.Character.Humanoid.Health > 0 | |
| 5093 | Instance.new("ForceField", game.Players.LocalPlayer.Character)
| |
| 5094 | repeat wait() until localp.Character:FindFirstChild'BunnyEarsOfCaprice' | |
| 5095 | _G.mainhat = localp.Character:FindFirstChild'BunnyEarsOfCaprice':Clone() | |
| 5096 | print'loaded hat successfully' | |
| 5097 | localp.CharacterAppearanceId = 0 | |
| 5098 | game.Players.LocalPlayer.Character.Humanoid.Health = 0 | |
| 5099 | print'Resetting' | |
| 5100 | if _G.mainhat ~= nil then | |
| 5101 | local main = _G.mainhat.Handle.BunnyTools.EggScript3:Clone() | |
| 5102 | local localp = game:GetService'Players'.LocalPlayer | |
| 5103 | local part = Instance.new('Part')
| |
| 5104 | part.Anchored = true | |
| 5105 | part.Transparency = 1 | |
| 5106 | main.Disabled = false | |
| 5107 | main.Parent = part | |
| 5108 | _G.mainhat.Handle.BunnyTools.EggMesh3:Clone().Parent = part | |
| 5109 | Instance.new('ForceField', localp.Character)
| |
| 5110 | localp.Character.HumanoidRootPart.Anchored = true | |
| 5111 | part.Parent = localp.Character | |
| 5112 | part.CFrame = localp.Character.HumanoidRootPart.CFrame | |
| 5113 | wait(0.5) | |
| 5114 | localp.Character.HumanoidRootPart.Anchored = false | |
| 5115 | repeat wait() until localp:FindFirstChild'ChessMsg' | |
| 5116 | part:Remove() | |
| 5117 | local message = localp:FindFirstChild'ChessMsg' | |
| 5118 | message.Text = '' | |
| 5119 | message.Parent = workspace | |
| 5120 | message.Name = "IYmessage" | |
| 5121 | if part ~= nil then part:Remove() end | |
| 5122 | localp.Character.HumanoidRootPart.Anchored = false | |
| 5123 | for _, child in pairs( workspace:GetChildren()) do | |
| 5124 | if child.Name == "Part" and child.Size == Vector3.new(8, 0.4, 8) then | |
| 5125 | child:Destroy() | |
| 5126 | end | |
| 5127 | end | |
| 5128 | if localp.Character:FindFirstChild'ForceField' then localp.Character.ForceField:Remove() end | |
| 5129 | if localp.Character:FindFirstChild'ForceField' then localp.Character.ForceField:Remove() end | |
| 5130 | if _G.msg ~= nil then | |
| 5131 | print'Loaded Message System' | |
| 5132 | Notify('Done!')
| |
| 5133 | else | |
| 5134 | warn'failed sadly' | |
| 5135 | end | |
| 5136 | end | |
| 5137 | elseif MSGhook == true then | |
| 5138 | Notify('Messages already loaded!')
| |
| 5139 | end | |
| 5140 | end) | |
| 5141 | ||
| 5142 | addcmd('countdown', 'makes a countdown', {},
| |
| 5143 | function(args, speaker) | |
| 5144 | local players = getPlayer(args[1], speaker) | |
| 5145 | if args[1] ~= string then | |
| 5146 | local time = args[1] | |
| 5147 | if MSGhook == true then | |
| 5148 | local h = game.Workspace.IYmessage | |
| 5149 | for i = time, 1, -1 do | |
| 5150 | wait(1) | |
| 5151 | h.Text = "Countdown: "..i.."" | |
| 5152 | end | |
| 5153 | wait(1) | |
| 5154 | h.Text = "Times Up!" | |
| 5155 | wait(2) | |
| 5156 | h.Text = '' | |
| 5157 | elseif MSGhook == false then | |
| 5158 | execCmd("loadm")
| |
| 5159 | repeat wait() until MSGhook == true | |
| 5160 | local h = game.Workspace.IYmessage | |
| 5161 | for i = time, 1, -1 do | |
| 5162 | wait(1) | |
| 5163 | h.Text = "Countdown: "..i.."" | |
| 5164 | end | |
| 5165 | wait(1) | |
| 5166 | h.Text = "Times Up!" | |
| 5167 | wait(2) | |
| 5168 | h.Text = '' | |
| 5169 | end | |
| 5170 | end | |
| 5171 | end) | |
| 5172 | ||
| 5173 | addcmd('explode', 'explode a player', {},
| |
| 5174 | function(args, speaker) | |
| 5175 | local players = getPlayer(args[1], speaker) | |
| 5176 | for i, v in pairs(players) do | |
| 5177 | local char = _char(v) | |
| 5178 | if char:FindFirstChild("HumanoidRootPart") then
| |
| 5179 | Instance.new("Explosion", char).Position = char.HumanoidRootPart.Position
| |
| 5180 | end | |
| 5181 | end | |
| 5182 | end) | |
| 5183 | ||
| 5184 | addcmd('flood', 'makes a flood e.e', {},
| |
| 5185 | function(args, speaker) | |
| 5186 | game.Workspace.Terrain:SetCells(Region3int16.new(Vector3int16.new(-100,-100,-100), Vector3int16.new(100,100,100)), 17, "Solid", "X") | |
| 5187 | end) | |
| 5188 | ||
| 5189 | addcmd('spookyify', 'makes it sp00ky', {},
| |
| 5190 | function(args, speaker) | |
| 5191 | local music = Instance.new("Sound", workspace)
| |
| 5192 | music.SoundId = "http://www.roblox.com/asset/?id=257569267" | |
| 5193 | music.Volume = 20 | |
| 5194 | music.Looped = true | |
| 5195 | music:Play() | |
| 5196 | ||
| 5197 | tex1 = "http://www.roblox.com/asset/?id=185495987" | |
| 5198 | tex2 = "http://www.roblox.com/asset/?id=260858020" | |
| 5199 | tex3 = "http://www.roblox.com/asset/?id=149213919" | |
| 5200 | tex4 = "http://www.roblox.com/asset/?id=171905673" | |
| 5201 | ||
| 5202 | local w = game.Workspace:GetChildren() | |
| 5203 | ||
| 5204 | for i= 1,#w do | |
| 5205 | if w[i]:isA("BasePart") then
| |
| 5206 | pe = Instance.new("ParticleEmitter", w[i])
| |
| 5207 | pe.Texture = tex4 | |
| 5208 | pe.VelocitySpread = 5 | |
| 5209 | end | |
| 5210 | end | |
| 5211 | ||
| 5212 | local playerLeaderstats = {}
| |
| 5213 | for i, v in pairs(game.Players:GetChildren()) do | |
| 5214 | table.insert(playerLeaderstats, v) | |
| 5215 | end | |
| 5216 | for i, v in pairs(playerLeaderstats) do | |
| 5217 | pe = Instance.new("ParticleEmitter",v.Character.HumanoidRootPart)
| |
| 5218 | pe.Texture = "http://www.roblox.com/asset/?id=171905673" | |
| 5219 | pe.VelocitySpread = 50 | |
| 5220 | end | |
| 5221 | ||
| 5222 | texture = "http://www.roblox.com/asset/?id=185495987" | |
| 5223 | ||
| 5224 | local A = game.Workspace:GetChildren() | |
| 5225 | local B = game.Workspace:GetChildren() | |
| 5226 | local C = game.Workspace:GetChildren() | |
| 5227 | local D = game.Workspace:GetChildren() | |
| 5228 | local E = game.Workspace:GetChildren() | |
| 5229 | local F = game.Workspace:GetChildren() | |
| 5230 | for i,v in pairs(A) do | |
| 5231 | if v:IsA("Part") then
| |
| 5232 | local d = Instance.new("Decal",v)
| |
| 5233 | v.Decal.Face = "Top" | |
| 5234 | v.Decal.Texture = texture | |
| 5235 | v.Anchored = true | |
| 5236 | end | |
| 5237 | end | |
| 5238 | ||
| 5239 | for i,v in pairs(B) do | |
| 5240 | if v:IsA("Part") then
| |
| 5241 | local s = Instance.new("Decal",v)
| |
| 5242 | s.Face = "Front" | |
| 5243 | s.Texture = texture | |
| 5244 | end | |
| 5245 | end | |
| 5246 | ||
| 5247 | for i,v in pairs(C) do | |
| 5248 | if v:IsA("Part") then
| |
| 5249 | local h = Instance.new("Decal",v)
| |
| 5250 | h.Face = "Back" | |
| 5251 | h.Texture = texture | |
| 5252 | end | |
| 5253 | end | |
| 5254 | ||
| 5255 | for i,v in pairs(D) do | |
| 5256 | if v:IsA("Part") then
| |
| 5257 | local j = Instance.new("Decal",v)
| |
| 5258 | j.Face = "Left" | |
| 5259 | j.Texture = texture | |
| 5260 | end | |
| 5261 | end | |
| 5262 | ||
| 5263 | for i,v in pairs(E) do | |
| 5264 | if v:IsA("Part") then
| |
| 5265 | local k = Instance.new("Decal",v)
| |
| 5266 | k.Face = "Right" | |
| 5267 | k.Texture = texture | |
| 5268 | end | |
| 5269 | end | |
| 5270 | ||
| 5271 | for i,v in pairs(F) do | |
| 5272 | if v:IsA("Part") then
| |
| 5273 | local l = Instance.new("Decal",v)
| |
| 5274 | l.Face = "Bottom" | |
| 5275 | l.Texture = texture | |
| 5276 | end | |
| 5277 | ||
| 5278 | imageOne = "http://www.roblox.com/asset/?id=169585459" | |
| 5279 | imageTwo = "http://www.roblox.com/asset/?id=169585475" | |
| 5280 | imageThree = "http://www.roblox.com/asset/?id=169585485" | |
| 5281 | imageFour = "http://www.roblox.com/asset/?id=169585502" | |
| 5282 | imageFive = "http://www.roblox.com/asset/?id=169585515" | |
| 5283 | imageSix = "http://www.roblox.com/asset/?id=169585502" | |
| 5284 | imageSeven = "http://www.roblox.com/asset/?id=169585485" | |
| 5285 | imageEight = "http://www.roblox.com/asset/?id=169585475" | |
| 5286 | ||
| 5287 | Spooky = Instance.new("Sound", workspace)
| |
| 5288 | Spooky.Name = "Spooky" | |
| 5289 | Spooky.SoundId = "rbxassetid://174270407" | |
| 5290 | Spooky.Volume = 15 | |
| 5291 | Spooky.Looped = true | |
| 5292 | Spooky:Play() | |
| 5293 | ||
| 5294 | Sky = Instance.new("Sky", game.Lighting)
| |
| 5295 | Sky.SkyboxBk = imageOne | |
| 5296 | Sky.SkyboxDn = imageOne | |
| 5297 | Sky.SkyboxFt = imageOne | |
| 5298 | Sky.SkyboxLf = imageOne | |
| 5299 | Sky.SkyboxRt = imageOne | |
| 5300 | Sky.SkyboxUp = imageOne | |
| 5301 | ||
| 5302 | ||
| 5303 | while true do | |
| 5304 | Sky.SkyboxBk = imageOne | |
| 5305 | Sky.SkyboxDn = imageOne | |
| 5306 | Sky.SkyboxFt = imageOne | |
| 5307 | Sky.SkyboxLf = imageOne | |
| 5308 | Sky.SkyboxRt = imageOne | |
| 5309 | Sky.SkyboxUp = imageOne | |
| 5310 | wait(0.15) | |
| 5311 | Sky.SkyboxBk = imageTwo | |
| 5312 | Sky.SkyboxDn = imageTwo | |
| 5313 | Sky.SkyboxFt = imageTwo | |
| 5314 | Sky.SkyboxLf = imageTwo | |
| 5315 | Sky.SkyboxRt = imageTwo | |
| 5316 | Sky.SkyboxUp = imageTwo | |
| 5317 | wait(0.15) | |
| 5318 | Sky.SkyboxBk = imageThree | |
| 5319 | Sky.SkyboxDn = imageThree | |
| 5320 | Sky.SkyboxFt = imageThree | |
| 5321 | Sky.SkyboxLf = imageThree | |
| 5322 | Sky.SkyboxRt = imageThree | |
| 5323 | Sky.SkyboxUp = imageThree | |
| 5324 | wait(0.15) | |
| 5325 | Sky.SkyboxBk = imageFour | |
| 5326 | Sky.SkyboxDn = imageFour | |
| 5327 | Sky.SkyboxFt = imageFour | |
| 5328 | Sky.SkyboxLf = imageFour | |
| 5329 | Sky.SkyboxRt = imageFour | |
| 5330 | Sky.SkyboxUp = imageFour | |
| 5331 | wait(0.15) | |
| 5332 | Sky.SkyboxBk = imageFive | |
| 5333 | Sky.SkyboxDn = imageFive | |
| 5334 | Sky.SkyboxFt = imageFive | |
| 5335 | Sky.SkyboxLf = imageFive | |
| 5336 | Sky.SkyboxRt = imageFive | |
| 5337 | Sky.SkyboxUp = imageFive | |
| 5338 | wait(0.15) | |
| 5339 | Sky.SkyboxBk = imageSix | |
| 5340 | Sky.SkyboxDn = imageSix | |
| 5341 | Sky.SkyboxFt = imageSix | |
| 5342 | Sky.SkyboxLf = imageSix | |
| 5343 | Sky.SkyboxRt = imageSix | |
| 5344 | Sky.SkyboxUp = imageSix | |
| 5345 | wait(0.15) | |
| 5346 | Sky.SkyboxBk = imageSeven | |
| 5347 | Sky.SkyboxDn = imageSeven | |
| 5348 | Sky.SkyboxFt = imageSeven | |
| 5349 | Sky.SkyboxLf = imageSeven | |
| 5350 | Sky.SkyboxRt = imageSeven | |
| 5351 | Sky.SkyboxUp = imageSeven | |
| 5352 | wait(0.15) | |
| 5353 | Sky.SkyboxBk = imageEight | |
| 5354 | Sky.SkyboxDn = imageEight | |
| 5355 | Sky.SkyboxFt = imageEight | |
| 5356 | Sky.SkyboxLf = imageEight | |
| 5357 | Sky.SkyboxRt = imageEight | |
| 5358 | Sky.SkyboxUp = imageEight | |
| 5359 | wait(0.15) | |
| 5360 | ||
| 5361 | end | |
| 5362 | end | |
| 5363 | end) | |
| 5364 | ||
| 5365 | addcmd('invisible', 'make a player invisible',{},
| |
| 5366 | function(args, speaker) | |
| 5367 | local players = getPlayer(args[1], speaker) | |
| 5368 | for i, v in pairs(players) do | |
| 5369 | for k, v2 in pairs(_char(v):GetChildren()) do | |
| 5370 | if v2.className == "Part" then | |
| 5371 | if v2.Name ~= "HumanoidRootPart" then v2.Transparency = 1 end | |
| 5372 | elseif v2.className == "Accessory" then | |
| 5373 | if v2:FindFirstChild("Handle") then
| |
| 5374 | v2.Handle.Transparency = 1 | |
| 5375 | end | |
| 5376 | end | |
| 5377 | if v2:FindFirstChild("face") then
| |
| 5378 | v2.face.Transparency = 1 | |
| 5379 | end | |
| 5380 | end | |
| 5381 | end | |
| 5382 | end) | |
| 5383 | ||
| 5384 | addcmd('visible', 'make a player visible',{},
| |
| 5385 | function(args, speaker) | |
| 5386 | local players = getPlayer(args[1], speaker) | |
| 5387 | for i, v in pairs(players) do | |
| 5388 | for k, v2 in pairs(_char(v):GetChildren()) do | |
| 5389 | if v2.className == "Part" then | |
| 5390 | if v2.Name ~= "HumanoidRootPart" then v2.Transparency = 0 end elseif v2.className == "Accessory" then | |
| 5391 | if v2:FindFirstChild("Handle") then v2.Handle.Transparency = 0 end
| |
| 5392 | end | |
| 5393 | if v2:FindFirstChild("face") then
| |
| 5394 | v2.face.Transparency = 0 | |
| 5395 | end | |
| 5396 | end | |
| 5397 | end | |
| 5398 | end) | |
| 5399 | ||
| 5400 | addcmd('goto', 'go to a player',{},
| |
| 5401 | function(args, speaker) | |
| 5402 | local players = getPlayer(args[1], speaker) | |
| 5403 | if players ~= nil and _char(players[1]):FindFirstChild("HumanoidRootPart") then
| |
| 5404 | speaker.Character.HumanoidRootPart.CFrame = _char(players[1]).HumanoidRootPart.CFrame | |
| 5405 | end | |
| 5406 | end) | |
| 5407 | ||
| 5408 | addcmd('bring', 'bring a player to you',{},
| |
| 5409 | function(args, speaker) | |
| 5410 | local players = getPlayer(args[1], speaker) | |
| 5411 | for i,v in pairs(players) do | |
| 5412 | if _char(v):FindFirstChild("HumanoidRootPart") then
| |
| 5413 | _char(v).HumanoidRootPart.CFrame = speaker.Character.HumanoidRootPart.CFrame | |
| 5414 | end | |
| 5415 | end | |
| 5416 | end) | |
| 5417 | ||
| 5418 | addcmd('tp', 'teleport player 1 to player 2',{},
| |
| 5419 | function(args, speaker) | |
| 5420 | local players1=getPlayer(args[1], speaker) | |
| 5421 | local players2=getPlayer(args[2], speaker) | |
| 5422 | if not players2[1] then return end | |
| 5423 | for i,v in pairs(players1) do | |
| 5424 | if _char(v):FindFirstChild("HumanoidRootPart") and _char(players2[1]):FindFirstChild("HumanoidRootPart") then
| |
| 5425 | _char(v).HumanoidRootPart.CFrame = _char(players2[1]).HumanoidRootPart.CFrame | |
| 5426 | wait(0.1) | |
| 5427 | _char(v).HumanoidRootPart.CFrame = _char(players2[1]).HumanoidRootPart.CFrame | |
| 5428 | end | |
| 5429 | end | |
| 5430 | end) | |
| 5431 | ||
| 5432 | addcmd('charplr','charplr [plr] [plr]',{'cp'},
| |
| 5433 | function(args, speaker) | |
| 5434 | local players1, players2 = getPlayer(args[1], speaker), getPlayer(args[2], speaker) | |
| 5435 | for i,v in pairs(players1) do for a,b in pairs(players2) do | |
| 5436 | if _players[v].Character and _players[b].Character then | |
| 5437 | _players[v].CharacterAppearanceId = _players[b].userId | |
| 5438 | _players[v].Character:BreakJoints() | |
| 5439 | end | |
| 5440 | end | |
| 5441 | end | |
| 5442 | end) | |
| 5443 | ||
| 5444 | addcmd('char', 'change a players appearance',{},
| |
| 5445 | function(args, speaker) | |
| 5446 | local players = getPlayer(args[1], speaker) | |
| 5447 | if not args[1]or not args[2]then return end | |
| 5448 | local id=args[2] | |
| 5449 | if players ~= nil then | |
| 5450 | for i,v in pairs(players) do | |
| 5451 | gPlayers[v].CharacterAppearanceId = id | |
| 5452 | gPlayers[v].Character:BreakJoints() | |
| 5453 | end | |
| 5454 | end | |
| 5455 | end) | |
| 5456 | ||
| 5457 | addcmd('unchar', 'change a players appearance to default',{'nochar','uncp','nocp','uncharplr','nocharplr'},
| |
| 5458 | function(args, speaker) | |
| 5459 | local players = getPlayer(args[1], speaker) | |
| 5460 | if players ~= nil then | |
| 5461 | for i,v in pairs(players) do | |
| 5462 | gPlayers[v].CharacterAppearanceId = 0 | |
| 5463 | if _char(v):FindFirstChild("Head") then
| |
| 5464 | _char(v).Head:Destroy() | |
| 5465 | end | |
| 5466 | end | |
| 5467 | end | |
| 5468 | end) | |
| 5469 | ||
| 5470 | addcmd('speed', 'change a players walkspeed',{'ws'},
| |
| 5471 | function(args, speaker) | |
| 5472 | local players = getPlayer(args[1], speaker) | |
| 5473 | if not args[1]or not args[2]then return end | |
| 5474 | local num=args[2] | |
| 5475 | for i,v in pairs(players) do | |
| 5476 | if _char(v):FindFirstChild("Humanoid") then
| |
| 5477 | _char(v).Humanoid.WalkSpeed=tonumber(num) | |
| 5478 | end | |
| 5479 | end | |
| 5480 | end) | |
| 5481 | ||
| 5482 | addcmd('jpower', 'change a players jump height',{'grav','jumppower'},
| |
| 5483 | function(args, speaker) | |
| 5484 | local players = getPlayer(args[1], speaker) | |
| 5485 | if not args[1]or not args[2]then return end | |
| 5486 | local num=args[2] | |
| 5487 | for i,v in pairs(players) do | |
| 5488 | if _char(v):FindFirstChild("Humanoid") then
| |
| 5489 | _char(v).Humanoid.JumpPower=tonumber(num) | |
| 5490 | end | |
| 5491 | end | |
| 5492 | end) | |
| 5493 | ||
| 5494 | addcmd('confuse', 'confusing...',{},
| |
| 5495 | function(args, speaker) | |
| 5496 | local players = getPlayer(args[1], speaker) | |
| 5497 | for i,v in pairs(players) do | |
| 5498 | spawn(function() | |
| 5499 | if _char(v):FindFirstChild("Humanoid") then
| |
| 5500 | _char(v).Humanoid.Name = "ConfusedNigga" | |
| 5501 | while true do | |
| 5502 | _char(v).ConfusedNigga.CameraOffset = Vector3.new(2, 4, 6) | |
| 5503 | _char(v).ConfusedNigga.WalkToPoint = Vector3.new(math.random(1,100), math.random(1,100), math.random(1,100)) | |
| 5504 | wait(0.1) | |
| 5505 | end | |
| 5506 | ||
| 5507 | end | |
| 5508 | end) | |
| 5509 | end | |
| 5510 | end) | |
| 5511 | ||
| 5512 | addcmd('unconfuse', 'not confusing...',{},
| |
| 5513 | function(args, speaker) | |
| 5514 | local players = getPlayer(args[1], speaker) | |
| 5515 | for i,v in pairs(players) do | |
| 5516 | spawn(function() | |
| 5517 | if _char(v):FindFirstChild("ConfusedNigga") then
| |
| 5518 | _char(v).ConfusedNigga.Name = "Humanoid" | |
| 5519 | wait(0.3) | |
| 5520 | _char(v).Humanoid.CameraOffset = Vector3.new(0, 0, 0) | |
| 5521 | ||
| 5522 | end | |
| 5523 | end) | |
| 5524 | end | |
| 5525 | end) | |
| 5526 | ||
| 5527 | addcmd('cripple', 'cripples a player xddd',{'stun'},
| |
| 5528 | function(args, speaker) | |
| 5529 | local players = getPlayer(args[1], speaker) | |
| 5530 | for i,v in pairs(players) do | |
| 5531 | if _char(v):FindFirstChild("Humanoid") then
| |
| 5532 | _char(v).Humanoid.PlatformStand = true | |
| 5533 | end | |
| 5534 | end | |
| 5535 | end) | |
| 5536 | ||
| 5537 | addcmd('uncripple', 'un cripples a player xddd',{'unstun'},
| |
| 5538 | function(args, speaker) | |
| 5539 | local players = getPlayer(args[1], speaker) | |
| 5540 | for i,v in pairs(players) do | |
| 5541 | if _char(v):FindFirstChild("Humanoid") then
| |
| 5542 | _char(v).Humanoid.PlatformStand = false | |
| 5543 | end | |
| 5544 | end | |
| 5545 | end) | |
| 5546 | ||
| 5547 | addcmd('hipheight', 'adjusts hip height',{'hheight'},
| |
| 5548 | function(args, speaker) | |
| 5549 | local players = getPlayer(args[1], speaker) | |
| 5550 | for i,v in pairs(players) do | |
| 5551 | if _char(v):FindFirstChild("Humanoid") then
| |
| 5552 | _char(v).Humanoid.HipHeight = args[2] | |
| 5553 | end | |
| 5554 | end | |
| 5555 | end) | |
| 5556 | ||
| 5557 | addcmd('time', 'change the time of day',{},
| |
| 5558 | function(args, speaker) | |
| 5559 | if not args[1]then return end | |
| 5560 | local time_=tonumber(args[1]) | |
| 5561 | Notify('Time set to ' .. args[1])
| |
| 5562 | game.Lighting:SetMinutesAfterMidnight(time_*60) | |
| 5563 | end) | |
| 5564 | ||
| 5565 | addcmd('kick', 'kick a player',{},
| |
| 5566 | function(args, speaker) | |
| 5567 | local players = getPlayer(args[1], speaker) | |
| 5568 | for i,v in pairs(players) do | |
| 5569 | if args[1] == "all" then | |
| 5570 | Notify('Kicked everyone')
| |
| 5571 | elseif args[1] == "others" then | |
| 5572 | Notify('Kicked others')
| |
| 5573 | elseif args[1] == "friends" then | |
| 5574 | Notify('Kicked friends')
| |
| 5575 | elseif args[1] == "nonfriends" then | |
| 5576 | Notify('Kicked non friends')
| |
| 5577 | elseif args[1] == "team" then | |
| 5578 | Notify('Kicked your team')
| |
| 5579 | elseif args[1] == "nonteam" then | |
| 5580 | Notify('Kicked the opposing team')
| |
| 5581 | elseif args[1] == "guests" then | |
| 5582 | Notify('Kicked guests')
| |
| 5583 | elseif args[1] == "nonadmins" then | |
| 5584 | Notify('Kicked nonadmins')
| |
| 5585 | else | |
| 5586 | Notify('Kicked ' .. gPlayers[v].Name)
| |
| 5587 | end | |
| 5588 | spawn(function() | |
| 5589 | function Kick(PLAYER) | |
| 5590 | if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') then
| |
| 5591 | PLAYER.Character.HumanoidRootPart.Position = Vector3.new(math.random(999000, 1001000), 10000, 0) | |
| 5592 | local Plat = Instance.new('SkateboardPlatform', PLAYER.Character) Plat.Position = PLAYER.Character.HumanoidRootPart.Position
| |
| 5593 | Plat.Name = 'IYkick' | |
| 5594 | Plat.Size = Vector3.new(100, 1, 100) | |
| 5595 | local PART = Instance.new('Part', PLAYER.Character)
| |
| 5596 | PART.Position = Plat.Position - Vector3.new(0, 3, 0) | |
| 5597 | PART.Size = Vector3.new(100, 1, 100) | |
| 5598 | PART.Anchored = true | |
| 5599 | ||
| 5600 | PART.Transparency = 1 | |
| 5601 | Plat.Transparency = 1 | |
| 5602 | ||
| 5603 | repeat wait(1) | |
| 5604 | if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') then
| |
| 5605 | Plat.Position = PLAYER.Character.HumanoidRootPart.Position | |
| 5606 | end | |
| 5607 | Kick(PLAYER) | |
| 5608 | until not game.Players:findFirstChild(PLAYER) | |
| 5609 | end | |
| 5610 | end | |
| 5611 | Kick(gPlayers[v]) | |
| 5612 | end) | |
| 5613 | end | |
| 5614 | end) | |
| 5615 | ||
| 5616 | addcmd('serverlock', 'lock teh server',{'slock'},
| |
| 5617 | function(args, speaker) | |
| 5618 | slock = true | |
| 5619 | Notify('Locked Server')
| |
| 5620 | end) | |
| 5621 | ||
| 5622 | addcmd('unserverlock', 'unlock teh server',{'unslock'},
| |
| 5623 | function(args, speaker) | |
| 5624 | slock = false | |
| 5625 | Notify('Unlocked Server')
| |
| 5626 | end) | |
| 5627 | ||
| 5628 | addcmd('unlockws', 'unlock the whole workspace',{'unlock'},
| |
| 5629 | function(args, speaker) | |
| 5630 | Notify('Workspace unlocked')
| |
| 5631 | wait(1) | |
| 5632 | local function unlock(instance) | |
| 5633 | for i,v in pairs(instance:GetChildren()) do | |
| 5634 | if v:IsA("BasePart") then
| |
| 5635 | v.Locked = false | |
| 5636 | end | |
| 5637 | unlock(v) | |
| 5638 | end | |
| 5639 | end | |
| 5640 | unlock(workspace) | |
| 5641 | end) | |
| 5642 | ||
| 5643 | addcmd('lockws', 'lock the whole workspace',{'lock'},
| |
| 5644 | function(args, speaker) | |
| 5645 | Notify('Workspace locked')
| |
| 5646 | wait(1) | |
| 5647 | local function lock(instance) | |
| 5648 | for i,v in pairs(instance:GetChildren()) do | |
| 5649 | if v:IsA("BasePart") then
| |
| 5650 | v.Locked = true | |
| 5651 | end | |
| 5652 | lock(v) | |
| 5653 | end | |
| 5654 | end | |
| 5655 | lock(workspace) | |
| 5656 | end) | |
| 5657 | ||
| 5658 | addcmd('unanchorws', 'unanchor the whole workspace',{'unanchor', 'unanchr'},
| |
| 5659 | function(args, speaker) | |
| 5660 | local function unanchor(instance) | |
| 5661 | for i,v in pairs(instance:GetChildren()) do | |
| 5662 | if v:IsA("BasePart") then
| |
| 5663 | v.Anchored=false | |
| 5664 | end | |
| 5665 | unanchor(v) | |
| 5666 | end | |
| 5667 | end | |
| 5668 | unanchor(workspace) | |
| 5669 | end) | |
| 5670 | ||
| 5671 | addcmd('anchorws', 'unanchor the whole workspace',{'unanchor', 'anchor'},
| |
| 5672 | function(args, speaker) | |
| 5673 | local function anchor(instance) | |
| 5674 | for i,v in pairs(instance:GetChildren()) do | |
| 5675 | if v:IsA("BasePart") then
| |
| 5676 | v.Anchored=true | |
| 5677 | end | |
| 5678 | anchor(v) | |
| 5679 | end | |
| 5680 | end | |
| 5681 | anchor(workspace) | |
| 5682 | end) | |
| 5683 | ||
| 5684 | addcmd('headshake', 'shakes a players head',{},
| |
| 5685 | function(args, speaker) | |
| 5686 | local players = getPlayer(args[1], speaker) | |
| 5687 | for i,v in pairs(players) do | |
| 5688 | spawn(function() | |
| 5689 | local shaken = gPlayers[v].Character | |
| 5690 | for X = 1, math.huge, 0.2 do | |
| 5691 | wait() | |
| 5692 | shaken.Torso.Neck.C0 = CFrame.new(math.sin(X) / 1,1.5,0) | |
| 5693 | shaken.Torso.Neck.C1 = CFrame.new(0,0,0) | |
| 5694 | end | |
| 5695 | for X = 1, math.huge, 0.1 do | |
| 5696 | wait() | |
| 5697 | shaken.Torso.Neck.C0 = CFrame.new(0,1.5,0) * CFrame.fromAxisAngle(Vector3.new(0,1,0), X) | |
| 5698 | shaken.Torso.Neck.C1 = CFrame.new(0,0,0) | |
| 5699 | end | |
| 5700 | for _,c in pairs(game.Players:GetChildren()) do | |
| 5701 | c.Character.Head.Mesh.Scale = Vector3.new(100, 100, 100) | |
| 5702 | end | |
| 5703 | for _,c in pairs(game.Players:GetChildren()) do | |
| 5704 | c.Character.Head.Mesh.Scale = Vector3.new(1.25, 1.25, 1.25) | |
| 5705 | end | |
| 5706 | end) | |
| 5707 | end | |
| 5708 | end) | |
| 5709 | ||
| 5710 | addcmd('explorer', 'opens DEX',{},
| |
| 5711 | function(args, speaker) | |
| 5712 | loadstring(game:GetObjects("rbxassetid://492005721")[1].Source)()
| |
| 5713 | end) | |
| 5714 | ||
| 5715 | addcmd('firstp', 'forces player to go into first person',{},
| |
| 5716 | function(args, speaker) | |
| 5717 | local players = getPlayer(args[1], speaker) | |
| 5718 | for i,v in pairs(players)do | |
| 5719 | gPlayers[v].CameraMode = "LockFirstPerson" | |
| 5720 | end | |
| 5721 | end) | |
| 5722 | ||
| 5723 | addcmd('base', 'spawns a base',{},
| |
| 5724 | function(args, speaker) | |
| 5725 | local pt = Instance.new("Part")
| |
| 5726 | pt.BrickColor = BrickColor.new("Silver")
| |
| 5727 | pt.Anchored = true | |
| 5728 | pt.CanCollide = true | |
| 5729 | pt.BottomSurface = "Weld" | |
| 5730 | pt.Parent = workspace | |
| 5731 | pt.Name = (math.random(1,1000000)) | |
| 5732 | pt.Size = Vector3.new(1000, 1, 1000) | |
| 5733 | pt.Locked = true | |
| 5734 | Notify('Created new base')
| |
| 5735 | end) | |
| 5736 | ||
| 5737 | addcmd('fix', 'restores lighting and what not',{},
| |
| 5738 | function(args, speaker) | |
| 5739 | game.Lighting.Ambient = origsettings.abt | |
| 5740 | game.Lighting.Brightness = origsettings.brt | |
| 5741 | game.Lighting.TimeOfDay = origsettings.time | |
| 5742 | game.Lighting.FogColor = origsettings.fclr | |
| 5743 | game.Lighting.FogEnd = origsettings.fe | |
| 5744 | game.Lighting.FogStart = origsettings.fs | |
| 5745 | local function dels(instance) | |
| 5746 | for i,v in pairs(instance:GetChildren())do | |
| 5747 | if v:IsA'Sound'then v:Destroy()end | |
| 5748 | dels(v) | |
| 5749 | end | |
| 5750 | end | |
| 5751 | dels(workspace) | |
| 5752 | for i,v in pairs(game.Lighting:GetChildren()) do | |
| 5753 | if v:IsA('Sky') then
| |
| 5754 | v:Remove() | |
| 5755 | end | |
| 5756 | end | |
| 5757 | for i,v in pairs(game.Lighting:GetChildren()) do | |
| 5758 | if v:IsA('BloomEffect') then
| |
| 5759 | v:Remove() | |
| 5760 | end | |
| 5761 | end | |
| 5762 | for i,v in pairs(game.Lighting:GetChildren()) do | |
| 5763 | if v:IsA('BlurEffect') then
| |
| 5764 | v:Remove() | |
| 5765 | end | |
| 5766 | end | |
| 5767 | for i,v in pairs(game.Lighting:GetChildren()) do | |
| 5768 | if v:IsA('ColorCorrectionEffect') then
| |
| 5769 | v:Remove() | |
| 5770 | end | |
| 5771 | end | |
| 5772 | for i,v in pairs(game.Lighting:GetChildren()) do | |
| 5773 | if v:IsA('SunRaysEffect') then
| |
| 5774 | v:Remove() | |
| 5775 | end | |
| 5776 | end | |
| 5777 | end) | |
| 5778 | ||
| 5779 | addcmd('thirdp', 'allows player to go into third person',{},
| |
| 5780 | function(args, speaker) | |
| 5781 | local players = getPlayer(args[1], speaker) | |
| 5782 | for i,v in pairs(players)do | |
| 5783 | gPlayers[v].CameraMode = "Classic" | |
| 5784 | end | |
| 5785 | end) | |
| 5786 | ||
| 5787 | addcmd('chat', 'forces player to chat what you input',{},
| |
| 5788 | function(args, speaker) | |
| 5789 | local players = getPlayer(args[1], speaker) | |
| 5790 | for i,v in pairs(players)do | |
| 5791 | game.Chat:Chat(gPlayers[v].Character.Head, GLS(false, 1)) | |
| 5792 | end | |
| 5793 | end) | |
| 5794 | ||
| 5795 | addcmd('name', 'names player',{},
| |
| 5796 | function(args, speaker) | |
| 5797 | local players = getPlayer(args[1], speaker) | |
| 5798 | for i,v in pairs(players) do | |
| 5799 | for a, mod in pairs(gPlayers[v].Character:children()) do | |
| 5800 | if mod:FindFirstChild("TAG") then
| |
| 5801 | gPlayers[v].Character.Head.Transparency = 0 | |
| 5802 | mod:Destroy() | |
| 5803 | end | |
| 5804 | end | |
| 5805 | ||
| 5806 | local char = gPlayers[v].Character | |
| 5807 | local model = Instance.new("Model", char)
| |
| 5808 | local clone = char.Head:Clone() | |
| 5809 | local hum = Instance.new("Humanoid", model)
| |
| 5810 | local weld = Instance.new("Weld", clone)
| |
| 5811 | model.Name = GLS(false, 1) | |
| 5812 | clone.Parent = model | |
| 5813 | hum.Name = "TAG" | |
| 5814 | hum.MaxHealth = 100 | |
| 5815 | hum.Health = 100 | |
| 5816 | weld.Part0 = clone | |
| 5817 | weld.Part1 = char.Head | |
| 5818 | char.Head.Transparency = 1 | |
| 5819 | end | |
| 5820 | end) | |
| 5821 | ||
| 5822 | addcmd('unname', 'unnames player',{},
| |
| 5823 | function(args, speaker) | |
| 5824 | local players = getPlayer(args[1], speaker) | |
| 5825 | local name = (args[2]) | |
| 5826 | for i,v in pairs(players) do | |
| 5827 | for a, mod in pairs(gPlayers[v].Character:children()) do | |
| 5828 | if mod:FindFirstChild("TAG") then
| |
| 5829 | gPlayers[v].Character.Head.Transparency = 0 | |
| 5830 | mod:Destroy() | |
| 5831 | end | |
| 5832 | end | |
| 5833 | end | |
| 5834 | end) | |
| 5835 | ||
| 5836 | addcmd('damage', 'damages a player',{},
| |
| 5837 | function(args, speaker) | |
| 5838 | local players = getPlayer(args[1], speaker) | |
| 5839 | for i,v in pairs(players) do | |
| 5840 | gPlayers[v].Character.Humanoid.Health = gPlayers[v].Character.Humanoid.Health - 25 | |
| 5841 | end | |
| 5842 | end) | |
| 5843 | ||
| 5844 | addcmd('view', 'views player',{},
| |
| 5845 | function(args, speaker) | |
| 5846 | local players = getPlayer(args[1], speaker) | |
| 5847 | for i,v in pairs(players) do | |
| 5848 | game.Workspace.CurrentCamera.CameraSubject = gPlayers[v].Character | |
| 5849 | Notify('Viewing ' .. gPlayers[v].Name)
| |
| 5850 | end | |
| 5851 | end) | |
| 5852 | ||
| 5853 | addcmd('unview', 'stops viewing player',{},
| |
| 5854 | function() | |
| 5855 | game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character | |
| 5856 | Notify('View turned off')
| |
| 5857 | end) | |
| 5858 | ||
| 5859 | addcmd('nolimbs', 'removes limbs from player',{},
| |
| 5860 | function(args, speaker) | |
| 5861 | local players = getPlayer(args[1], speaker) | |
| 5862 | for i,v in pairs(players) do | |
| 5863 | for i,v in pairs(gPlayers[v].Character:GetChildren()) do | |
| 5864 | if v:IsA("BasePart") and
| |
| 5865 | v.Name == "Right Leg" or | |
| 5866 | v.Name == "Left Leg" or | |
| 5867 | v.Name == "Right Arm" or | |
| 5868 | v.Name == "Left Arm" then | |
| 5869 | v:Remove() | |
| 5870 | end | |
| 5871 | end | |
| 5872 | end | |
| 5873 | end) | |
| 5874 | ||
| 5875 | addcmd('box', 'creates a box around player',{},
| |
| 5876 | function(args, speaker) | |
| 5877 | local players = getPlayer(args[1], speaker) | |
| 5878 | for i,v in pairs(players)do | |
| 5879 | local pchar=_char(v) | |
| 5880 | local SB = Instance.new("SelectionBox", pchar)
| |
| 5881 | SB.Adornee = SB.Parent | |
| 5882 | end | |
| 5883 | end) | |
| 5884 | ||
| 5885 | addcmd('nobox', 'takes away box from player',{'unbox'},
| |
| 5886 | function(args, speaker) | |
| 5887 | local players = getPlayer(args[1], speaker) | |
| 5888 | for i,v in pairs(players)do | |
| 5889 | local pchar=_char(v) | |
| 5890 | for i,v in pairs(gPlayers[v].Character:GetChildren()) do | |
| 5891 | if v:IsA("SelectionBox") then
| |
| 5892 | v:Destroy() | |
| 5893 | end | |
| 5894 | end | |
| 5895 | end | |
| 5896 | end) | |
| 5897 | ||
| 5898 | addcmd('ghost', 'ghostifys player',{},
| |
| 5899 | function(args, speaker) | |
| 5900 | local players = getPlayer(args[1], speaker) | |
| 5901 | for i,v in pairs(players)do | |
| 5902 | local pchar=gPlayers[v].Character | |
| 5903 | pchar.Head.Transparency = 0.5 | |
| 5904 | pchar.Torso.Transparency = 0.5 | |
| 5905 | pchar["Left Arm"].Transparency = 0.5 | |
| 5906 | pchar["Right Arm"].Transparency = 0.5 | |
| 5907 | pchar["Left Leg"].Transparency = 0.5 | |
| 5908 | pchar["Right Leg"].Transparency = 0.5 | |
| 5909 | pchar.Head.face.Transparency = 0.5 | |
| 5910 | end | |
| 5911 | end) | |
| 5912 | ||
| 5913 | addcmd('sphere', 'puts sphere around player',{},
| |
| 5914 | function(args, speaker) | |
| 5915 | local players = getPlayer(args[1], speaker) | |
| 5916 | for i,v in pairs(players)do | |
| 5917 | local pchar=gPlayers[v].Character | |
| 5918 | local SS = Instance.new("SelectionSphere", pchar)
| |
| 5919 | SS.Adornee = SS.Parent | |
| 5920 | end | |
| 5921 | end) | |
| 5922 | ||
| 5923 | addcmd('sphere', 'puts sphere around player',{},
| |
| 5924 | function(args, speaker) | |
| 5925 | local players = getPlayer(args[1], speaker) | |
| 5926 | for i,v in pairs(players)do | |
| 5927 | local pchar=gPlayers[v].Character | |
| 5928 | local SS = Instance.new("SelectionSphere", pchar)
| |
| 5929 | SS.Adornee = SS.Parent | |
| 5930 | end | |
| 5931 | end) | |
| 5932 | ||
| 5933 | addcmd('unsphere', 'removes sphere around player',{},
| |
| 5934 | function(args, speaker) | |
| 5935 | local players = getPlayer(args[1], speaker) | |
| 5936 | for i,v in pairs(players)do | |
| 5937 | local pchar=_char(v) | |
| 5938 | for i,v in pairs(gPlayers[v].Character:GetChildren()) do | |
| 5939 | if v:IsA("SelectionSphere") then
| |
| 5940 | v:Destroy() | |
| 5941 | end | |
| 5942 | end | |
| 5943 | end | |
| 5944 | end) | |
| 5945 | ||
| 5946 | addcmd('ambient','changes ambient',{},
| |
| 5947 | function(args, speaker) | |
| 5948 | game.Lighting.Ambient = Color3.new(args[1],args[2],args[3]) | |
| 5949 | end) | |
| 5950 | ||
| 5951 | addcmd('fogend','changes the fogend',{},
| |
| 5952 | function(args, speaker) | |
| 5953 | game.Lighting.FogEnd = args[1] | |
| 5954 | end) | |
| 5955 | ||
| 5956 | addcmd('fogcolor','changes the fogs color',{},
| |
| 5957 | function(args, speaker) | |
| 5958 | game.Lighting.FogColor = Color3.new(args[1],args[2],args[3]) | |
| 5959 | end) | |
| 5960 | ||
| 5961 | injail = {}
| |
| 5962 | addcmd('jail','jails player',{},
| |
| 5963 | function(args, speaker) | |
| 5964 | local players = getPlayer(args[1], speaker) | |
| 5965 | for i,v in pairs(players)do | |
| 5966 | if FindTable(injail, _players[v].Name) then return end | |
| 5967 | table.insert(injail, _players[v].Name) | |
| 5968 | local pchar=gPlayers[v].Character | |
| 5969 | local J = DATA.JAIL:Clone() J.Parent = workspace J:MoveTo(pchar.HumanoidRootPart.Position) J.Name = 'JAIL_' .. _players[v].Name | |
| 5970 | repeat wait(0.5) | |
| 5971 | pchar = _players[v].Character if pchar and pchar:FindFirstChild('HumanoidRootPart') and J:FindFirstChild('MAIN') then pchar.HumanoidRootPart.CFrame = J.MAIN.CFrame + Vector3.new(0, 1, 0) end
| |
| 5972 | until not FindTable(injail, _players[v].Name) | |
| 5973 | end | |
| 5974 | end) | |
| 5975 | ||
| 5976 | addcmd('unjail','unjails player',{},
| |
| 5977 | function(args, speaker) | |
| 5978 | local players = getPlayer(args[1], speaker) | |
| 5979 | for i,v in pairs(players)do | |
| 5980 | for a,b in pairs(injail) do if b == _players[v].Name then table.remove(injail, a) end end | |
| 5981 | game.Workspace["JAIL_" .. gPlayers[v].Name]:Destroy() | |
| 5982 | end | |
| 5983 | end) | |
| 5984 | ||
| 5985 | strobe = false | |
| 5986 | addcmd('strobe','makes the server flash',{'flash'},
| |
| 5987 | function(args, speaker) | |
| 5988 | if strobe == false then | |
| 5989 | strobep = Instance.new("ColorCorrectionEffect")
| |
| 5990 | strobep.Brightness = 1 | |
| 5991 | strobep.Parent = game.Lighting | |
| 5992 | strobe = true | |
| 5993 | repeat wait(0.01) | |
| 5994 | strobep.Enabled = true | |
| 5995 | wait(0.01) | |
| 5996 | strobep.Enabled = false | |
| 5997 | until strobe == false | |
| 5998 | end | |
| 5999 | end) | |
| 6000 | ||
| 6001 | addcmd('unstrobe','makes the server flash',{'noflash','nostrobe','unflash','unstrobe'},
| |
| 6002 | function(args, speaker) | |
| 6003 | strobe = false | |
| 6004 | strobep:Destroy() | |
| 6005 | end) | |
| 6006 | ||
| 6007 | addcmd('shutdown', 'shuts the server down',{},
| |
| 6008 | function(args, speaker) | |
| 6009 | Notify('Shutting Down...')
| |
| 6010 | wait(1) | |
| 6011 | workspace.Gravity = 1/0*0 | |
| 6012 | end) | |
| 6013 | ||
| 6014 | addcmd('animation','makes player animate',{'anim'},
| |
| 6015 | function(args, speaker) | |
| 6016 | local players = getPlayer(args[1], speaker) | |
| 6017 | for i,v in pairs(players)do | |
| 6018 | local pchar = gPlayers[v].Character | |
| 6019 | local ID = args[2] | |
| 6020 | ||
| 6021 | if args[2] == "climb" then | |
| 6022 | ID = "180436334" | |
| 6023 | end | |
| 6024 | if args[2] == "fall" then | |
| 6025 | ID = "180436148" | |
| 6026 | end | |
| 6027 | if args[2] == "jump" then | |
| 6028 | ID = "125750702" | |
| 6029 | end | |
| 6030 | if args[2] == "sit" then | |
| 6031 | ID = "178130996" | |
| 6032 | end | |
| 6033 | for _,x in pairs(gPlayers[v].Character.Animate:GetChildren()) do | |
| 6034 | if x:IsA("StringValue") then
| |
| 6035 | for _,c in pairs(x:GetChildren()) do | |
| 6036 | if c:IsA("Animation") then
| |
| 6037 | c.AnimationId = "rbxassetid://" .. ID | |
| 6038 | end | |
| 6039 | end | |
| 6040 | end | |
| 6041 | end | |
| 6042 | end | |
| 6043 | end) | |
| 6044 | ||
| 6045 | addcmd('normal','turns player back to normal',{},
| |
| 6046 | function(args, speaker) | |
| 6047 | local players = getPlayer(args[1], speaker) | |
| 6048 | for i,v in pairs(players)do | |
| 6049 | local pchar = gPlayers[v].Character | |
| 6050 | ||
| 6051 | pchar.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0) | |
| 6052 | pchar.Torso["Right Shoulder"].C0 = CFrame.new(1,0.5,0) * CFrame.Angles(0,math.rad(90),0) | |
| 6053 | pchar.Torso["Left Shoulder"].C0 = CFrame.new(-1,0.5,0) * CFrame.Angles(0,math.rad(-90),0) | |
| 6054 | pchar.Torso["Right Hip"].C0 = CFrame.new(1,-1,0) * CFrame.Angles(0,math.rad(90),0) | |
| 6055 | pchar.Torso["Left Hip"].C0 = CFrame.new(-1,-1,0) * CFrame.Angles(0,math.rad(-90),0) | |
| 6056 | ||
| 6057 | for i,v in pairs(pchar.Head:GetChildren()) do | |
| 6058 | if v:IsA("SpecialMesh") then
| |
| 6059 | v:Destroy() | |
| 6060 | end | |
| 6061 | end | |
| 6062 | ||
| 6063 | for i,v in pairs(pchar:GetChildren()) do | |
| 6064 | if v:IsA("Shirt") then
| |
| 6065 | v:Destroy() | |
| 6066 | end | |
| 6067 | end | |
| 6068 | ||
| 6069 | for i,v in pairs(pchar:GetChildren()) do | |
| 6070 | if v:IsA("Pants") then
| |
| 6071 | v:Destroy() | |
| 6072 | end | |
| 6073 | end | |
| 6074 | ||
| 6075 | if Player.Character:FindFirstChild("Shirt Graphic") ~= nil then
| |
| 6076 | Player.Character["Shirt Graphic"].Graphic = "" | |
| 6077 | end | |
| 6078 | ||
| 6079 | local HeadMesh = Instance.new("SpecialMesh", pchar.Head)
| |
| 6080 | HeadMesh.MeshType = "Head" | |
| 6081 | HeadMesh.Scale = Vector3.new(1.25, 1.25, 1.25) | |
| 6082 | ||
| 6083 | pchar.Head.Transparency = 0 | |
| 6084 | pchar.Torso.Transparency = 0 | |
| 6085 | pchar["Left Arm"].Transparency = 0 | |
| 6086 | pchar["Right Arm"].Transparency = 0 | |
| 6087 | pchar["Left Leg"].Transparency = 0 | |
| 6088 | pchar["Right Leg"].Transparency = 0 | |
| 6089 | ||
| 6090 | for i,v in pairs(pchar.Head:GetChildren()) do | |
| 6091 | if v:IsA("Decal") then
| |
| 6092 | v:Destroy() | |
| 6093 | end | |
| 6094 | end | |
| 6095 | ||
| 6096 | local face = Instance.new("Decal", pchar.Head)
| |
| 6097 | face.Name = "face" | |
| 6098 | face.Texture = "rbxasset://textures/face.png" | |
| 6099 | face.Face = "Front" | |
| 6100 | ||
| 6101 | for i,v in pairs(pchar:GetChildren()) do | |
| 6102 | if v:IsA("Seat") then
| |
| 6103 | v:Destroy() | |
| 6104 | end | |
| 6105 | end | |
| 6106 | ||
| 6107 | for i,v in pairs(pchar.Torso:GetChildren()) do | |
| 6108 | if v:IsA("Weld") then
| |
| 6109 | v:Destroy() | |
| 6110 | end | |
| 6111 | end | |
| 6112 | ||
| 6113 | for i,v in pairs(pchar.Torso:GetChildren()) do | |
| 6114 | if v:IsA("SpecialMesh") then
| |
| 6115 | v:Destroy() | |
| 6116 | end | |
| 6117 | end | |
| 6118 | ||
| 6119 | pchar["Body Colors"].HeadColor = BrickColor.new("Cool yellow")
| |
| 6120 | pchar["Body Colors"].LeftArmColor = BrickColor.new("Cool yellow")
| |
| 6121 | pchar["Body Colors"].LeftLegColor = BrickColor.new("Medium blue")
| |
| 6122 | pchar["Body Colors"].RightArmColor = BrickColor.new("Cool yellow")
| |
| 6123 | pchar["Body Colors"].RightLegColor = BrickColor.new("Medium blue")
| |
| 6124 | pchar["Body Colors"].TorsoColor = BrickColor.new("Bright blue")
| |
| 6125 | for _,v in pairs(Player.Character:GetChildren()) do | |
| 6126 | if v:IsA("Accessory") then
| |
| 6127 | v:Destroy() | |
| 6128 | end | |
| 6129 | end | |
| 6130 | end | |
| 6131 | end) | |
| 6132 | ||
| 6133 | addcmd('creeper','make the player a creeper',{'crpr'},
| |
| 6134 | function(args, speaker) | |
| 6135 | local players = getPlayer(args[1], speaker) | |
| 6136 | for i,v in pairs(players)do | |
| 6137 | local pchar = gPlayers[v].Character | |
| 6138 | if gPlayers[v] and pchar and pchar:findFirstChild("Torso") then
| |
| 6139 | if pchar:FindFirstChild("Shirt") then
| |
| 6140 | pchar.Shirt.Parent = pchar.Torso | |
| 6141 | end | |
| 6142 | if pchar:FindFirstChild("Pants") then
| |
| 6143 | pchar.Pants.Parent = pchar.Torso | |
| 6144 | end | |
| 6145 | if pchar:FindFirstChild("Shirt Graphic") then
| |
| 6146 | pchar["Shirt Graphic"].Graphic = "" | |
| 6147 | end | |
| 6148 | for i,v in pairs(pchar:GetChildren()) do | |
| 6149 | if v:IsA("Accessory") then
| |
| 6150 | v:Destroy() | |
| 6151 | end | |
| 6152 | end | |
| 6153 | pchar.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0) | |
| 6154 | pchar.Torso["Right Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(90),0) | |
| 6155 | pchar.Torso["Left Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(-90),0) | |
| 6156 | pchar.Torso["Right Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(90),0) | |
| 6157 | pchar.Torso["Left Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(-90),0) | |
| 6158 | pchar["Body Colors"].HeadColor = BrickColor.new("Bright green")
| |
| 6159 | pchar["Body Colors"].LeftArmColor = BrickColor.new("Bright green")
| |
| 6160 | pchar["Body Colors"].LeftLegColor = BrickColor.new("Bright green")
| |
| 6161 | pchar["Body Colors"].RightArmColor = BrickColor.new("Bright green")
| |
| 6162 | pchar["Body Colors"].RightLegColor = BrickColor.new("Bright green")
| |
| 6163 | pchar["Body Colors"].TorsoColor = BrickColor.new("Bright green")
| |
| 6164 | end | |
| 6165 | end | |
| 6166 | end) | |
| 6167 | ||
| 6168 | addcmd('uncreeper','makes player back to normal',{},
| |
| 6169 | function(args, speaker) | |
| 6170 | local players = getPlayer(args[1], speaker) | |
| 6171 | for i,v in pairs(players)do | |
| 6172 | execCmd("normal " .. gPlayers[v].Name, Player)
| |
| 6173 | end | |
| 6174 | end) | |
| 6175 | ||
| 6176 | addcmd('crash','crashes a player',{},
| |
| 6177 | function(args, speaker) | |
| 6178 | local players = getPlayer(args[1], speaker) | |
| 6179 | for i,v in pairs(players)do | |
| 6180 | if args[1] == "all" then | |
| 6181 | Notify('Everyone has been crashed')
| |
| 6182 | elseif args[1] == "others" then | |
| 6183 | Notify('Crashed others')
| |
| 6184 | elseif args[1] == "friends" then | |
| 6185 | Notify('Crashed friends')
| |
| 6186 | elseif args[1] == "nonfriends" then | |
| 6187 | Notify('Crashed non friends')
| |
| 6188 | elseif args[1] == "team" then | |
| 6189 | Notify('Crashed your team')
| |
| 6190 | elseif args[1] == "nonteam" then | |
| 6191 | Notify('Crashed the opposing team')
| |
| 6192 | elseif args[1] == "guests" then | |
| 6193 | Notify('Crashed guests')
| |
| 6194 | elseif args[1] == "nonadmins" then | |
| 6195 | Notify('Crashed nonadmins')
| |
| 6196 | else | |
| 6197 | Notify(gPlayers[v].Name .. ' has been crashed') | |
| 6198 | end | |
| 6199 | wait(4) | |
| 6200 | local play = gPlayers[v] | |
| 6201 | if play ~= nil then | |
| 6202 | for i=1,3600 do | |
| 6203 | Instance.new("HopperBin",play.Backpack).Name = "nig"
| |
| 6204 | end | |
| 6205 | wait() | |
| 6206 | for i=1,3600 do | |
| 6207 | Instance.new("HopperBin",play.Backpack).Name = "nog"
| |
| 6208 | end | |
| 6209 | wait() | |
| 6210 | end | |
| 6211 | end | |
| 6212 | end) | |
| 6213 | ||
| 6214 | addcmd('shrek', 'makes player shrek',{},
| |
| 6215 | function(args, speaker) | |
| 6216 | local players = getPlayer(args[1], speaker) | |
| 6217 | for i,v in pairs(players) do | |
| 6218 | local pchar = gPlayers[v].Character | |
| 6219 | for i,v in pairs(pchar:GetChildren()) do | |
| 6220 | if v:IsA("Accessory") or v:IsA("CharacterMesh") or v:IsA("Shirt") or v:IsA("Pants")
| |
| 6221 | then | |
| 6222 | v:Destroy() | |
| 6223 | end | |
| 6224 | end | |
| 6225 | for i,v in pairs(pchar.Head:GetChildren()) do | |
| 6226 | if v:IsA("Decal") or v:IsA("SpecialMesh") then
| |
| 6227 | v:Destroy() | |
| 6228 | end | |
| 6229 | end | |
| 6230 | ||
| 6231 | local mesh = Instance.new("SpecialMesh", pchar.Head)
| |
| 6232 | mesh.MeshType = "FileMesh" | |
| 6233 | pchar.Head.Mesh.MeshId = "http://www.roblox.com/asset/?id=19999257" | |
| 6234 | pchar.Head.Mesh.Offset = Vector3.new(-0.1, 0.1, 0) | |
| 6235 | pchar.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=156397869" | |
| 6236 | ||
| 6237 | local Shirt = Instance.new("Shirt", gPlayers[v].Character)
| |
| 6238 | local Pants = Instance.new("Pants", gPlayers[v].Character)
| |
| 6239 | ||
| 6240 | Shirt.ShirtTemplate = "rbxassetid://133078194" | |
| 6241 | Pants.PantsTemplate = "rbxassetid://133078204" | |
| 6242 | end | |
| 6243 | end) | |
| 6244 | ||
| 6245 | addcmd('unshrek','makes player back to normal',{},
| |
| 6246 | function(args, speaker) | |
| 6247 | local players = getPlayer(args[1], speaker) | |
| 6248 | for i,v in pairs(players)do | |
| 6249 | execCmd("normal " .. gPlayers[v].Name, Player)
| |
| 6250 | end | |
| 6251 | end) | |
| 6252 | ||
| 6253 | addcmd('oof','good things happen',{},
| |
| 6254 | function(args, speaker) | |
| 6255 | local players = getPlayer(args[1], speaker) | |
| 6256 | for i,v in pairs(players)do | |
| 6257 | spawn(function() | |
| 6258 | if gPlayers[v].Character.Head:FindFirstChild("Died") then gPlayers[v].Character.Head.Died.Looped = true wait(0.1) gPlayers[v].Character.Head.Died.Playing = true
| |
| 6259 | gPlayers[v].Character.Head.Died.Volume = 10 | |
| 6260 | gPlayers[v].Character.Head.Died.Pitch = 0.5 | |
| 6261 | end | |
| 6262 | execCmd("size " .. gPlayers[v].Name .. ' -1')
| |
| 6263 | execCmd("hheight " .. gPlayers[v].Name .. ' 1000000000')
| |
| 6264 | wait(5) | |
| 6265 | execCmd("explode " .. gPlayers[v].Name)
| |
| 6266 | wait(0.1) | |
| 6267 | gPlayers[v].Character.Humanoid.Health = 0 | |
| 6268 | end) | |
| 6269 | end | |
| 6270 | end) | |
| 6271 | ||
| 6272 | addcmd('control','controls player',{},
| |
| 6273 | function(args, speaker) | |
| 6274 | local players = getPlayer(args[1], speaker) | |
| 6275 | for i,v in pairs(players)do | |
| 6276 | local pchar = gPlayers[v].Character | |
| 6277 | if gPlayers[v] and pchar then | |
| 6278 | pchar.Humanoid.PlatformStand = true | |
| 6279 | local w = Instance.new("Weld", Player.Character.Torso)
| |
| 6280 | w.Part0 = Player.Character.Torso | |
| 6281 | w.Part1 = pchar.Torso | |
| 6282 | local w2 = Instance.new("Weld", Player.Character.Head)
| |
| 6283 | w2.Part0 = Player.Character.Head | |
| 6284 | w2.Part1 = pchar.Head | |
| 6285 | local w3 = Instance.new("Weld", Player.Character:findFirstChild("Right Arm"))
| |
| 6286 | w3.Part0 = Player.Character:findFirstChild("Right Arm")
| |
| 6287 | w3.Part1 = pchar:findFirstChild("Right Arm")
| |
| 6288 | local w4 = Instance.new("Weld", Player.Character:findFirstChild("Left Arm"))
| |
| 6289 | w4.Part0 = Player.Character:findFirstChild("Left Arm")
| |
| 6290 | w4.Part1 = pchar:findFirstChild("Left Arm")
| |
| 6291 | local w5 = Instance.new("Weld", Player.Character:findFirstChild("Right Leg"))
| |
| 6292 | w5.Part0 = Player.Character:findFirstChild("Right Leg")
| |
| 6293 | w5.Part1 = pchar:findFirstChild("Right Leg")
| |
| 6294 | local w6 = Instance.new("Weld", Player.Character:findFirstChild("Left Leg"))
| |
| 6295 | w6.Part0 = Player.Character:findFirstChild("Left Leg")
| |
| 6296 | w6.Part1 = pchar:findFirstChild("Left Leg")
| |
| 6297 | char.Head.face:Destroy() | |
| 6298 | for i,v in pairs(pchar:GetChildren()) do | |
| 6299 | if v:IsA("BasePart") then
| |
| 6300 | v.CanCollide = false | |
| 6301 | end | |
| 6302 | end | |
| 6303 | for i,v in pairs(char:GetChildren()) do | |
| 6304 | if v:IsA("BasePart") then
| |
| 6305 | v.Transparency = 1 | |
| 6306 | elseif v:IsA("Accessory") then
| |
| 6307 | v:Destroy() | |
| 6308 | end | |
| 6309 | end | |
| 6310 | pchar.Parent = char | |
| 6311 | pchar.Humanoid.Changed:connect(function() | |
| 6312 | pchar.Humanoid.PlatformStand = true | |
| 6313 | end) | |
| 6314 | end | |
| 6315 | end | |
| 6316 | end) | |
| 6317 | ||
| 6318 | addcmd('nuke','nukes player',{},
| |
| 6319 | function(args, speaker) | |
| 6320 | local players = getPlayer(args[1], speaker) | |
| 6321 | for i,v in pairs(players)do | |
| 6322 | local pchar = gPlayers[v].Character | |
| 6323 | if gPlayers[v] and pchar and pchar:FindFirstChild("HumanoidRootPart") then
| |
| 6324 | local nuke = Instance.new("Part", game.Workspace)
| |
| 6325 | nuke.Anchored = true | |
| 6326 | nuke.CanCollide = false | |
| 6327 | nuke.FormFactor = "Symmetric" | |
| 6328 | nuke.Shape = "Ball" | |
| 6329 | nuke.Size = Vector3.new(1,1,1) | |
| 6330 | nuke.BrickColor = BrickColor.new("New Yeller")
| |
| 6331 | nuke.Transparency = 0.5 | |
| 6332 | nuke.Reflectance = 0.2 | |
| 6333 | nuke.TopSurface = 0 | |
| 6334 | nuke.BottomSurface = 0 | |
| 6335 | nuke.Touched:connect(function (hit) | |
| 6336 | if hit and hit.Parent then | |
| 6337 | local boom = Instance.new("Explosion", game.Workspace)
| |
| 6338 | boom.Position = hit.Position | |
| 6339 | boom.BlastRadius = 11 | |
| 6340 | boom.BlastPressure = math.huge | |
| 6341 | end | |
| 6342 | end) | |
| 6343 | local CF = pchar.HumanoidRootPart.CFrame | |
| 6344 | nuke.CFrame = CF | |
| 6345 | for i = 1,333 do | |
| 6346 | nuke.Size = nuke.Size + Vector3.new(3,3,3) | |
| 6347 | nuke.CFrame = CF | |
| 6348 | wait(1/44) | |
| 6349 | end | |
| 6350 | nuke:Destroy() | |
| 6351 | end | |
| 6352 | end | |
| 6353 | end) | |
| 6354 | ||
| 6355 | addcmd('infect','infects player',{},
| |
| 6356 | function(args, speaker) | |
| 6357 | local players = getPlayer(args[1], speaker) | |
| 6358 | for i,v in pairs(players)do | |
| 6359 | function infect(rip) | |
| 6360 | local pchar = gPlayers[v].Character | |
| 6361 | for i,v in pairs(pchar:GetChildren()) do | |
| 6362 | if v:IsA("Accessory") or v:IsA("Shirt") or v:IsA("Pants") then
| |
| 6363 | v:Destroy() | |
| 6364 | end | |
| 6365 | end | |
| 6366 | if pchar.Torso:FindFirstChild("roblox") then
| |
| 6367 | pchar.Torso.roblox:Destroy() | |
| 6368 | end | |
| 6369 | if pchar.Head:FindFirstChild("face") then
| |
| 6370 | pchar.Head.face.Texture = "http://www.roblox.com/asset/?id=94634491" | |
| 6371 | end | |
| 6372 | if pchar:FindFirstChild("Body Colors") then
| |
| 6373 | local Colors = pchar["Body Colors"] | |
| 6374 | local Skin = BrickColor.new("Pastel green")
| |
| 6375 | local Clothes = BrickColor.new("Reddish brown")
| |
| 6376 | Colors.HeadColor = Skin | |
| 6377 | Colors.LeftArmColor = Skin | |
| 6378 | Colors.RightArmColor = Skin | |
| 6379 | Colors.LeftLegColor = Clothes | |
| 6380 | Colors.RightLegColor = Clothes | |
| 6381 | Colors.TorsoColor = Clothes | |
| 6382 | end | |
| 6383 | local w1 = Instance.new("Weld", pchar)
| |
| 6384 | w1.Part0 = pchar["Right Arm"] | |
| 6385 | w1.Part1 = pchar.Torso | |
| 6386 | w1.C0 = CFrame.new(-1.5, 0.5, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(0)) | |
| 6387 | local w2 = Instance.new("Weld", pchar)
| |
| 6388 | w2.Part0 = pchar["Left Arm"] | |
| 6389 | w2.Part1 = pchar.Torso | |
| 6390 | w2.C0 = CFrame.new(1.5, 0.5, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(0)) | |
| 6391 | local rip = false | |
| 6392 | local connect1 = pchar["Left Arm"].Touched:connect(function(hit) | |
| 6393 | if connect1 == false then | |
| 6394 | connect1 = true | |
| 6395 | if game.Players:FindFirstChild(hit.Parent.Name) then | |
| 6396 | infect(game.Players[hit.Parent.Name]) | |
| 6397 | end | |
| 6398 | wait(0.5) | |
| 6399 | connect1 = true | |
| 6400 | end | |
| 6401 | end) | |
| 6402 | local connect2 = pchar["Right Arm"].Touched:connect(function(hit) | |
| 6403 | if connect2 == false then | |
| 6404 | connect2 = true | |
| 6405 | if game.Players:FindFirstChild(hit.Parent.Name) then | |
| 6406 | infect(game.Players[hit.Parent.Name]) | |
| 6407 | end | |
| 6408 | wait(0.5) | |
| 6409 | connect2 = true | |
| 6410 | end | |
| 6411 | end) | |
| 6412 | local IV = Instance.new("IntValue", pchar)
| |
| 6413 | IV.Name = "Infected" | |
| 6414 | IV.Value = 0 | |
| 6415 | IV.Changed:connect(function() | |
| 6416 | connect1:disconnect() | |
| 6417 | connect2:disconnect() | |
| 6418 | end) | |
| 6419 | end | |
| 6420 | infect(v) | |
| 6421 | end | |
| 6422 | end) | |
| 6423 | ||
| 6424 | addcmd('uninfect','makes player back to normal',{},
| |
| 6425 | function(args, speaker) | |
| 6426 | local players = getPlayer(args[1], speaker) | |
| 6427 | for i,v in pairs(players)do | |
| 6428 | execCmd("normal " .. gPlayers[v].Name, Player)
| |
| 6429 | end | |
| 6430 | end) | |
| 6431 | ||
| 6432 | addcmd('duck','makes players head a duck',{},
| |
| 6433 | function(args, speaker) | |
| 6434 | local players = getPlayer(args[1], speaker) | |
| 6435 | for i,v in pairs(players)do | |
| 6436 | local pchar = gPlayers[v].Character | |
| 6437 | for i,v in pairs(pchar.Torso:GetChildren()) do | |
| 6438 | if v:IsA("Decal") then
| |
| 6439 | v:Destroy() | |
| 6440 | end | |
| 6441 | end | |
| 6442 | for i,v in pairs(pchar:GetChildren()) do | |
| 6443 | if v:IsA("Accessory") then
| |
| 6444 | v:Destroy() | |
| 6445 | end | |
| 6446 | end | |
| 6447 | local duck = Instance.new("SpecialMesh", pchar.Torso)
| |
| 6448 | duck.MeshType = "FileMesh" | |
| 6449 | duck.MeshId = "http://www.roblox.com/asset/?id=9419831" | |
| 6450 | duck.TextureId = "http://www.roblox.com/asset/?id=9419827" | |
| 6451 | duck.Scale = Vector3.new(5, 5, 5) | |
| 6452 | pchar.Head.Transparency = 1 | |
| 6453 | pchar["Left Arm"].Transparency = 1 | |
| 6454 | pchar["Right Arm"].Transparency = 1 | |
| 6455 | pchar["Left Leg"].Transparency = 1 | |
| 6456 | pchar["Right Leg"].Transparency = 1 | |
| 6457 | pchar.Head.face.Transparency = 1 | |
| 6458 | end | |
| 6459 | end) | |
| 6460 | ||
| 6461 | addcmd('unduck','makes player back to normal',{},
| |
| 6462 | function(args, speaker) | |
| 6463 | local players = getPlayer(args[1], speaker) | |
| 6464 | for i,v in pairs(players)do | |
| 6465 | execCmd("normal " .. gPlayers[v].Name, Player)
| |
| 6466 | end | |
| 6467 | end) | |
| 6468 | ||
| 6469 | addcmd('mesh','makes a player into a mesh',{},
| |
| 6470 | function(args, speaker) | |
| 6471 | local players = getPlayer(args[1], speaker) | |
| 6472 | for i,v in pairs(players)do | |
| 6473 | local pchar = gPlayers[v].Character | |
| 6474 | for i,v in pairs(pchar.Torso:GetChildren()) do | |
| 6475 | if v:IsA("Decal") then
| |
| 6476 | v:Destroy() | |
| 6477 | end | |
| 6478 | end | |
| 6479 | for i,v in pairs(pchar:GetChildren()) do | |
| 6480 | if v:IsA("Accessory") then
| |
| 6481 | v:Destroy() | |
| 6482 | end | |
| 6483 | end | |
| 6484 | pchar.Head.Transparency = 1 | |
| 6485 | pchar["Left Arm"].Transparency = 1 | |
| 6486 | pchar["Right Arm"].Transparency = 1 | |
| 6487 | pchar["Left Leg"].Transparency = 1 | |
| 6488 | pchar["Right Leg"].Transparency = 1 | |
| 6489 | pchar.Head.face.Transparency = 1 | |
| 6490 | local msh = Instance.new("SpecialMesh", pchar.Torso)
| |
| 6491 | msh.MeshType = "FileMesh" | |
| 6492 | msh.Scale = Vector3.new(3, 3, 3) | |
| 6493 | msh.MeshId = "http://www.roblox.com/asset/?id=" ..args[2] | |
| 6494 | msh.TextureId = "http://www.roblox.com/asset/?id=" .. args[3] | |
| 6495 | msh.Scale = Vector3.new(3, 3, 3) | |
| 6496 | end | |
| 6497 | end) | |
| 6498 | ||
| 6499 | addcmd('disable','removes players humanoid',{},
| |
| 6500 | function(args, speaker) | |
| 6501 | local players = getPlayer(args[1], speaker) | |
| 6502 | for i,v in pairs(players)do | |
| 6503 | local pchar = gPlayers[v].Character | |
| 6504 | if pchar:FindFirstChild("Humanoid") then
| |
| 6505 | pchar.Humanoid.Name = "HUMANOID_" .. gPlayers[v].Name | |
| 6506 | local humanoid = pchar["HUMANOID_" .. gPlayers[v].Name] | |
| 6507 | humanoid.Parent = game.ContextActionService | |
| 6508 | if args[1] == "all" then | |
| 6509 | Notify('Everyone has been disabled')
| |
| 6510 | elseif args[1] == "others" then | |
| 6511 | Notify('Others have been disabled')
| |
| 6512 | elseif args[1] == "friends" then | |
| 6513 | Notify('Friends have been disabled')
| |
| 6514 | elseif args[1] == "nonfriends" then | |
| 6515 | Notify('Non friends have been disabled')
| |
| 6516 | elseif args[1] == "team" then | |
| 6517 | Notify('Your team has been disabled')
| |
| 6518 | elseif args[1] == "nonteam" then | |
| 6519 | Notify('The opossing team been disabled')
| |
| 6520 | elseif args[1] == "guests" then | |
| 6521 | Notify('Guests have been disabled')
| |
| 6522 | elseif args[1] == "nonadmins" then | |
| 6523 | Notify('Nonadmins have been disabled')
| |
| 6524 | else | |
| 6525 | Notify(gPlayers[v].Name .. ' has been disabled') | |
| 6526 | end | |
| 6527 | end | |
| 6528 | end | |
| 6529 | end) | |
| 6530 | ||
| 6531 | addcmd('enable','gives player humanoid',{},
| |
| 6532 | function(args, speaker) | |
| 6533 | local players = getPlayer(args[1], speaker) | |
| 6534 | for i,v in pairs(players)do | |
| 6535 | local pchar = gPlayers[v].Character | |
| 6536 | if pchar:FindFirstChild("Humanoid") then
| |
| 6537 | return | |
| 6538 | else | |
| 6539 | local humanoid = game.ContextActionService["HUMANOID_" .. gPlayers[v].Name] | |
| 6540 | humanoid.Parent = pchar | |
| 6541 | humanoid.Name = "Humanoid" | |
| 6542 | if args[1] == "all" then | |
| 6543 | Notify('Everyone has been enabled')
| |
| 6544 | elseif args[1] == "others" then | |
| 6545 | Notify('Others have been enabled')
| |
| 6546 | elseif args[1] == "friends" then | |
| 6547 | Notify('Friends have been enabled')
| |
| 6548 | elseif args[1] == "nonfriends" then | |
| 6549 | Notify('Non friends have been enabled')
| |
| 6550 | elseif args[1] == "team" then | |
| 6551 | Notify('Your team has been enabled')
| |
| 6552 | elseif args[1] == "nonteam" then | |
| 6553 | Notify('The opossing team has been enabled')
| |
| 6554 | elseif args[1] == "guests" then | |
| 6555 | Notify('Guests have been enabled')
| |
| 6556 | elseif args[1] == "nonadmins" then | |
| 6557 | Notify('Nonadmins have been enabled')
| |
| 6558 | elseif args[1] == "admins" then | |
| 6559 | Notify('Admins have been enabled')
| |
| 6560 | else | |
| 6561 | Notify(gPlayers[v].Name .. ' has been enabled') | |
| 6562 | end | |
| 6563 | end | |
| 6564 | end | |
| 6565 | end) | |
| 6566 | ||
| 6567 | addcmd('size','changes size of player',{},
| |
| 6568 | function(args, speaker) | |
| 6569 | local players = getPlayer(args[1], speaker) | |
| 6570 | for i,v in pairs(players)do | |
| 6571 | local pchar = gPlayers[v].Character | |
| 6572 | local function scale(chr,scl) | |
| 6573 | ||
| 6574 | for _,v in pairs(pchar:GetChildren()) do | |
| 6575 | if v:IsA("Accessory") then
| |
| 6576 | v:Clone() | |
| 6577 | v.Parent = game.Lighting | |
| 6578 | end | |
| 6579 | end | |
| 6580 | ||
| 6581 | local Head = chr['Head'] | |
| 6582 | local Torso = chr['Torso'] | |
| 6583 | local LA = chr['Left Arm'] | |
| 6584 | local RA = chr['Right Arm'] | |
| 6585 | local LL = chr['Left Leg'] | |
| 6586 | local RL = chr['Right Leg'] | |
| 6587 | local HRP = chr['HumanoidRootPart'] | |
| 6588 | ||
| 6589 | wait(0.1) | |
| 6590 | ||
| 6591 | Head.formFactor = 3 | |
| 6592 | Torso.formFactor = 3 | |
| 6593 | LA.formFactor = 3 | |
| 6594 | RA.formFactor = 3 | |
| 6595 | LL.formFactor = 3 | |
| 6596 | RL.formFactor = 3 | |
| 6597 | HRP.formFactor = 3 | |
| 6598 | ||
| 6599 | Head.Size = Vector3.new(scl * 2, scl, scl) | |
| 6600 | Torso.Size = Vector3.new(scl * 2, scl * 2, scl) | |
| 6601 | LA.Size = Vector3.new(scl, scl * 2, scl) | |
| 6602 | RA.Size = Vector3.new(scl, scl * 2, scl) | |
| 6603 | LL.Size = Vector3.new(scl, scl * 2, scl) | |
| 6604 | RL.Size = Vector3.new(scl, scl * 2, scl) | |
| 6605 | HRP.Size = Vector3.new(scl * 2, scl * 2, scl) | |
| 6606 | ||
| 6607 | local Motor1 = Instance.new('Motor6D', Torso)
| |
| 6608 | Motor1.Part0 = Torso | |
| 6609 | Motor1.Part1 = Head | |
| 6610 | Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1) | |
| 6611 | Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1) | |
| 6612 | Motor1.Name = "Neck" | |
| 6613 | ||
| 6614 | local Motor2 = Instance.new('Motor6D', Torso)
| |
| 6615 | Motor2.Part0 = Torso | |
| 6616 | Motor2.Part1 = LA | |
| 6617 | Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0) | |
| 6618 | Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0) | |
| 6619 | Motor2.Name = "Left Shoulder" | |
| 6620 | ||
| 6621 | local Motor3 = Instance.new('Motor6D', Torso)
| |
| 6622 | Motor3.Part0 = Torso | |
| 6623 | Motor3.Part1 = RA | |
| 6624 | Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0) | |
| 6625 | Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0) | |
| 6626 | Motor3.Name = "Right Shoulder" | |
| 6627 | ||
| 6628 | local Motor4 = Instance.new('Motor6D', Torso)
| |
| 6629 | Motor4.Part0 = Torso | |
| 6630 | Motor4.Part1 = LL | |
| 6631 | Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0) | |
| 6632 | Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0) | |
| 6633 | Motor4.Name = "Left Hip" | |
| 6634 | ||
| 6635 | local Motor5 = Instance.new('Motor6D', Torso)
| |
| 6636 | Motor5.Part0 = Torso | |
| 6637 | Motor5.Part1 = RL | |
| 6638 | Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0) | |
| 6639 | Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0) | |
| 6640 | Motor5.Name = "Right Hip" | |
| 6641 | ||
| 6642 | local Motor6 = Instance.new('Motor6D', HRP)
| |
| 6643 | Motor6.Part0 = HRP | |
| 6644 | Motor6.Part1 = Torso | |
| 6645 | Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1) | |
| 6646 | Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1) | |
| 6647 | ||
| 6648 | end | |
| 6649 | ||
| 6650 | scale(pchar, args[2]) | |
| 6651 | ||
| 6652 | for _,v in pairs(game.Lighting:GetChildren()) do | |
| 6653 | if v:IsA("Accessory") then
| |
| 6654 | v.Parent = pchar | |
| 6655 | end | |
| 6656 | end | |
| 6657 | end | |
| 6658 | end) | |
| 6659 | ||
| 6660 | addcmd('clone','clones player',{},
| |
| 6661 | function(args, speaker) | |
| 6662 | local players = getPlayer(args[1], speaker) | |
| 6663 | for i,v in pairs(players)do | |
| 6664 | local pchar = gPlayers[v].Character | |
| 6665 | pchar.Archivable = true | |
| 6666 | local clone = pchar:Clone() | |
| 6667 | clone.Parent = game.Workspace | |
| 6668 | clone:MoveTo(pchar:GetModelCFrame().p) | |
| 6669 | clone:MakeJoints() | |
| 6670 | pchar.Archivable = false | |
| 6671 | end | |
| 6672 | end) | |
| 6673 | ||
| 6674 | addcmd('spin','spins player',{},
| |
| 6675 | function(args, speaker) | |
| 6676 | local players = getPlayer(args[1], speaker) | |
| 6677 | for i,v in pairs(players)do | |
| 6678 | local pchar = gPlayers[v].Character | |
| 6679 | for i,v in pairs(pchar.Torso:GetChildren()) do | |
| 6680 | if v.Name == "Spinning" then | |
| 6681 | v:Destroy() | |
| 6682 | end | |
| 6683 | end | |
| 6684 | local Torso = pchar.Torso | |
| 6685 | local BG = Instance.new("BodyGyro", Torso)
| |
| 6686 | BG.Name = "Spinning" | |
| 6687 | BG.maxTorque = Vector3.new(0, math.huge, 0) | |
| 6688 | BG.P = 11111 | |
| 6689 | BG.cframe = Torso.CFrame | |
| 6690 | repeat wait(1/44) | |
| 6691 | BG.CFrame = BG.CFrame * CFrame.Angles(0,math.rad(30),0) | |
| 6692 | until not BG or BG.Parent ~= Torso | |
| 6693 | end | |
| 6694 | end) | |
| 6695 | ||
| 6696 | addcmd('unspin','stops spinning player',{},
| |
| 6697 | function(args, speaker) | |
| 6698 | local players = getPlayer(args[1], speaker) | |
| 6699 | for i,v in pairs(players)do | |
| 6700 | local pchar = gPlayers[v].Character | |
| 6701 | for i,v in pairs(pchar.Torso:GetChildren()) do | |
| 6702 | if v.Name == "Spinning" then | |
| 6703 | v:Destroy() | |
| 6704 | end | |
| 6705 | end | |
| 6706 | end | |
| 6707 | end) | |
| 6708 | ||
| 6709 | addcmd('dog','makes player a dog',{},
| |
| 6710 | function(args, speaker) | |
| 6711 | local players = getPlayer(args[1], speaker) | |
| 6712 | for i,v in pairs(players)do | |
| 6713 | local pchar = gPlayers[v].Character | |
| 6714 | if pchar:FindFirstChild("Shirt") then
| |
| 6715 | pchar.Shirt:Destroy() | |
| 6716 | end | |
| 6717 | if pchar:FindFirstChild("Pants") then
| |
| 6718 | pchar.Pants:Destroy() | |
| 6719 | end | |
| 6720 | if pchar:FindFirstChild("Shirt Graphic") then
| |
| 6721 | pchar["Shirt Graphic"].Graphic = "" | |
| 6722 | end | |
| 6723 | pchar.Torso.Transparency = 1 | |
| 6724 | pchar.Torso.Neck.C0 = CFrame.new(0,-.5,-2) * CFrame.Angles(math.rad(90),math.rad(180),0) | |
| 6725 | pchar.Torso["Right Shoulder"].C0 = CFrame.new(.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(90),0) | |
| 6726 | pchar.Torso["Left Shoulder"].C0 = CFrame.new(-.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(-90),0) | |
| 6727 | pchar.Torso["Right Hip"].C0 = CFrame.new(1.5,-1,1.5) * CFrame.Angles(0,math.rad(90),0) | |
| 6728 | pchar.Torso["Left Hip"].C0 = CFrame.new(-1.5,-1,1.5) * CFrame.Angles(0,math.rad(-90),0) | |
| 6729 | local FakeTorso = Instance.new("Seat", pchar)
| |
| 6730 | FakeTorso.Name = "FakeTorso" | |
| 6731 | FakeTorso.FormFactor = "Symmetric" | |
| 6732 | FakeTorso.TopSurface = 0 | |
| 6733 | FakeTorso.BottomSurface = 0 | |
| 6734 | FakeTorso.Size = Vector3.new(3,1,4) | |
| 6735 | FakeTorso.BrickColor = BrickColor.new("Brown")
| |
| 6736 | FakeTorso.CFrame = pchar.Torso.CFrame | |
| 6737 | local BF = Instance.new("BodyForce", FakeTorso)
| |
| 6738 | BF.Force = Vector3.new(0, FakeTorso:GetMass() * 196.25, 0) | |
| 6739 | local W = Instance.new("Weld", pchar.Torso)
| |
| 6740 | W.Part0 = pchar.Torso | |
| 6741 | W.Part1 = FakeTorso | |
| 6742 | W.C0 = CFrame.new(0,-.5,0) | |
| 6743 | local BC = pchar["Body Colors"] | |
| 6744 | BC.HeadColor = BrickColor.new("Brown")
| |
| 6745 | BC.LeftArmColor = BrickColor.new("Brown")
| |
| 6746 | BC.LeftLegColor = BrickColor.new("Brown")
| |
| 6747 | BC.RightArmColor = BrickColor.new("Brown")
| |
| 6748 | BC.RightLegColor = BrickColor.new("Brown")
| |
| 6749 | BC.TorsoColor = BrickColor.new("Brown")
| |
| 6750 | end | |
| 6751 | end) | |
| 6752 | ||
| 6753 | addcmd('undog','makes player back to normal',{},
| |
| 6754 | function(args, speaker) | |
| 6755 | local players = getPlayer(args[1], speaker) | |
| 6756 | for i,v in pairs(players)do | |
| 6757 | execCmd("normal " .. gPlayers[v].Name, Player)
| |
| 6758 | end | |
| 6759 | end) | |
| 6760 | ||
| 6761 | addcmd('loopheal','loop heals player',{},
| |
| 6762 | function(args, speaker) | |
| 6763 | local players = getPlayer(args[1], speaker) | |
| 6764 | for i,v in pairs(players)do | |
| 6765 | spawn(function() | |
| 6766 | local pchar = gPlayers[v].Character | |
| 6767 | if pchar:FindFirstChild("LoopHeal") then
| |
| 6768 | pchar.LoopHeal.Name = "NotLoopHeal" | |
| 6769 | wait(0.1) | |
| 6770 | pchar.NotLoopHeal:Destroy() | |
| 6771 | end | |
| 6772 | local LoopHeal = Instance.new("StringValue", pchar)
| |
| 6773 | LoopHeal.Name = "LoopHeal" | |
| 6774 | repeat wait(0.1) | |
| 6775 | pchar.Humanoid.Health = pchar.Humanoid.MaxHealth | |
| 6776 | until LoopHeal.Name == "NotLoopHeal" | |
| 6777 | end) | |
| 6778 | end | |
| 6779 | end) | |
| 6780 | ||
| 6781 | addcmd('unloopheal','stops loop heal on player',{'noloopheal'},
| |
| 6782 | function(args, speaker) | |
| 6783 | local players = getPlayer(args[1], speaker) | |
| 6784 | for i,v in pairs(players)do | |
| 6785 | local pchar = gPlayers[v].Character | |
| 6786 | if pchar:FindFirstChild("LoopHeal") then
| |
| 6787 | pchar.LoopHeal.Name = "NotLoopHeal" | |
| 6788 | wait(0.1) | |
| 6789 | pchar.NotLoopHeal:Destroy() | |
| 6790 | end | |
| 6791 | end | |
| 6792 | end) | |
| 6793 | ||
| 6794 | addcmd('fling','flings player',{},
| |
| 6795 | function(args, speaker) | |
| 6796 | local players = getPlayer(args[1], speaker) | |
| 6797 | for i,v in pairs(players)do | |
| 6798 | local pchar = gPlayers[v].Character | |
| 6799 | if pchar:FindFirstChild("Humanoid") then
| |
| 6800 | local xran | |
| 6801 | local zran | |
| 6802 | repeat | |
| 6803 | xran = math.random(-9999,9999) | |
| 6804 | until math.abs(xran) >= 5555 | |
| 6805 | repeat | |
| 6806 | zran = math.random(-9999,9999) | |
| 6807 | until math.abs(zran) >= 5555 | |
| 6808 | pchar.Humanoid.Sit = true | |
| 6809 | pchar.HumanoidRootPart.Velocity = Vector3.new(0,0,0) | |
| 6810 | local BF = Instance.new("BodyForce", pchar.HumanoidRootPart)
| |
| 6811 | BF.force = Vector3.new(xran * 4, 9999 * 5, zran * 4) | |
| 6812 | end | |
| 6813 | end | |
| 6814 | end) | |
| 6815 | ||
| 6816 | addcmd('nograv','makes player have moon gravity',{''},
| |
| 6817 | function(args, speaker) | |
| 6818 | local players = getPlayer(args[1], speaker) | |
| 6819 | for i,v in pairs(players)do | |
| 6820 | local pchar = gPlayers[v].Character | |
| 6821 | for i,v in pairs(pchar.Torso:GetChildren()) do | |
| 6822 | if v.Name == "NoGrav" then | |
| 6823 | v:Destroy() | |
| 6824 | end | |
| 6825 | end | |
| 6826 | local BF = Instance.new("BodyForce", pchar.Torso)
| |
| 6827 | BF.Name = "NoGrav" | |
| 6828 | BF.Force = Vector3.new(0,2700,0) | |
| 6829 | end | |
| 6830 | end) | |
| 6831 | ||
| 6832 | addcmd('grav','makes player have normal gravity',{''},
| |
| 6833 | function(args, speaker) | |
| 6834 | local players = getPlayer(args[1], speaker) | |
| 6835 | for i,v in pairs(players)do | |
| 6836 | local pchar = gPlayers[v].Character | |
| 6837 | for i,v in pairs(pchar.Torso:GetChildren()) do | |
| 6838 | if v.Name == "NoGrav" then | |
| 6839 | v:Destroy() | |
| 6840 | end | |
| 6841 | end | |
| 6842 | end | |
| 6843 | end) | |
| 6844 | ||
| 6845 | addcmd('seizure','makes player have a seizure',{''},
| |
| 6846 | function(args, speaker) | |
| 6847 | local players = getPlayer(args[1], speaker) | |
| 6848 | for i,v in pairs(players)do | |
| 6849 | local pchar = gPlayers[v].Character | |
| 6850 | if pchar:FindFirstChild("Seizure") then
| |
| 6851 | ||
| 6852 | end | |
| 6853 | local Seizure = Instance.new("StringValue", pchar)
| |
| 6854 | Seizure.Name = "Seizure" | |
| 6855 | pchar.Humanoid.PlatformStand = true | |
| 6856 | repeat wait() | |
| 6857 | pchar.Torso.Velocity = Vector3.new(math.random(-10,10),-5,math.random(-10,10)) | |
| 6858 | pchar.Torso.RotVelocity = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)) | |
| 6859 | until Seizure.Name == "NotSeizure" | |
| 6860 | end | |
| 6861 | end) | |
| 6862 | ||
| 6863 | addcmd('unseizure','makes player stop having a seizure',{''},
| |
| 6864 | function(args, speaker) | |
| 6865 | local players = getPlayer(args[1], speaker) | |
| 6866 | for i,v in pairs(players)do | |
| 6867 | local pchar = gPlayers[v].Character | |
| 6868 | if pchar:FindFirstChild("Seizure") then
| |
| 6869 | pchar.Humanoid.PlatformStand = false | |
| 6870 | pchar.Seizure.Name = "NotSeizure" | |
| 6871 | wait(0.1) | |
| 6872 | pchar.NotSeizure:Destroy() | |
| 6873 | end | |
| 6874 | end | |
| 6875 | end) | |
| 6876 | ||
| 6877 | addcmd('m','makes a global message',{'message'},
| |
| 6878 | function(args, speaker) | |
| 6879 | local MSG = GLS(false, 0) | |
| 6880 | local newMSG = GLS(false, 0) | |
| 6881 | _G.msg(MSG) | |
| 6882 | end) | |
| 6883 | ||
| 6884 | addcmd('paper','makes player thin as paper',{''},
| |
| 6885 | function(args, speaker) | |
| 6886 | local players = getPlayer(args[1], speaker) | |
| 6887 | for i,v in pairs(players)do | |
| 6888 | local pchar = gPlayers[v].Character | |
| 6889 | for _, child in pairs( pchar:GetChildren()) do | |
| 6890 | if child.ClassName == "CharacterMesh" then | |
| 6891 | child:Destroy() | |
| 6892 | end | |
| 6893 | end | |
| 6894 | local LA = DATA.Paper:Clone() | |
| 6895 | LA.Parent = pchar["Left Arm"] | |
| 6896 | local RA = DATA.Paper:Clone() | |
| 6897 | RA.Parent = pchar["Right Arm"] | |
| 6898 | local LL = DATA.Paper:Clone() | |
| 6899 | LL.Parent = pchar["Left Leg"] | |
| 6900 | local RL = DATA.Paper:Clone() | |
| 6901 | RL.Parent = pchar["Right Leg"] | |
| 6902 | local T = DATA.Paper:Clone() | |
| 6903 | T.Parent = pchar.Torso | |
| 6904 | local H = DATA.Paper:Clone() | |
| 6905 | H.Parent = pchar.Head | |
| 6906 | pchar.Head.face:Destroy() | |
| 6907 | end | |
| 6908 | end) | |
| 6909 | ||
| 6910 | addcmd('particles','gives a player particles',{''},
| |
| 6911 | function(args, speaker) | |
| 6912 | local players = getPlayer(args[1], speaker) | |
| 6913 | for i,v in pairs(players)do | |
| 6914 | local char = gPlayers[v].Character | |
| 6915 | for i,v in pairs(char.HumanoidRootPart:GetChildren()) do | |
| 6916 | if v:IsA('ParticleEmitter') then
| |
| 6917 | v:destroy() | |
| 6918 | end | |
| 6919 | end | |
| 6920 | local prt = Instance.new('ParticleEmitter', char.HumanoidRootPart)
| |
| 6921 | prt.Texture = 'rbxassetid://' .. args[2] | |
| 6922 | prt.Rate = 10 | |
| 6923 | prt.SpreadAngle = Vector2.new(50, 50) | |
| 6924 | end | |
| 6925 | end) | |
| 6926 | ||
| 6927 | addcmd('unparticles','gives a player particles',{'noparticles'},
| |
| 6928 | function(args, speaker) | |
| 6929 | local players = getPlayer(args[1], speaker) | |
| 6930 | for i,v in pairs(players)do | |
| 6931 | local char = gPlayers[v].Character | |
| 6932 | for i,v in pairs(char.HumanoidRootPart:GetChildren()) do | |
| 6933 | if v:IsA('ParticleEmitter') then
| |
| 6934 | v:destroy() | |
| 6935 | end | |
| 6936 | end | |
| 6937 | end | |
| 6938 | end) | |
| 6939 | ||
| 6940 | addcmd('punish','punishs player',{''},
| |
| 6941 | function(args, speaker) | |
| 6942 | local players = getPlayer(args[1], speaker) | |
| 6943 | for i,v in pairs(players)do | |
| 6944 | local pchar = gPlayers[v].Character | |
| 6945 | pchar.Parent = game.Lighting | |
| 6946 | end | |
| 6947 | end) | |
| 6948 | ||
| 6949 | addcmd('unpunish','unpunishs player',{''},
| |
| 6950 | function(args, speaker) | |
| 6951 | local players = getPlayer(args[1], speaker) | |
| 6952 | for i,v in pairs(players)do | |
| 6953 | if game.Lighting:FindFirstChild("" .. gPlayers[v].Name) then
| |
| 6954 | game.Lighting:FindFirstChild("" .. gPlayers[v].Name).Parent = game.Workspace
| |
| 6955 | end | |
| 6956 | end | |
| 6957 | end) | |
| 6958 | ||
| 6959 | addcmd('bait',';)',{'troll'},
| |
| 6960 | function(args, speaker) | |
| 6961 | spawn(function() | |
| 6962 | local M = Instance.new('Model', workspace) M.Name = 'IYadmin'
| |
| 6963 | local P = Instance.new('Part', M) P.Name = 'Main' P.Position = speaker.Character.Head.Position P.BrickColor = BrickColor.new('Bright green') P.Material = 'Neon' P.Size = Vector3.new(4, 1, 4)
| |
| 6964 | y = Instance.new("BillboardGui")
| |
| 6965 | y.Size = UDim2.new(0,100,0,150) | |
| 6966 | y.StudsOffset = Vector3.new(0,1,0) | |
| 6967 | y.Parent = P | |
| 6968 | y.Adornee = P | |
| 6969 | f = Instance.new("TextLabel")
| |
| 6970 | f.Parent = y | |
| 6971 | f.BackgroundTransparency = 1 | |
| 6972 | f.Position = UDim2.new(0,0,0,-50) | |
| 6973 | f.Size = UDim2.new(0,100,0,100) | |
| 6974 | f.Font = "Highway" | |
| 6975 | f.FontSize = "Size48" | |
| 6976 | f.Text = "Touch for admin!" | |
| 6977 | f.TextStrokeColor3 = Color3.new(0,0,0) | |
| 6978 | f.TextColor3 = Color3.new(255/255,255/255,255/255) | |
| 6979 | f.TextStrokeTransparency = 0 | |
| 6980 | f.TextYAlignment = "Bottom" | |
| 6981 | P.Touched:connect(function(oof) if oof.Parent.Name ~= speaker.Name or oof.Parent.Name ~= LP.Name then if oof.Parent:FindFirstChild('Humanoid') then execCmd("oof " .. oof.Parent.Name, Player) end end end)
| |
| 6982 | end) | |
| 6983 | end) | |
| 6984 | ||
| 6985 | addcmd('disco','disco party',{''},
| |
| 6986 | function(args, speaker) | |
| 6987 | Disco = true | |
| 6988 | if Disco == true then | |
| 6989 | repeat wait(0.3) | |
| 6990 | game.Lighting.Ambient = Color3.new(math.random(),math.random(),math.random()) | |
| 6991 | until Disco == false | |
| 6992 | end | |
| 6993 | end) | |
| 6994 | ||
| 6995 | addcmd('undisco','rip disco party',{''},
| |
| 6996 | function(args, speaker) | |
| 6997 | Disco = false | |
| 6998 | wait(0.1) | |
| 6999 | game.Lighting.Ambient = Color3.new(0.5,0.5,0.5) | |
| 7000 | end) | |
| 7001 | ||
| 7002 | Floating = false | |
| 7003 | Fly = false | |
| 7004 | ||
| 7005 | addcmd('float', 'makes player float',{},
| |
| 7006 | function(args,speaker) | |
| 7007 | Floating = true | |
| 7008 | local players = getPlayer(args[1], speaker) | |
| 7009 | for _,v in pairs(players) do | |
| 7010 | local pchar = gPlayers[v].Character | |
| 7011 | if gPlayers[v] and pchar and not pchar:FindFirstChild("Float") then
| |
| 7012 | spawn(function() | |
| 7013 | local float = DATA.Float:Clone() | |
| 7014 | float.Parent = pchar | |
| 7015 | float.CFrame = pchar.HumanoidRootPart.CFrame * CFrame.new(0,-3.5,0) | |
| 7016 | spawn(function() | |
| 7017 | while wait(0.1) do | |
| 7018 | if pchar:FindFirstChild("Float") then
| |
| 7019 | float.CFrame = pchar.HumanoidRootPart.CFrame * CFrame.new(0,-3.5,0) | |
| 7020 | else | |
| 7021 | break | |
| 7022 | end | |
| 7023 | end | |
| 7024 | end) | |
| 7025 | end) | |
| 7026 | end | |
| 7027 | end | |
| 7028 | end) | |
| 7029 | ||
| 7030 | addcmd('unfloat','disables floating',{},
| |
| 7031 | function(args, speaker) | |
| 7032 | Floating = false | |
| 7033 | local players = getPlayer(args[1], speaker) | |
| 7034 | for i,v in pairs(players)do | |
| 7035 | local pchar = gPlayers[v].Character | |
| 7036 | if pchar:FindFirstChild("Float") then
| |
| 7037 | pchar.Float:Destroy() | |
| 7038 | end | |
| 7039 | end | |
| 7040 | end) | |
| 7041 | ||
| 7042 | local Clip = true | |
| 7043 | ||
| 7044 | addcmd('noclip','enables noclip',{},
| |
| 7045 | function(args, speaker) | |
| 7046 | Notify('NoClip enabled')
| |
| 7047 | Clip = false | |
| 7048 | wait(1) | |
| 7049 | Name = game.Players.LocalPlayer.Name | |
| 7050 | game:GetService('Players').LocalPlayer.PlayerGui.ChildAdded:connect(function (NC)
| |
| 7051 | delay(0, function() | |
| 7052 | if NC.Name ~= "Memes" then | |
| 7053 | NC:Destroy() | |
| 7054 | end | |
| 7055 | end) | |
| 7056 | end) | |
| 7057 | game:GetService('RunService').Stepped:connect(function ()
| |
| 7058 | game.Workspace[Name].Torso.CanCollide = Clip | |
| 7059 | game.Workspace[Name].Head.CanCollide = Clip | |
| 7060 | end) | |
| 7061 | game.Workspace[Name].Torso.Changed:connect(function() | |
| 7062 | game.Workspace[Name].Torso.CanCollide = Clip | |
| 7063 | game.Workspace[Name].Head.CanCollide = Clip | |
| 7064 | end) | |
| 7065 | end) | |
| 7066 | ||
| 7067 | addcmd('clip','disables noclip',{},
| |
| 7068 | function(args, speaker) | |
| 7069 | Notify('NoClip disabled')
| |
| 7070 | Clip = true | |
| 7071 | end) | |
| 7072 | ||
| 7073 | wait(0.1) | |
| 7074 | ||
| 7075 | addcmd('prefix','changes prefix',{},
| |
| 7076 | function(args, speaker) | |
| 7077 | cmdprefix = args[1] | |
| 7078 | Notify('Set prefix to "' .. args[1] .. '"')
| |
| 7079 | end) | |
| 7080 | ||
| 7081 | addcmd('respawn','respawns',{},
| |
| 7082 | function(args, speaker) | |
| 7083 | local players = getPlayer(args[1], speaker) | |
| 7084 | for i,v in pairs(players) do | |
| 7085 | local M = Instance.new('Model', gWorkspace) M.Name = 'respawn_iy'
| |
| 7086 | local H = Instance.new('Humanoid', M)
| |
| 7087 | local T = Instance.new('Part', M) T.Name = 'Torso' T.CanCollide = false T.Transparency = 1
| |
| 7088 | gPlayers[v].Character = M | |
| 7089 | end | |
| 7090 | end) | |
| 7091 | ||
| 7092 | addcmd('version','shows version',{''},
| |
| 7093 | function(args, speaker) | |
| 7094 | Notify("Version is " .. Version)
| |
| 7095 | end) | |
| 7096 | ||
| 7097 | Mouse.KeyDown:connect(function (Key) | |
| 7098 | if Key:byte() == 29 then | |
| 7099 | if Fly == false then | |
| 7100 | execCmd("fly me", Player)
| |
| 7101 | Fly = true | |
| 7102 | elseif Fly == true then | |
| 7103 | execCmd("unfly me", Player)
| |
| 7104 | Fly = false | |
| 7105 | end | |
| 7106 | end | |
| 7107 | end) | |
| 7108 | ||
| 7109 | ------------------- | |
| 7110 | ----Command bar---- | |
| 7111 | ------------------- | |
| 7112 | ||
| 7113 | CMDbar = Instance.new('ScreenGui', game.CoreGui)
| |
| 7114 | CMDbar.Name = 'GUI' | |
| 7115 | cmdBAR = Instance.new('TextBox', CMDbar)
| |
| 7116 | cmdBAR.Name = 'CMDbar' | |
| 7117 | cmdBAR.Active = true | |
| 7118 | cmdBAR.BackgroundColor = BrickColor.new(0,0,0) | |
| 7119 | cmdBAR.BackgroundTransparency = 0.5 | |
| 7120 | cmdBAR.BorderColor = BrickColor.new(255,255,255) | |
| 7121 | cmdBAR.BorderSizePixel = 1 | |
| 7122 | cmdBAR.Position = UDim2.new(0, 5, cmdbarpos, cmdbarpos2) | |
| 7123 | cmdBAR.Size = UDim2.new(0,200,0,20) | |
| 7124 | cmdBAR.Font = 'SourceSans' | |
| 7125 | cmdBAR.FontSize = 'Size18' | |
| 7126 | cmdBAR.Text = 'Press ; to Execute a Command' | |
| 7127 | cmdBAR.TextColor = BrickColor.new(255,255,255) | |
| 7128 | cmdBAR.TextStrokeColor3 = Color3.new(0,0,0) | |
| 7129 | ||
| 7130 | ------------------- | |
| 7131 | ----Data Folder---- | |
| 7132 | ------------------- | |
| 7133 | ||
| 7134 | DATA = Instance.new('Folder', game.ContextActionService)
| |
| 7135 | DATA.Name = 'Data' | |
| 7136 | ||
| 7137 | Paper = Instance.new('BlockMesh', DATA)
| |
| 7138 | Paper.Name = 'Paper' | |
| 7139 | Paper.Scale = Vector3.new(1,1,0.1) | |
| 7140 | ||
| 7141 | ayylmao = Instance.new('Hat', DATA)
| |
| 7142 | ayylmao.Name = 'ayylmao' | |
| 7143 | ayyHandle = Instance.new('Part', ayylmao)
| |
| 7144 | ayyHandle.Name = 'Handle' | |
| 7145 | ayyHandle.Size = Vector3.new(2,2.4,2) | |
| 7146 | ayyHandle.FormFactor = 'Plate' | |
| 7147 | ayyMesh = Instance.new('SpecialMesh', ayyHandle)
| |
| 7148 | ayyMesh.Scale = Vector3.new(1,1.02,1) | |
| 7149 | ayyMesh.MeshType = 'FileMesh' | |
| 7150 | ayyMesh.MeshId = 'http://www.roblox.com/asset/?id=13827689' | |
| 7151 | ayyMesh.TextureId = 'http://www.roblox.com/asset/?id=13827796' | |
| 7152 | ||
| 7153 | Float = Instance.new('Part', DATA)
| |
| 7154 | Float.Name = 'Float' | |
| 7155 | Float.Transparency = 1 | |
| 7156 | Float.Size = Vector3.new(6,1,6) | |
| 7157 | Float.Anchored = true | |
| 7158 | ||
| 7159 | function C3(R, G, B) return Color3.new(R/255, G/255, B/255) end | |
| 7160 | missile = Instance.new('Part', DATA)
| |
| 7161 | missile.Name = 'IY_missile' | |
| 7162 | missile.CanCollide = false | |
| 7163 | missile.Size = Vector3.new(2, 5, 2) | |
| 7164 | Instance.new('CylinderMesh', missile)
| |
| 7165 | local F = Instance.new('Part', missile)
| |
| 7166 | F.BrickColor = BrickColor.new('Black')
| |
| 7167 | F.CanCollide = false | |
| 7168 | F.Size = Vector3.new(2, 0.2, 2) | |
| 7169 | Instance.new('CylinderMesh', F)
| |
| 7170 | local fire = Instance.new('Fire', F)
| |
| 7171 | fire.Size = "15" | |
| 7172 | fire.Heat = "25" | |
| 7173 | local head = Instance.new('Part', missile)
| |
| 7174 | head.CanCollide = false | |
| 7175 | head.Shape = 'Ball' | |
| 7176 | head.Size = Vector3.new(2, 2, 2) | |
| 7177 | head.TopSurface = 'Smooth' | |
| 7178 | head.BottomSurface = 'Smooth' | |
| 7179 | local BF = Instance.new('BodyForce', missile)
| |
| 7180 | BF.Name = 'force' | |
| 7181 | BF.Force = Vector3.new(0, 0, 0) | |
| 7182 | local W1 = Instance.new('Weld', missile)
| |
| 7183 | W1.Part0 = missile | |
| 7184 | W1.Part1 = F | |
| 7185 | W1.C1 = CFrame.new(0, 2.6, 0) | |
| 7186 | local W2 = Instance.new('Weld', missile)
| |
| 7187 | W2.Part0 = missile | |
| 7188 | W2.Part1 = head | |
| 7189 | W2.C1 = CFrame.new(0, -2.6, 0) | |
| 7190 | ||
| 7191 | --------------------------- | |
| 7192 | --Commands GUI properties-- | |
| 7193 | --------------------------- | |
| 7194 | ||
| 7195 | local CMDss = Instance.new('ScreenGui', DATA)
| |
| 7196 | local MAINN = Instance.new("Frame")
| |
| 7197 | local CMDs_2 = Instance.new("ScrollingFrame")
| |
| 7198 | local Titlee = Instance.new("TextLabel")
| |
| 7199 | local Exitt = Instance.new("TextButton")
| |
| 7200 | local Hidee = Instance.new("TextButton")
| |
| 7201 | Searchh = Instance.new("TextBox")
| |
| 7202 | local Examplee = Instance.new("TextLabel")
| |
| 7203 | local HideFramee = Instance.new("Frame")
| |
| 7204 | local rtrn = Instance.new("TextButton")
| |
| 7205 | CMDss.Name = "CMDs" | |
| 7206 | MAINN.Name = "MAIN" | |
| 7207 | MAINN.Parent = CMDss | |
| 7208 | MAINN.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059) | |
| 7209 | MAINN.Position = UDim2.new(0, -350, 1, -300) | |
| 7210 | MAINN.Size = UDim2.new(0, 300, 0, 300) | |
| 7211 | MAINN.Style = Enum.FrameStyle.DropShadow | |
| 7212 | CMDs_2.Name = "CMDs" | |
| 7213 | CMDs_2.Parent = MAINN | |
| 7214 | CMDs_2.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
| 7215 | CMDs_2.BackgroundTransparency = 1 | |
| 7216 | CMDs_2.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
| 7217 | CMDs_2.BorderSizePixel = 0 | |
| 7218 | CMDs_2.Position = UDim2.new(0, 0, 0, 55) | |
| 7219 | CMDs_2.Size = UDim2.new(0, 285, 0, 230) | |
| 7220 | CMDs_2.BottomImage = "rbxasset://textures/blackBkg_square.png" | |
| 7221 | CMDs_2.CanvasSize = UDim2.new(0, 0, 0, 3280) | |
| 7222 | CMDs_2.MidImage = "rbxasset://textures/blackBkg_square.png" | |
| 7223 | CMDs_2.ScrollBarThickness = 8 | |
| 7224 | CMDs_2.TopImage = "rbxasset://textures/blackBkg_square.png" | |
| 7225 | Titlee.Name = "Title" | |
| 7226 | Titlee.Parent = MAINN | |
| 7227 | Titlee.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059) | |
| 7228 | Titlee.BackgroundTransparency = 1 | |
| 7229 | Titlee.Size = UDim2.new(1, 0, 0, 30) | |
| 7230 | Titlee.Font = Enum.Font.SourceSansBold | |
| 7231 | Titlee.FontSize = Enum.FontSize.Size24 | |
| 7232 | Titlee.Text = "Commands" | |
| 7233 | Titlee.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) | |
| 7234 | Exitt.Name = "Exit" | |
| 7235 | Exitt.Parent = MAINN | |
| 7236 | Exitt.BackgroundColor3 = Color3.new(1, 0, 0) | |
| 7237 | Exitt.BackgroundTransparency = 0.30000001192093 | |
| 7238 | Exitt.BorderColor3 = Color3.new(1, 0, 0) | |
| 7239 | Exitt.Position = UDim2.new(1, -284, 1, -284) | |
| 7240 | Exitt.Size = UDim2.new(0, 20, 0, 20) | |
| 7241 | Exitt.FontSize = Enum.FontSize.Size14 | |
| 7242 | Exitt.Text = "" | |
| 7243 | Hidee.Name = "Hide" | |
| 7244 | Hidee.Parent = MAINN | |
| 7245 | Hidee.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 7246 | Hidee.BackgroundTransparency = 0.30000001192093 | |
| 7247 | Hidee.BorderColor3 = Color3.new(1, 1, 1) | |
| 7248 | Hidee.Position = UDim2.new(1, -261, 1, -284) | |
| 7249 | Hidee.Size = UDim2.new(0, 20, 0, 20) | |
| 7250 | Hidee.FontSize = Enum.FontSize.Size14 | |
| 7251 | Hidee.Text = "" | |
| 7252 | Searchh.Name = "Search" | |
| 7253 | Searchh.Parent = MAINN | |
| 7254 | Searchh.BackgroundColor3 = Color3.new(0, 0, 0) | |
| 7255 | Searchh.BackgroundTransparency = 0.69999998807907 | |
| 7256 | Searchh.BorderColor3 = Color3.new(1, 1, 1) | |
| 7257 | Searchh.Position = UDim2.new(0.5, -127, 0.200000003, -25) | |
| 7258 | Searchh.Size = UDim2.new(0, 250, 0, 20) | |
| 7259 | Searchh.ClearTextOnFocus = false | |
| 7260 | Searchh.Font = Enum.Font.Code | |
| 7261 | Searchh.FontSize = Enum.FontSize.Size18 | |
| 7262 | Searchh.Text = "Search" | |
| 7263 | Searchh.TextColor3 = Color3.new(1, 1, 1) | |
| 7264 | Searchh.TextStrokeColor3 = Color3.new(0.258824, 0.258824, 0.258824) | |
| 7265 | Searchh.TextStrokeTransparency = 0 | |
| 7266 | Examplee.Name = "Example" | |
| 7267 | Examplee.Parent = MAINN | |
| 7268 | Examplee.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
| 7269 | Examplee.BackgroundTransparency = 1 | |
| 7270 | Examplee.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
| 7271 | Examplee.BorderSizePixel = 0 | |
| 7272 | Examplee.Size = UDim2.new(0, 190, 0, 20) | |
| 7273 | Examplee.Visible = false | |
| 7274 | Examplee.Font = Enum.Font.Code | |
| 7275 | Examplee.FontSize = Enum.FontSize.Size18 | |
| 7276 | Examplee.Text = "txt" | |
| 7277 | Examplee.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549) | |
| 7278 | Examplee.TextXAlignment = Enum.TextXAlignment.Left | |
| 7279 | HideFramee.Name = "HideFrame" | |
| 7280 | HideFramee.Parent = CMDss | |
| 7281 | HideFramee.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059) | |
| 7282 | HideFramee.BackgroundTransparency = 1 | |
| 7283 | HideFramee.BorderSizePixel = 0 | |
| 7284 | HideFramee.Position = UDim2.new(0, -350, 1, -300) | |
| 7285 | HideFramee.Size = UDim2.new(0, 300, 0, 300) | |
| 7286 | HideFramee.Visible = false | |
| 7287 | rtrn.Name = "rtrn" | |
| 7288 | rtrn.Parent = HideFramee | |
| 7289 | rtrn.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 7290 | rtrn.BackgroundTransparency = 0.30000001192093 | |
| 7291 | rtrn.BorderColor3 = Color3.new(1, 1, 1) | |
| 7292 | rtrn.Position = UDim2.new(1, -292, 1, -292) | |
| 7293 | rtrn.Size = UDim2.new(0, 20, 0, 20) | |
| 7294 | rtrn.FontSize = Enum.FontSize.Size14 | |
| 7295 | rtrn.Text = "" | |
| 7296 | ||
| 7297 | espMAIN = Instance.new('BillboardGui', DATA)
| |
| 7298 | espMAIN.Name = 'MAIN' | |
| 7299 | espMAIN.AlwaysOnTop = true | |
| 7300 | espMAIN.ExtentsOffset = Vector3.new(0,1,0) | |
| 7301 | espMAIN.Size = UDim2.new(0,5,0,5) | |
| 7302 | espMAIN.StudsOffset = Vector3.new(0,1,0) | |
| 7303 | espDot = Instance.new('Frame', espMAIN)
| |
| 7304 | espDot.BackgroundColor = BrickColor.new(42,181,255) | |
| 7305 | espDot.BackgroundTransparency = 0.3 | |
| 7306 | espDot.BorderSizePixel = 0 | |
| 7307 | espDot.Position = UDim2.new(-0.5,0,-0.5,0) | |
| 7308 | espDot.Size = UDim2.new(2,0,2,0) | |
| 7309 | espDot.Visible = false | |
| 7310 | espDot.ZIndex = 10 | |
| 7311 | espName = Instance.new('TextLabel', espMAIN)
| |
| 7312 | espName.Name = 'Name' | |
| 7313 | espName.BackgroundColor = BrickColor.new(0,0,0) | |
| 7314 | espName.BackgroundTransparency = 1 | |
| 7315 | espName.BorderColor = BrickColor.new(0,0,0) | |
| 7316 | espName.BorderSizePixel = 0 | |
| 7317 | espName.Position = UDim2.new(0,0,0,-35) | |
| 7318 | espName.Size = UDim2.new(1,0,10,0) | |
| 7319 | espName.Visible = false | |
| 7320 | espName.ZIndex = 10 | |
| 7321 | ||
| 7322 | ------------------------- | |
| 7323 | ----Notify properties---- | |
| 7324 | ------------------------- | |
| 7325 | ||
| 7326 | notifyMAIN = Instance.new('ScreenGui', DATA)
| |
| 7327 | notifyMAIN.Name = 'Notification' | |
| 7328 | notifyNOT = Instance.new('Frame', notifyMAIN)
| |
| 7329 | notifyNOT.Name = 'NOTIFY' | |
| 7330 | notifyNOT.BackgroundColor = BrickColor.new(0,0,0) | |
| 7331 | notifyNOT.BackgroundTransparency = 0.5 | |
| 7332 | notifyNOT.BorderColor = BrickColor.new(0,0,0) | |
| 7333 | notifyNOT.BorderSizePixel = 2 | |
| 7334 | notifyNOT.Position = UDim2.new(0,0,-0.06,0) | |
| 7335 | notifyNOT.Size = UDim2.new(1,0,0,25) | |
| 7336 | notifyNOTE = Instance.new('TextLabel', notifyNOT)
| |
| 7337 | notifyNOTE.Name = 'NOTE' | |
| 7338 | notifyNOTE.BackgroundColor = BrickColor.new(255,255,255) | |
| 7339 | notifyNOTE.BackgroundTransparency = 1 | |
| 7340 | notifyNOTE.BorderColor = BrickColor.new(255,255,255) | |
| 7341 | notifyNOTE.BorderSizePixel = 0 | |
| 7342 | notifyNOTE.Size = UDim2.new(1,0,1,0) | |
| 7343 | notifyNOTE.ZIndex = 10 | |
| 7344 | notifyNOTE.FontSize = 'Size18' | |
| 7345 | notifyNOTE.Font = 'SourceSans' | |
| 7346 | notifyNOTE.Text = 'NOTIFY' | |
| 7347 | notifyNOTE.TextColor = BrickColor.new(255,255,255) | |
| 7348 | notifyNOTE.TextStrokeColor3 = Color3.new(0,0,0) | |
| 7349 | notifyNOTE.TextStrokeTransparency = 0.8 | |
| 7350 | ||
| 7351 | modJAIL = Instance.new('Model', DATA)
| |
| 7352 | modJAIL.Name = 'JAIL' | |
| 7353 | botJAIL = Instance.new('Part', modJAIL)
| |
| 7354 | botJAIL.Name = 'BOTTOM' | |
| 7355 | botJAIL.BrickColor = BrickColor.new('Black')
| |
| 7356 | botJAIL.Transparency = 0.5 | |
| 7357 | botJAIL.Position = Vector3.new(-6.2,0.5,-11.6) | |
| 7358 | botJAIL.Anchored = true | |
| 7359 | botJAIL.Locked = true | |
| 7360 | botJAIL.Size = Vector3.new(6,1,6) | |
| 7361 | botJAIL.TopSurface = 'Smooth' | |
| 7362 | botJAIL.BottomSurface = 'Smooth' | |
| 7363 | topJAIL = Instance.new('Part', modJAIL)
| |
| 7364 | topJAIL.Name = 'BOTTOM' | |
| 7365 | topJAIL.BrickColor = BrickColor.new('Black')
| |
| 7366 | topJAIL.Transparency = 0.5 | |
| 7367 | topJAIL.Position = Vector3.new(-6.2,7.5,-11.6) | |
| 7368 | topJAIL.Anchored = true | |
| 7369 | topJAIL.Locked = true | |
| 7370 | topJAIL.Size = Vector3.new(6,1,6) | |
| 7371 | topJAIL.TopSurface = 'Smooth' | |
| 7372 | topJAIL.BottomSurface = 'Smooth' | |
| 7373 | p1 = Instance.new('Part', modJAIL)
| |
| 7374 | p1.Name = 'MAIN' | |
| 7375 | p1.BrickColor = BrickColor.new('Black')
| |
| 7376 | p1.Transparency = 1 | |
| 7377 | p1.Position = Vector3.new(-8.7,4,-11.6) | |
| 7378 | p1.Rotation = Vector3.new(-180,0,-180) | |
| 7379 | p1.Anchored = true | |
| 7380 | p1.Locked = true | |
| 7381 | p1.Size = Vector3.new(1,6,4) | |
| 7382 | p1.TopSurface = 'Smooth' | |
| 7383 | p1.BottomSurface = 'Smooth' | |
| 7384 | p2 = Instance.new('Part', modJAIL)
| |
| 7385 | p2.BrickColor = BrickColor.new('Black')
| |
| 7386 | p2.Transparency = 0.5 | |
| 7387 | p2.Position = Vector3.new(-3.7,4,-14.1) | |
| 7388 | p2.Anchored = true | |
| 7389 | p2.Locked = true | |
| 7390 | p2.Size = Vector3.new(1,6,1) | |
| 7391 | p2.TopSurface = 'Smooth' | |
| 7392 | p2.BottomSurface = 'Smooth' | |
| 7393 | p3 = Instance.new('Part', modJAIL)
| |
| 7394 | p3.BrickColor = BrickColor.new('Black')
| |
| 7395 | p3.Transparency = 0.5 | |
| 7396 | p3.Position = Vector3.new(-8.7,4,-9.1) | |
| 7397 | p3.Anchored = true | |
| 7398 | p3.Locked = true | |
| 7399 | p3.Size = Vector3.new(1,6,1) | |
| 7400 | p3.TopSurface = 'Smooth' | |
| 7401 | p3.BottomSurface = 'Smooth' | |
| 7402 | p4 = Instance.new('Part', modJAIL)
| |
| 7403 | p4.BrickColor = BrickColor.new('Black')
| |
| 7404 | p4.Transparency = 0.5 | |
| 7405 | p4.Position = Vector3.new(-3.7,4,-9.1) | |
| 7406 | p4.Anchored = true | |
| 7407 | p4.Locked = true | |
| 7408 | p4.Size = Vector3.new(1,6,1) | |
| 7409 | p4.TopSurface = 'Smooth' | |
| 7410 | p4.BottomSurface = 'Smooth' | |
| 7411 | p5 = Instance.new('Part', modJAIL)
| |
| 7412 | p5.BrickColor = BrickColor.new('Black')
| |
| 7413 | p5.Transparency = 0.5 | |
| 7414 | p5.Position = Vector3.new(-8.7,4,-14.1) | |
| 7415 | p5.Anchored = true | |
| 7416 | p5.Locked = true | |
| 7417 | p5.Size = Vector3.new(1,6,1) | |
| 7418 | p5.TopSurface = 'Smooth' | |
| 7419 | p5.BottomSurface = 'Smooth' | |
| 7420 | p6 = Instance.new('Part', modJAIL)
| |
| 7421 | p6.BrickColor = BrickColor.new('Black')
| |
| 7422 | p6.Transparency = 1 | |
| 7423 | p6.Position = Vector3.new(-6.2,4,-14.1) | |
| 7424 | p6.Rotation = Vector3.new(0,90,0) | |
| 7425 | p6.Anchored = true | |
| 7426 | p6.Locked = true | |
| 7427 | p6.Size = Vector3.new(1,6,4) | |
| 7428 | p6.TopSurface = 'Smooth' | |
| 7429 | p6.BottomSurface = 'Smooth' | |
| 7430 | p7 = Instance.new('Part', modJAIL)
| |
| 7431 | p7.BrickColor = BrickColor.new('Black')
| |
| 7432 | p7.Transparency = 1 | |
| 7433 | p7.Position = Vector3.new(-3.7,4,-11.6) | |
| 7434 | p7.Anchored = true | |
| 7435 | p7.Locked = true | |
| 7436 | p7.Size = Vector3.new(1,6,4) | |
| 7437 | p7.TopSurface = 'Smooth' | |
| 7438 | p7.BottomSurface = 'Smooth' | |
| 7439 | p8 = Instance.new('Part', modJAIL)
| |
| 7440 | p8.BrickColor = BrickColor.new('Black')
| |
| 7441 | p8.Transparency = 1 | |
| 7442 | p8.Position = Vector3.new(-6.2,4,-9.1) | |
| 7443 | p8.Rotation = Vector3.new(0,90,0) | |
| 7444 | p8.Anchored = true | |
| 7445 | p8.Locked = true | |
| 7446 | p8.Size = Vector3.new(1,6,4) | |
| 7447 | p8.TopSurface = 'Smooth' | |
| 7448 | p8.BottomSurface = 'Smooth' | |
| 7449 | ||
| 7450 | addcmd('ayylmao','ayy lmao',{'alien'},
| |
| 7451 | function(args, speaker) | |
| 7452 | local players = getPlayer(args[1], speaker) | |
| 7453 | for i,v in pairs(players)do | |
| 7454 | local pchar = gPlayers[v].Character | |
| 7455 | if pchar:FindFirstChild("Shirt") then
| |
| 7456 | pchar.Shirt:Destroy() | |
| 7457 | end | |
| 7458 | if pchar:FindFirstChild("Pants") then
| |
| 7459 | pchar.Pants:Destroy() | |
| 7460 | end | |
| 7461 | if pchar:FindFirstChild("Shirt Graphic") then
| |
| 7462 | pchar["Shirt Graphic"].Graphic = "" | |
| 7463 | end | |
| 7464 | for i,v in pairs(pchar:GetChildren()) do | |
| 7465 | if v:IsA("Accessory") then
| |
| 7466 | v:Destroy() | |
| 7467 | end | |
| 7468 | end | |
| 7469 | local ayylmao = DATA.ayylmao:Clone() | |
| 7470 | ayylmao.Parent = pchar | |
| 7471 | local BC = pchar["Body Colors"] | |
| 7472 | BC.HeadColor = BrickColor.new("Fossil")
| |
| 7473 | BC.LeftArmColor = BrickColor.new("Fossil")
| |
| 7474 | BC.LeftLegColor = BrickColor.new("Fossil")
| |
| 7475 | BC.RightArmColor = BrickColor.new("Fossil")
| |
| 7476 | BC.RightLegColor = BrickColor.new("Fossil")
| |
| 7477 | BC.TorsoColor = BrickColor.new("Fossil")
| |
| 7478 | end | |
| 7479 | end) | |
| 7480 | ||
| 7481 | ---------------------- | |
| 7482 | -----Commands GUI----- | |
| 7483 | ---------------------- | |
| 7484 | CMDsFolder = Instance.new("Folder", game.CoreGui)
| |
| 7485 | for i,v in pairs(CMDs) do | |
| 7486 | CMDsValue = Instance.new("StringValue", CMDsFolder)
| |
| 7487 | CMDsValue.Value = v | |
| 7488 | CMDsValue.RobloxLocked = true | |
| 7489 | end | |
| 7490 | cmdOpen = false | |
| 7491 | local function commands() | |
| 7492 | if cmdOpen == false then | |
| 7493 | cmdOpen = true | |
| 7494 | local cmds = DATA.CMDs:Clone() | |
| 7495 | cmds.Parent = game.CoreGui | |
| 7496 | local CMDsV = CMDsFolder:GetChildren() | |
| 7497 | for i = 1, #CMDsV do | |
| 7498 | local YSize = 25 | |
| 7499 | local Position = ((i * YSize) - YSize) | |
| 7500 | local newcmd = cmds.MAIN.Example:Clone() | |
| 7501 | newcmd.Parent = cmds.MAIN.CMDs | |
| 7502 | newcmd.Visible = true | |
| 7503 | newcmd.Position = UDim2.new(0,5,0, Position + 5) | |
| 7504 | newcmd.Text = "" .. CMDsV[i].Value | |
| 7505 | cmds.MAIN.CMDs.CanvasSize = UDim2.new(0,0,0, Position + 30) | |
| 7506 | cmdwin = game.CoreGui.CMDs | |
| 7507 | cmdwin.MAIN:TweenPosition(UDim2.new(0,1,1,-300),"Out","Quint",0.3,true) | |
| 7508 | cmdBAR:TweenPosition(UDim2.new(0,300,cmdbarpos,cmdbarpos2),"Out","Quint",0.3,true) | |
| 7509 | cmdbarpos3 = '0' | |
| 7510 | cmdbarpos4 = '300' | |
| 7511 | ||
| 7512 | game.CoreGui.CMDs.MAIN.Hide.MouseButton1Click:Connect(function() | |
| 7513 | cmdwin.MAIN:TweenPosition(UDim2.new(0,-350,1,-300),"Out","Quint",0.3,true) | |
| 7514 | cmdwin.HideFrame.Visible = true | |
| 7515 | cmdBAR:TweenPosition(UDim2.new(0,5,cmdbarpos,cmdbarpos2),"Out","Quint",0.3,true) | |
| 7516 | cmdbarpos3 = '0' | |
| 7517 | cmdbarpos4 = '5' | |
| 7518 | wait(0.4) | |
| 7519 | cmdwin.HideFrame:TweenPosition(UDim2.new(0,1,1,-300),"Out","Quint",0.3,true) | |
| 7520 | wait(1) | |
| 7521 | end) | |
| 7522 | game.CoreGui.CMDs.MAIN.Exit.MouseButton1Click:Connect(function() | |
| 7523 | cmdwin.MAIN:TweenPosition(UDim2.new(0,-350,1,-300),"Out","Quint",0.3,true) | |
| 7524 | cmdBAR:TweenPosition(UDim2.new(0,5,cmdbarpos,cmdbarpos2),"Out","Quint",0.3,true) | |
| 7525 | cmdbarpos3 = '0' | |
| 7526 | cmdbarpos4 = '5' | |
| 7527 | wait(0.4) | |
| 7528 | cmdOpen = false | |
| 7529 | game.CoreGui.CMDs:Destroy() | |
| 7530 | end) | |
| 7531 | end | |
| 7532 | game.CoreGui.CMDs.HideFrame.rtrn.MouseButton1Click:Connect(function() | |
| 7533 | cmdwin.HideFrame:TweenPosition(UDim2.new(0,-100,1,-300),"Out","Quint",0.3,true) | |
| 7534 | cmdBAR:TweenPosition(UDim2.new(0,300,cmdbarpos,cmdbarpos2),"Out","Quint",0.3,true) | |
| 7535 | cmdbarpos3 = '0' | |
| 7536 | cmdbarpos4 = '300' | |
| 7537 | wait(0.4) | |
| 7538 | cmdwin.HideFrame.Visible = false | |
| 7539 | cmdwin.MAIN:TweenPosition(UDim2.new(0,1,1,-300),"Out","Quint",0.3,true) | |
| 7540 | end) | |
| 7541 | end | |
| 7542 | end | |
| 7543 | ||
| 7544 | addcmd('cmds','prints cmds',{},
| |
| 7545 | function(args, speaker) | |
| 7546 | commands() | |
| 7547 | wait(0.2) | |
| 7548 | local main = game.CoreGui.CMDs | |
| 7549 | local frame = main.MAIN:WaitForChild('CMDs')
| |
| 7550 | local gui = main.MAIN:WaitForChild('Search')
| |
| 7551 | local focused = false | |
| 7552 | ||
| 7553 | Match = function(name,str) | |
| 7554 | return name:lower():find(str:lower()) and true | |
| 7555 | end | |
| 7556 | ||
| 7557 | gui.FocusLost:connect(function(enterpressed) | |
| 7558 | gui.Text = "Search" | |
| 7559 | end) | |
| 7560 | ||
| 7561 | IndexContents = function(str,bool) | |
| 7562 | local Index,SizeY = 0,0 | |
| 7563 | for i,v in next, frame:GetChildren() do | |
| 7564 | if bool then | |
| 7565 | if Match(v.Text,str) then | |
| 7566 | Index = Index + 1 | |
| 7567 | v.Position = UDim2.new(0,0,0,Index*v.AbsoluteSize.Y-v.AbsoluteSize.Y) | |
| 7568 | v.Visible = true | |
| 7569 | SizeY = SizeY + v.AbsoluteSize.Y | |
| 7570 | frame.CanvasSize = UDim2.new(0,0,0,SizeY) | |
| 7571 | else | |
| 7572 | v.Visible = false | |
| 7573 | end | |
| 7574 | else | |
| 7575 | v.Visible = true | |
| 7576 | SizeY = SizeY + v.AbsoluteSize.Y | |
| 7577 | frame.CanvasSize = UDim2.new(0,0,0,SizeY) | |
| 7578 | end | |
| 7579 | end | |
| 7580 | end | |
| 7581 | ||
| 7582 | game:GetService('RunService').Stepped:connect(function()
| |
| 7583 | if gui:IsFocused() and gui.Text == "Search" then | |
| 7584 | gui.Text = '' | |
| 7585 | end | |
| 7586 | end) | |
| 7587 | ||
| 7588 | gui.Changed:connect(function() | |
| 7589 | if gui:IsFocused() then IndexContents(gui.Text,true) end | |
| 7590 | end) | |
| 7591 | ||
| 7592 | IndexContents('',true)
| |
| 7593 | end) | |
| 7594 | ||
| 7595 | ----------------- | |
| 7596 | ---Command Bar--- | |
| 7597 | ----------------- | |
| 7598 | CMDbar.CMDbar.FocusLost:connect(function(enterpressed) | |
| 7599 | if enterpressed and CMDbar.CMDbar.Text ~= "" then | |
| 7600 | spawn(function () | |
| 7601 | execCmd(CMDbar.CMDbar.Text, Player) | |
| 7602 | end) | |
| 7603 | end | |
| 7604 | CMDbar.CMDbar:TweenPosition(UDim2.new(cmdbarpos3, cmdbarpos4, 1, 0), "InOut", "Quad", 0.5, true, nil) | |
| 7605 | cmdbarpos = '1' | |
| 7606 | cmdbarpos2 = '0' | |
| 7607 | end) | |
| 7608 | ||
| 7609 | Mouse.KeyDown:connect(function(Key) | |
| 7610 | if Key:byte() == 59 then | |
| 7611 | CMDbar.CMDbar:TweenPosition(UDim2.new(cmdbarpos3, cmdbarpos4, 1, -24), "InOut", "Quad", 0.5, true, nil) | |
| 7612 | CMDbar.CMDbar:CaptureFocus() | |
| 7613 | cmdbarpos = '1' | |
| 7614 | cmdbarpos2 = '-24' | |
| 7615 | end | |
| 7616 | end) | |
| 7617 | ||
| 7618 | ---------------- | |
| 7619 | --ESP function-- | |
| 7620 | ---------------- | |
| 7621 | local ESP = false | |
| 7622 | local track = false | |
| 7623 | function Create(base, team) | |
| 7624 | local MAIN = DATA.MAIN:Clone() | |
| 7625 | local F = MAIN.DOT | |
| 7626 | local ESP = MAIN.NAME | |
| 7627 | ||
| 7628 | MAIN.Parent = Player.PlayerGui | |
| 7629 | MAIN.Adornee = base | |
| 7630 | ||
| 7631 | F.Visible = true | |
| 7632 | ||
| 7633 | ESP.Text = base.Parent.Name:upper() | |
| 7634 | ESP.Visible = true | |
| 7635 | end | |
| 7636 | function Clear() | |
| 7637 | for _,v in pairs(Player.PlayerGui:children()) do | |
| 7638 | if v.Name == "MAIN" and v:IsA("BillboardGui") then
| |
| 7639 | v:Destroy() | |
| 7640 | end | |
| 7641 | end | |
| 7642 | end | |
| 7643 | function Find() | |
| 7644 | Clear() | |
| 7645 | track = true | |
| 7646 | spawn(function() | |
| 7647 | while wait() do | |
| 7648 | if track then | |
| 7649 | Clear() | |
| 7650 | for i,v in pairs(game.Players:players()) do | |
| 7651 | if v.Character and v.Character.Head then | |
| 7652 | Create(v.Character.Head, true) | |
| 7653 | end | |
| 7654 | end | |
| 7655 | end | |
| 7656 | wait(1) | |
| 7657 | end | |
| 7658 | end) | |
| 7659 | end | |
| 7660 | Mouse.KeyDown:connect(function(Key) | |
| 7661 | if Key:byte() == 30 then | |
| 7662 | if ESP == false then | |
| 7663 | Find() | |
| 7664 | ESP = true | |
| 7665 | elseif ESP == true then | |
| 7666 | Clear() | |
| 7667 | track = false | |
| 7668 | ESP = false | |
| 7669 | end | |
| 7670 | end | |
| 7671 | end) | |
| 7672 | ||
| 7673 | --------------------------------- | |
| 7674 | ----Notify animation/movement---- | |
| 7675 | --------------------------------- | |
| 7676 | local NOTIFY = DATA.Notification | |
| 7677 | NOTIFY.Parent = game.CoreGui | |
| 7678 | local usingNOTE = false | |
| 7679 | function Notify(msg) | |
| 7680 | if usingNOTE == false then | |
| 7681 | if NOTIFY.NOTIFY and NOTIFY.NOTIFY.NOTE then | |
| 7682 | spawn(function() | |
| 7683 | NOTIFY.NOTIFY:TweenPosition(UDim2.new(0, 0, 0, 0), "InOut", "Quad", 0.5, true, nil) | |
| 7684 | NOTIFY.NOTIFY.NOTE.Text = msg | |
| 7685 | usingNOTE = true | |
| 7686 | wait(3.5) | |
| 7687 | NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,-0.2,0), "InOut", "Quad", 0.5, true, nil) | |
| 7688 | usingNOTE = false | |
| 7689 | end) | |
| 7690 | end | |
| 7691 | end | |
| 7692 | end | |
| 7693 | ||
| 7694 | ------------------------- | |
| 7695 | --Startup notifications-- | |
| 7696 | ------------------------- | |
| 7697 | o1 = Instance.new("ScreenGui")
| |
| 7698 | o2 = Instance.new("Frame")
| |
| 7699 | o3 = Instance.new("Frame")
| |
| 7700 | o4 = Instance.new("Frame")
| |
| 7701 | o5 = Instance.new("ScrollingFrame")
| |
| 7702 | o6 = Instance.new("TextLabel")
| |
| 7703 | o7 = Instance.new("ScrollingFrame")
| |
| 7704 | o8 = Instance.new("TextLabel")
| |
| 7705 | o9 = Instance.new("Frame")
| |
| 7706 | o10 = Instance.new("ScrollingFrame")
| |
| 7707 | o11 = Instance.new("ScrollingFrame")
| |
| 7708 | o1.Name = "IntroGui" | |
| 7709 | o1.Parent = game.CoreGui | |
| 7710 | o2.Name = "MainFrame" | |
| 7711 | o2.Parent = o1 | |
| 7712 | o2.Size = UDim2.new(1,0,1,0) | |
| 7713 | o2.BackgroundColor3 = Color3.new(0, 0, 0) | |
| 7714 | o2.BackgroundTransparency = 1 | |
| 7715 | o2.BorderSizePixel = 0 | |
| 7716 | o3.Name = "Intro" | |
| 7717 | o3.Parent = o2 | |
| 7718 | o3.Size = UDim2.new(1,0,1,0) | |
| 7719 | o3.BackgroundColor3 = Color3.new(0, 0, 0) | |
| 7720 | o3.BackgroundTransparency = 1 | |
| 7721 | o3.BorderSizePixel = 0 | |
| 7722 | o3.ZIndex = 2 | |
| 7723 | o4.Name = "presents" | |
| 7724 | o4.Parent = o3 | |
| 7725 | o4.Position = UDim2.new(0,0,1,0) | |
| 7726 | o4.Size = UDim2.new(1,0,1,0) | |
| 7727 | o4.Position = UDim2.new(0,0,1,0) | |
| 7728 | o4.BackgroundColor3 = Color3.new(0, 0, 0) | |
| 7729 | o4.BackgroundTransparency = 0.69999998807907 | |
| 7730 | o4.BorderSizePixel = 0 | |
| 7731 | o4.ZIndex = 3 | |
| 7732 | o5.Name = "text1" | |
| 7733 | o5.Parent = o4 | |
| 7734 | o5.Position = UDim2.new(0,0,0.5,-50) | |
| 7735 | o5.Size = UDim2.new(1,0,0,100) | |
| 7736 | o5.Position = UDim2.new(0,0,0.5,-50) | |
| 7737 | o5.CanvasSize = UDim2.new(0,0,0,0) | |
| 7738 | o5.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 7739 | o5.BackgroundTransparency = 1 | |
| 7740 | o5.BorderSizePixel = 0 | |
| 7741 | o5.ZIndex = 3 | |
| 7742 | o5.ScrollBarThickness = 0 | |
| 7743 | o6.Name = "MainTL" | |
| 7744 | o6.Parent = o5 | |
| 7745 | o6.Position = UDim2.new(0,0,0,100) | |
| 7746 | o6.Size = UDim2.new(1,0,0,100) | |
| 7747 | o6.Text = "Infinite Yield" | |
| 7748 | o6.Position = UDim2.new(0,0,0,100) | |
| 7749 | o6.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 7750 | o6.BackgroundTransparency = 1 | |
| 7751 | o6.BorderSizePixel = 0 | |
| 7752 | o6.ZIndex = 5 | |
| 7753 | o6.Font = Enum.Font.Highway | |
| 7754 | o6.FontSize = Enum.FontSize.Size14 | |
| 7755 | o6.TextColor3 = Color3.new(1, 1, 1) | |
| 7756 | o6.TextScaled = true | |
| 7757 | o6.TextWrapped = true | |
| 7758 | o7.Name = "text2" | |
| 7759 | o7.Parent = o4 | |
| 7760 | o7.Position = UDim2.new(0,0,0.5,50) | |
| 7761 | o7.Size = UDim2.new(1,0,0,30) | |
| 7762 | o7.Position = UDim2.new(0,0,0.5,50) | |
| 7763 | o7.CanvasSize = UDim2.new(0,0,0,0) | |
| 7764 | o7.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 7765 | o7.BackgroundTransparency = 1 | |
| 7766 | o7.BorderSizePixel = 0 | |
| 7767 | o7.ZIndex = 3 | |
| 7768 | o7.ScrollBarThickness = 0 | |
| 7769 | o8.Name = "MainTL" | |
| 7770 | o8.Parent = o7 | |
| 7771 | o8.Position = UDim2.new(0,0,0,-31) | |
| 7772 | o8.Size = UDim2.new(1,0,0,30) | |
| 7773 | o8.Text = "Admin Commands" | |
| 7774 | o8.Position = UDim2.new(0,0,0,-31) | |
| 7775 | o8.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 7776 | o8.BackgroundTransparency = 1 | |
| 7777 | o8.BorderSizePixel = 0 | |
| 7778 | o8.ZIndex = 5 | |
| 7779 | o8.Font = Enum.Font.Highway | |
| 7780 | o8.FontSize = Enum.FontSize.Size36 | |
| 7781 | o8.TextColor3 = Color3.new(1, 1, 1) | |
| 7782 | o8.TextWrapped = true | |
| 7783 | o9.Name = "gametitle" | |
| 7784 | o9.Parent = o3 | |
| 7785 | o9.Position = UDim2.new(0,0,1,0) | |
| 7786 | o9.Size = UDim2.new(1,0,1,0) | |
| 7787 | o9.Position = UDim2.new(0,0,1,0) | |
| 7788 | o9.BackgroundColor3 = Color3.new(0, 0, 0) | |
| 7789 | o9.BackgroundTransparency = 0.69999998807907 | |
| 7790 | o9.BorderSizePixel = 0 | |
| 7791 | o9.ZIndex = 3 | |
| 7792 | o10.Name = "text1" | |
| 7793 | o10.Parent = o9 | |
| 7794 | o10.Position = UDim2.new(0,0,0.5,-50) | |
| 7795 | o10.Size = UDim2.new(1,0,0,100) | |
| 7796 | o10.Position = UDim2.new(0,0,0.5,-50) | |
| 7797 | o10.CanvasSize = UDim2.new(0,0,0,0) | |
| 7798 | o10.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 7799 | o10.BackgroundTransparency = 1 | |
| 7800 | o10.BorderSizePixel = 0 | |
| 7801 | o10.ZIndex = 3 | |
| 7802 | o10.ScrollBarThickness = 0 | |
| 7803 | o11.Name = "text2" | |
| 7804 | o11.Parent = o9 | |
| 7805 | o11.Position = UDim2.new(0,0,0.5,50) | |
| 7806 | o11.Size = UDim2.new(1,0,0,40) | |
| 7807 | o11.Position = UDim2.new(0,0,0.5,50) | |
| 7808 | o11.CanvasSize = UDim2.new(0,0,0,0) | |
| 7809 | o11.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 7810 | o11.BackgroundTransparency = 1 | |
| 7811 | o11.BorderSizePixel = 0 | |
| 7812 | o11.ZIndex = 3 | |
| 7813 | o11.ScrollBarThickness = 0 | |
| 7814 | wait(1) | |
| 7815 | local presents = game.CoreGui.IntroGui.MainFrame.Intro.presents | |
| 7816 | local presents_text1_mtl = presents.text1.MainTL | |
| 7817 | local presents_text2_mtl = presents.text2.MainTL | |
| 7818 | local gtitle = game.CoreGui.IntroGui.MainFrame.Intro.gametitle | |
| 7819 | ||
| 7820 | presents:TweenPosition(UDim2.new(0,0,0,0),"Out","Quad",0) | |
| 7821 | wait(0.5) | |
| 7822 | presents_text1_mtl:TweenPosition(UDim2.new(0,0,0.5,-54),"Out","Quad",1) | |
| 7823 | wait(0.5) | |
| 7824 | presents_text2_mtl:TweenPosition(UDim2.new(0,0,0.5,-18),"Out","Quad",0.3) | |
| 7825 | wait(3) | |
| 7826 | presents:TweenPosition(UDim2.new(0,0,-1,0),"Out","Quad",0.5) | |
| 7827 | gtitle:TweenPosition(UDim2.new(0,0,0,0),"Out","Quad",0.5) | |
| 7828 | wait(0.6) | |
| 7829 | gtitle:TweenPosition(UDim2.new(0,0,1,0),"Out","Quad",0.5) | |
| 7830 | presents:TweenPosition(UDim2.new(0,0,-1,-38),"Out","Quad",0) | |
| 7831 | wait(0.1) | |
| 7832 | if game.Workspace.FilteringEnabled == true then | |
| 7833 | NOTIFY.NOTIFY.BorderColor = BrickColor.new(255,0,0) | |
| 7834 | Notify('Filtering Status: ENABLED!')
| |
| 7835 | elseif game.Workspace.FilteringEnabled == false then | |
| 7836 | NOTIFY.NOTIFY.BorderColor = BrickColor.new(0,255,0) | |
| 7837 | Notify('Filtering Status: Disabled.')
| |
| 7838 | end | |
| 7839 | wait(4) | |
| 7840 | o1:Destroy() | |
| 7841 | NOTIFY.NOTIFY.BorderColor = BrickColor.new(255,255,255) | |
| 7842 | local IY = Instance.new("ScreenGui")
| |
| 7843 | local IYM = Instance.new("Frame")
| |
| 7844 | local TextLabel = Instance.new("TextLabel")
| |
| 7845 | IY.Name = "IY" | |
| 7846 | IY.Parent = game.CoreGui | |
| 7847 | IYM.Name = "IYM" | |
| 7848 | IYM.Parent = IY | |
| 7849 | IYM.BackgroundTransparency = 1 | |
| 7850 | IYM.Position = UDim2.new(0, 0, 0, 50) | |
| 7851 | IYM.Size = UDim2.new(1, -10, 1, -10) | |
| 7852 | TextLabel.Parent = IYM | |
| 7853 | TextLabel.BackgroundTransparency = 1 | |
| 7854 | TextLabel.Position = UDim2.new(0.00300000003, 0, 0.25, 10) | |
| 7855 | TextLabel.Size = UDim2.new(1, -14, 1, 0) | |
| 7856 | TextLabel.Font = Enum.Font.SourceSansItalic | |
| 7857 | TextLabel.FontSize = Enum.FontSize.Size18 | |
| 7858 | TextLabel.Text = "Thanks for using Infinite Yield v4.6.5. Say ;cmds for commands." | |
| 7859 | TextLabel.TextColor3 = Color3.new(1, 1, 1) | |
| 7860 | TextLabel.TextStrokeTransparency = 0.75 | |
| 7861 | TextLabel.TextXAlignment = Enum.TextXAlignment.Left | |
| 7862 | TextLabel.TextYAlignment = Enum.TextYAlignment.Top | |
| 7863 | wait(2) | |
| 7864 | IYM.TextLabel.TextStrokeColor3 = Color3.new(0.4,0.4,0.4) | |
| 7865 | wait(0.01) | |
| 7866 | IYM.TextLabel.TextStrokeColor3 = Color3.new(0.6,0.6,0.6) | |
| 7867 | wait(0.01) | |
| 7868 | IYM.TextLabel.TextStrokeColor3 = Color3.new(0.8,0.8,0.8) | |
| 7869 | wait(0.01) | |
| 7870 | IYM.TextLabel.TextStrokeColor3 = Color3.new(1,1,1) | |
| 7871 | wait(0.05) | |
| 7872 | IYM.TextLabel.TextStrokeColor3 = Color3.new(0.8,0.8,0.8) | |
| 7873 | wait(0.01) | |
| 7874 | IYM.TextLabel.TextStrokeColor3 = Color3.new(0.6,0.6,0.6) | |
| 7875 | wait(0.01) | |
| 7876 | IYM.TextLabel.TextStrokeColor3 = Color3.new(0.4,0.4,0.4) | |
| 7877 | wait(0.01) | |
| 7878 | IYM.TextLabel.TextStrokeColor3 = Color3.new(0.2,0.2,0.2) | |
| 7879 | wait(0.01) | |
| 7880 | IYM.TextLabel.TextStrokeColor3 = Color3.new(0,0,0) | |
| 7881 | wait(0.01) | |
| 7882 | IYM.TextLabel.TextStrokeColor3 = Color3.new(0.2,0.2,0.2) | |
| 7883 | wait(0.01) | |
| 7884 | IYM.TextLabel.TextStrokeColor3 = Color3.new(0.4,0.4,0.4) | |
| 7885 | wait(0.01) | |
| 7886 | IYM.TextLabel.TextStrokeColor3 = Color3.new(0.6,0.6,0.6) | |
| 7887 | wait(0.01) | |
| 7888 | IYM.TextLabel.TextStrokeColor3 = Color3.new(0.8,0.8,0.8) | |
| 7889 | wait(0.01) | |
| 7890 | IYM.TextLabel.TextStrokeColor3 = Color3.new(1,1,1) | |
| 7891 | wait(0.05) | |
| 7892 | IYM.TextLabel.TextStrokeColor3 = Color3.new(0.8,0.8,0.8) | |
| 7893 | wait(0.01) | |
| 7894 | IYM.TextLabel.TextStrokeColor3 = Color3.new(0.6,0.6,0.6) | |
| 7895 | wait(0.01) | |
| 7896 | IYM.TextLabel.TextStrokeColor3 = Color3.new(0.4,0.4,0.4) | |
| 7897 | wait(0.01) | |
| 7898 | IYM.TextLabel.TextStrokeColor3 = Color3.new(0.2,0.2,0.2) | |
| 7899 | wait(0.01) | |
| 7900 | IYM.TextLabel.TextStrokeColor3 = Color3.new(0,0,0) | |
| 7901 | wait(1) | |
| 7902 | local Asset = game:GetService("MarketplaceService"):GetProductInfo(937297244)
| |
| 7903 | wait(1) | |
| 7904 | if Asset.Name == "Infinite Yield 4.6.5" then | |
| 7905 | print('Infinite Yield is up to date! (Version ' .. Version .. ')')
| |
| 7906 | UTD = true | |
| 7907 | else | |
| 7908 | UTD = false | |
| 7909 | -- Objects | |
| 7910 | local Update = Instance.new("ScreenGui")
| |
| 7911 | local Notification = Instance.new("Frame")
| |
| 7912 | local Help = Instance.new("Frame")
| |
| 7913 | local helpframe = Instance.new("Frame")
| |
| 7914 | local Help_2 = Instance.new("Frame")
| |
| 7915 | local Notice = Instance.new("Frame")
| |
| 7916 | local TextLabel = Instance.new("TextLabel")
| |
| 7917 | local OKButton = Instance.new("TextButton")
| |
| 7918 | local Notice_2 = Instance.new("Frame")
| |
| 7919 | local TextLabel_2 = Instance.new("TextLabel")
| |
| 7920 | local ButtonSeparator = Instance.new("Frame")
| |
| 7921 | local HelpButton = Instance.new("TextButton")
| |
| 7922 | local OKButton_2 = Instance.new("TextButton")
| |
| 7923 | local Bar = Instance.new("Frame")
| |
| 7924 | ||
| 7925 | -- Properties | |
| 7926 | ||
| 7927 | Update.Name = "Update" | |
| 7928 | Update.Parent = game.CoreGui | |
| 7929 | Notification.Name = "Notification" | |
| 7930 | Notification.Parent = Update | |
| 7931 | Notification.BackgroundColor3 = Color3.new(0, 0, 0) | |
| 7932 | Notification.BackgroundTransparency = 0.5 | |
| 7933 | Notification.BorderSizePixel = 0 | |
| 7934 | Notification.Size = UDim2.new(1, 0, 0, 65) | |
| 7935 | Help.Name = "Help" | |
| 7936 | Help.Parent = Notification | |
| 7937 | Help.BackgroundColor3 = Color3.new(0, 0, 0) | |
| 7938 | Help.BackgroundTransparency = 1 | |
| 7939 | Help.BorderSizePixel = 0 | |
| 7940 | Help.Position = UDim2.new(0, 0, 0, 65) | |
| 7941 | Help.Size = UDim2.new(1, 0, 1, -22) | |
| 7942 | Help.Visible = false | |
| 7943 | helpframe.Name = "helpframe" | |
| 7944 | helpframe.Parent = Help | |
| 7945 | helpframe.BackgroundColor3 = Color3.new(0, 0, 0) | |
| 7946 | helpframe.BackgroundTransparency = 0.5 | |
| 7947 | helpframe.BorderSizePixel = 0 | |
| 7948 | helpframe.Size = UDim2.new(1, 0, 0, 65) | |
| 7949 | Help_2.Name = "Help" | |
| 7950 | Help_2.Parent = helpframe | |
| 7951 | Help_2.BackgroundColor3 = Color3.new(0, 0, 0) | |
| 7952 | Help_2.BackgroundTransparency = 1 | |
| 7953 | Help_2.BorderSizePixel = 0 | |
| 7954 | Help_2.Position = UDim2.new(0, 0, 0, 200) | |
| 7955 | Help_2.Size = UDim2.new(1, 0, 1, -22) | |
| 7956 | Notice.Name = "Notice" | |
| 7957 | Notice.Parent = helpframe | |
| 7958 | Notice.BackgroundColor3 = Color3.new(0, 0, 0) | |
| 7959 | Notice.BackgroundTransparency = 1 | |
| 7960 | Notice.BorderSizePixel = 0 | |
| 7961 | Notice.Position = UDim2.new(0, 0, 0, 2) | |
| 7962 | Notice.Size = UDim2.new(1, 0, 1, -22) | |
| 7963 | TextLabel.Parent = Notice | |
| 7964 | TextLabel.BackgroundColor3 = Color3.new(0, 0, 0) | |
| 7965 | TextLabel.BackgroundTransparency = 1 | |
| 7966 | TextLabel.BorderColor3 = Color3.new(0, 0, 0) | |
| 7967 | TextLabel.BorderSizePixel = 0 | |
| 7968 | TextLabel.Size = UDim2.new(1, 0, 1, 0) | |
| 7969 | TextLabel.Font = Enum.Font.SourceSansBold | |
| 7970 | TextLabel.FontSize = Enum.FontSize.Size14 | |
| 7971 | TextLabel.Text = "You can go to our site at infiniteyield.x10host.com to download the latest version. Otherwise join the discord: discord.gg/9MByKtG" | |
| 7972 | TextLabel.TextColor3 = Color3.new(1, 1, 1) | |
| 7973 | TextLabel.TextStrokeColor3 = Color3.new(0, 0, 0) | |
| 7974 | TextLabel.TextStrokeTransparency = 0.80000001192093 | |
| 7975 | TextLabel.TextWrapped = true | |
| 7976 | Notice_2.Name = "Notice" | |
| 7977 | Notice_2.Parent = Notification | |
| 7978 | Notice_2.BackgroundColor3 = Color3.new(0, 0, 0) | |
| 7979 | Notice_2.BackgroundTransparency = 1 | |
| 7980 | Notice_2.BorderSizePixel = 0 | |
| 7981 | Notice_2.Position = UDim2.new(0, 0, 0, 2) | |
| 7982 | Notice_2.Size = UDim2.new(1, 0, 1, -22) | |
| 7983 | TextLabel_2.Parent = Notice_2 | |
| 7984 | TextLabel_2.BackgroundColor3 = Color3.new(0, 0, 0) | |
| 7985 | TextLabel_2.BackgroundTransparency = 1 | |
| 7986 | TextLabel_2.BorderColor3 = Color3.new(0, 0, 0) | |
| 7987 | TextLabel_2.BorderSizePixel = 0 | |
| 7988 | TextLabel_2.Size = UDim2.new(1, 0, 1, 0) | |
| 7989 | TextLabel_2.Font = Enum.Font.SourceSansBold | |
| 7990 | TextLabel_2.FontSize = Enum.FontSize.Size14 | |
| 7991 | TextLabel_2.Text = "The version of Infinite Yield you are using is outdated! (Using version " .. Version .. " when " .. Asset.Name .. " is avalable)" | |
| 7992 | TextLabel_2.TextColor3 = Color3.new(1, 1, 1) | |
| 7993 | TextLabel_2.TextStrokeColor3 = Color3.new(0, 0, 0) | |
| 7994 | TextLabel_2.TextStrokeTransparency = 0.80000001192093 | |
| 7995 | TextLabel_2.TextWrapped = true | |
| 7996 | ButtonSeparator.Name = "ButtonSeparator" | |
| 7997 | ButtonSeparator.Parent = Notification | |
| 7998 | ButtonSeparator.BackgroundColor3 = Color3.new(0, 0, 0) | |
| 7999 | ButtonSeparator.BackgroundTransparency = 0.5 | |
| 8000 | ButtonSeparator.BorderColor3 = Color3.new(1, 1, 1) | |
| 8001 | ButtonSeparator.BorderSizePixel = 0 | |
| 8002 | ButtonSeparator.Position = UDim2.new(0.5, 0, 1, -22) | |
| 8003 | ButtonSeparator.Size = UDim2.new(0, 2, 0, 22) | |
| 8004 | HelpButton.Name = "HelpButton" | |
| 8005 | HelpButton.Parent = Notification | |
| 8006 | HelpButton.BackgroundColor3 = Color3.new(0, 0, 0) | |
| 8007 | HelpButton.BackgroundTransparency = 0.80000001192093 | |
| 8008 | HelpButton.BorderColor3 = Color3.new(0, 0, 0) | |
| 8009 | HelpButton.BorderSizePixel = 0 | |
| 8010 | HelpButton.Position = UDim2.new(0.5, 0, 1, -22) | |
| 8011 | HelpButton.Size = UDim2.new(0.5, 0, 0, 22) | |
| 8012 | HelpButton.Font = Enum.Font.Highway | |
| 8013 | HelpButton.FontSize = Enum.FontSize.Size18 | |
| 8014 | HelpButton.Text = "What should I do?" | |
| 8015 | HelpButton.TextColor3 = Color3.new(1, 1, 1) | |
| 8016 | OKButton_2.Name = "OKButton" | |
| 8017 | OKButton_2.Parent = Notification | |
| 8018 | OKButton_2.BackgroundColor3 = Color3.new(0, 0, 0) | |
| 8019 | OKButton_2.BackgroundTransparency = 0.80000001192093 | |
| 8020 | OKButton_2.BorderColor3 = Color3.new(0, 0, 0) | |
| 8021 | OKButton_2.BorderSizePixel = 0 | |
| 8022 | OKButton_2.Position = UDim2.new(0, 0, 1, -22) | |
| 8023 | OKButton_2.Size = UDim2.new(0.5, 0, 0, 22) | |
| 8024 | OKButton_2.Font = Enum.Font.Highway | |
| 8025 | OKButton_2.FontSize = Enum.FontSize.Size18 | |
| 8026 | OKButton_2.Text = "Ignore" | |
| 8027 | OKButton_2.TextColor3 = Color3.new(1, 1, 1) | |
| 8028 | Bar.Name = "Bar" | |
| 8029 | Bar.Parent = Notification | |
| 8030 | Bar.BackgroundColor3 = Color3.new(1, 0, 0) | |
| 8031 | Bar.BorderSizePixel = 0 | |
| 8032 | Bar.Size = UDim2.new(1, 0, 0, 2) | |
| 8033 | end | |
| 8034 | if UTD == false then | |
| 8035 | game.CoreGui.Update.Notification.HelpButton.MouseButton1Click:Connect(function() | |
| 8036 | wait() | |
| 8037 | game.CoreGui.Update.Notification.Help.Visible = true | |
| 8038 | end) | |
| 8039 | end | |
| 8040 | if UTD ==false then | |
| 8041 | game.CoreGui.Update.Notification.OKButton.MouseButton1Click:Connect(function() | |
| 8042 | wait() | |
| 8043 | game.CoreGui.Update:Destroy() | |
| 8044 | end) | |
| 8045 | end | |
| 8046 | wait(10) | |
| 8047 | IYM.TextLabel.TextStrokeTransparency = 0.65 | |
| 8048 | wait(0.05) | |
| 8049 | IYM.TextLabel.TextStrokeTransparency = 0.75 | |
| 8050 | wait(0.05) | |
| 8051 | IYM.TextLabel.TextStrokeTransparency = 0.85 | |
| 8052 | wait(0.05) | |
| 8053 | IYM.TextLabel.TextStrokeTransparency = 0.95 | |
| 8054 | wait(0.05) | |
| 8055 | IYM.TextLabel.TextStrokeTransparency = 1 | |
| 8056 | wait(0.05) | |
| 8057 | IYM.TextLabel.TextTransparency = 0.10 | |
| 8058 | wait(0.05) | |
| 8059 | IYM.TextLabel.TextTransparency = 0.20 | |
| 8060 | wait(0.05) | |
| 8061 | IYM.TextLabel.TextTransparency = 0.30 | |
| 8062 | wait(0.05) | |
| 8063 | IYM.TextLabel.TextTransparency = 0.40 | |
| 8064 | wait(0.05) | |
| 8065 | IYM.TextLabel.TextTransparency = 0.50 | |
| 8066 | wait(0.05) | |
| 8067 | IYM.TextLabel.TextTransparency = 0.60 | |
| 8068 | wait(0.05) | |
| 8069 | IYM.TextLabel.TextTransparency = 0.70 | |
| 8070 | wait(0.05) | |
| 8071 | IYM.TextLabel.TextTransparency = 0.80 | |
| 8072 | wait(0.05) | |
| 8073 | IYM.TextLabel.TextTransparency = 0.90 | |
| 8074 | wait(0.05) | |
| 8075 | IYM.TextLabel.TextTransparency = 1 | |
| 8076 | wait(0.05) | |
| 8077 | IY:Destroy() |