SHOW:
|
|
- or go back to the newest paste.
| 1 | local Player = game:service'Players':GetPlayerFromCharacter(script.Parent) | |
| 2 | if Player then | |
| 3 | local Owner = script.Owner | |
| 4 | Owner.Value = Owner.Value | |
| 5 | Owner:Destroy() | |
| 6 | local FakeMouse = script.FakeMouse:Clone(); | |
| 7 | FakeMouse.Parent = Player.Character; | |
| 8 | script.FakeMouse:Destroy() | |
| 9 | do | |
| 10 | local GUID = {}
| |
| 11 | do | |
| 12 | GUID.IDs = {};
| |
| 13 | function GUID:new(len) | |
| 14 | local id; | |
| 15 | if(not len)then | |
| 16 | id = (tostring(function() end)) | |
| 17 | id = id:gsub("function: ","")
| |
| 18 | else | |
| 19 | local function genID(len) | |
| 20 | local newID = "" | |
| 21 | for i = 1,len do | |
| 22 | newID = newID..string.char(math.random(48,90)) | |
| 23 | end | |
| 24 | return newID | |
| 25 | end | |
| 26 | repeat id = genID(len) until not GUID.IDs[id] | |
| 27 | local oid = id; | |
| 28 | id = {Trash=function() GUID.IDs[oid]=nil; end;Get=function() return oid; end}
| |
| 29 | GUID.IDs[oid]=true; | |
| 30 | end | |
| 31 | return id | |
| 32 | end | |
| 33 | end | |
| 34 | ||
| 35 | local AHB = Instance.new("BindableEvent")
| |
| 36 | ||
| 37 | local FPS = 30 | |
| 38 | ||
| 39 | local TimeFrame = 0 | |
| 40 | ||
| 41 | local LastFrame = tick() | |
| 42 | local Frame = 1/FPS | |
| 43 | ||
| 44 | game:service'RunService'.Heartbeat:connect(function(s,p) | |
| 45 | TimeFrame = TimeFrame + s | |
| 46 | if(TimeFrame >= Frame)then | |
| 47 | for i = 1,math.floor(TimeFrame/Frame) do | |
| 48 | AHB:Fire() | |
| 49 | end | |
| 50 | LastFrame=tick() | |
| 51 | TimeFrame=TimeFrame-Frame*math.floor(TimeFrame/Frame) | |
| 52 | end | |
| 53 | end) | |
| 54 | ||
| 55 | ||
| 56 | function swait(dur) | |
| 57 | if(dur == 0 or typeof(dur) ~= 'number')then | |
| 58 | AHB.Event:wait() | |
| 59 | else | |
| 60 | for i = 1, dur*FPS do | |
| 61 | AHB.Event:wait() | |
| 62 | end | |
| 63 | end | |
| 64 | end | |
| 65 | ||
| 66 | local oPlayer = Player | |
| 67 | local Player = oPlayer | |
| 68 | ||
| 69 | local loudnesses={}
| |
| 70 | script.Parent = Player.Character | |
| 71 | local CoAS = {Actions={}}
| |
| 72 | local Event = Instance.new("RemoteEvent")
| |
| 73 | Event.Name = "UserInputEvent" | |
| 74 | Event.Parent = Player.Character | |
| 75 | local Func = Instance.new("RemoteFunction")
| |
| 76 | Func.Name = "GetClientProperty" | |
| 77 | Func.Parent = Player.Character | |
| 78 | local fakeEvent = function() | |
| 79 | local t = {_fakeEvent=true,Waited={},Connected={}}
| |
| 80 | t.Connect = function(self,f) | |
| 81 | local ft={}
| |
| 82 | ft={Disconnected=false;disconnect=function(s) if(self.Function==ft)then self.Function=nil end s.Disconnected=true end}
| |
| 83 | ft.Disconnect=ft.disconnect | |
| 84 | ||
| 85 | ft.Func=function(...) | |
| 86 | for id,_ in next, t.Waited do | |
| 87 | t.Waited[id] = true | |
| 88 | end | |
| 89 | return f(...) | |
| 90 | end; | |
| 91 | ||
| 92 | table.insert(self.Connected,ft) | |
| 93 | return ft; | |
| 94 | end | |
| 95 | t.connect = t.Connect | |
| 96 | t.Wait = function() | |
| 97 | local guid = GUID:new(25) | |
| 98 | local waitingId = guid:Get() | |
| 99 | t.Waited[waitingId]=false | |
| 100 | repeat swait() until t.Waited[waitingId]==true | |
| 101 | t.Waited[waitingId]=nil; | |
| 102 | guid:Trash() | |
| 103 | end | |
| 104 | t.wait = t.Wait | |
| 105 | return t | |
| 106 | end | |
| 107 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
| |
| 108 | local UsIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
| |
| 109 | local Run = {RenderStepped=fakeEvent()}
| |
| 110 | ||
| 111 | function CoAS:BindAction(name,fun,touch,...) | |
| 112 | CoAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
| |
| 113 | end | |
| 114 | function CoAS:UnbindAction(name) | |
| 115 | CoAS.Actions[name] = nil | |
| 116 | end | |
| 117 | local function te(self,ev,...) | |
| 118 | local t = self[ev] | |
| 119 | if t and t._fakeEvent and t.Connected then | |
| 120 | for i,v in next, t.Connected do | |
| 121 | if(v.Func and not v.Disconnected)then | |
| 122 | v.Func(...) | |
| 123 | else | |
| 124 | t.Connected[i]=nil | |
| 125 | end | |
| 126 | end | |
| 127 | end | |
| 128 | end | |
| 129 | m.TrigEvent = te | |
| 130 | UsIS.TrigEvent = te | |
| 131 | Run.TrigEvent = te | |
| 132 | Event.OnServerEvent:Connect(function(plr,io) | |
| 133 | if plr~=Player then return end | |
| 134 | --[[table.foreach(io,print) | |
| 135 | print'---']] | |
| 136 | if io.Mouse then | |
| 137 | m.Target = io.Target | |
| 138 | m.Hit = io.Hit | |
| 139 | elseif io.KeyEvent then | |
| 140 | m:TrigEvent('Key'..io.KeyEvent,io.Key)
| |
| 141 | elseif io.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 142 | if io.UserInputState == Enum.UserInputState.Begin then | |
| 143 | m:TrigEvent("Button1Down")
| |
| 144 | else | |
| 145 | m:TrigEvent("Button1Up")
| |
| 146 | end | |
| 147 | end | |
| 148 | if(not io.KeyEvent and not io.Mouse)then | |
| 149 | ||
| 150 | for n,t in pairs(CoAS.Actions) do | |
| 151 | for _,k in pairs(t.Keys) do | |
| 152 | if k==io.KeyCode then | |
| 153 | t.Function(t.Name,io.UserInputState,io) | |
| 154 | end | |
| 155 | end | |
| 156 | end | |
| 157 | if io.UserInputState == Enum.UserInputState.Begin then | |
| 158 | UsIS:TrigEvent("InputBegan",io,false)
| |
| 159 | else | |
| 160 | UsIS:TrigEvent("InputEnded",io,false)
| |
| 161 | end | |
| 162 | end | |
| 163 | end) | |
| 164 | ||
| 165 | Func.OnServerInvoke = function(plr,inst,play) | |
| 166 | if plr~=Player then return end | |
| 167 | if(inst and typeof(inst) == 'Instance' and inst:IsA'Sound')then | |
| 168 | loudnesses[inst]=play | |
| 169 | end | |
| 170 | end | |
| 171 | ||
| 172 | function GetClientProperty(inst,prop) | |
| 173 | --if(script:IsA'LocalScript' or game:service'RunService':IsStudio())then return prop[inst] end | |
| 174 | if(prop == 'PlaybackLoudness' and loudnesses[inst])then | |
| 175 | return loudnesses[inst] | |
| 176 | elseif(prop == 'PlaybackLoudness')then | |
| 177 | return Func:InvokeClient(Player,'RegSound',inst) | |
| 178 | end | |
| 179 | return Func:InvokeClient(Player,inst,prop) | |
| 180 | end | |
| 181 | ||
| 182 | ||
| 183 | local oldGame = game; | |
| 184 | local function GetService(s,i) | |
| 185 | local service = s:GetService(i) | |
| 186 | if(i == 'Players')then | |
| 187 | local oldService = service; | |
| 188 | local fakeService = newproxy(true) | |
| 189 | getmetatable(fakeService).__index = function(s,i) | |
| 190 | if(s == fakeService)then s=oldService end | |
| 191 | if(i == 'LocalPlayer' or i == 'localPlayer')then | |
| 192 | local oldPlayer = Player; | |
| 193 | local fakePlayer = newproxy(true) | |
| 194 | getmetatable(fakePlayer).__index = function(s,i) | |
| 195 | if(i == 'GetMouse')then | |
| 196 | return function() return m; end | |
| 197 | end | |
| 198 | return Player[i] | |
| 199 | end | |
| 200 | getmetatable(fakePlayer).__newindex = function(s,i,v) | |
| 201 | Player[i]=v | |
| 202 | end | |
| 203 | getmetatable(fakePlayer).__call=function(self,...) | |
| 204 | if(self == fakePlayer)then self = Player end | |
| 205 | local wh = {...}
| |
| 206 | local name = table.remove(wh,1) | |
| 207 | for i,v in next, wh do | |
| 208 | wh[i]=v | |
| 209 | end | |
| 210 | if(name == 'GetMouse')then | |
| 211 | return m; | |
| 212 | end | |
| 213 | return self(name,unpack(wh)) | |
| 214 | end | |
| 215 | getmetatable(fakePlayer).__namecall=function(self,...) | |
| 216 | if(self == fakePlayer)then self = Player end | |
| 217 | local tuple={...}
| |
| 218 | local name = table.remove(tuple,#tuple) | |
| 219 | ||
| 220 | if(name == 'GetMouse')then | |
| 221 | return m; | |
| 222 | else | |
| 223 | return self[name](self,unpack(tuple)) | |
| 224 | end | |
| 225 | end | |
| 226 | ||
| 227 | return fakePlayer | |
| 228 | elseif(i == 'oPlayer')then | |
| 229 | return oPlayer | |
| 230 | else | |
| 231 | return s[i] | |
| 232 | end | |
| 233 | end | |
| 234 | getmetatable(fakeService).__newindex = function(s,i,v) | |
| 235 | if(s == fakeService)then s=oldService end | |
| 236 | s[i]=v | |
| 237 | end | |
| 238 | getmetatable(fakeService).__call=function(self,...) | |
| 239 | if(self == fakeService)then self = oldService end | |
| 240 | local wh = {...}
| |
| 241 | local name = table.remove(wh,1) | |
| 242 | for i,v in next, wh do | |
| 243 | wh[i]=v | |
| 244 | end | |
| 245 | return self(name,unpack(wh)) | |
| 246 | end | |
| 247 | getmetatable(fakeService).__namecall=function(self,...) | |
| 248 | if(self == fakeService)then self = oldService end | |
| 249 | local tuple={...}
| |
| 250 | local name = table.remove(tuple,#tuple) | |
| 251 | ||
| 252 | return self[name](self,unpack(tuple)) | |
| 253 | end | |
| 254 | getmetatable(fakeService).__metatable = 'gay' | |
| 255 | return fakeService | |
| 256 | elseif(i == 'RunService')then | |
| 257 | local oldService = service; | |
| 258 | local fakeService = newproxy(true) | |
| 259 | getmetatable(fakeService).__index = function(s,i) | |
| 260 | if(s == fakeService)then s=oldService end | |
| 261 | return Run[i] or s[i] | |
| 262 | end | |
| 263 | getmetatable(fakeService).__newindex = function(s,i,v) | |
| 264 | if(s == fakeService)then s=oldService end | |
| 265 | s[i]=v | |
| 266 | end | |
| 267 | getmetatable(fakeService).__call=function(self,...) | |
| 268 | if(self == fakeService)then self = oldService end | |
| 269 | local wh = {...}
| |
| 270 | local name = table.remove(wh,1) | |
| 271 | for i,v in next, wh do | |
| 272 | wh[i]=v | |
| 273 | end | |
| 274 | return self(name,unpack(wh)) | |
| 275 | end | |
| 276 | getmetatable(fakeService).__namecall=function(self,...) | |
| 277 | if(self == fakeService)then self = oldService end | |
| 278 | local tuple={...}
| |
| 279 | local name = table.remove(tuple,#tuple) | |
| 280 | ||
| 281 | return self[name](self,unpack(tuple)) | |
| 282 | end | |
| 283 | getmetatable(fakeService).__metatable = 'gay' | |
| 284 | return fakeService | |
| 285 | elseif(i == 'UserInputService')then | |
| 286 | return UsIS | |
| 287 | elseif(i == 'ContextActionService')then | |
| 288 | return CoAS; | |
| 289 | else | |
| 290 | return service | |
| 291 | end | |
| 292 | end | |
| 293 | local serviceFunctions={
| |
| 294 | service=true, | |
| 295 | GetService=true, | |
| 296 | } | |
| 297 | local fakeGame = newproxy(true) | |
| 298 | getmetatable(fakeGame).__index = function(s,i) | |
| 299 | if(s == fakeGame)then s=oldGame end | |
| 300 | local serv = GetService(oldGame,i) | |
| 301 | if serviceFunctions[i] then | |
| 302 | return GetService | |
| 303 | elseif(serv)then | |
| 304 | return serv | |
| 305 | else | |
| 306 | return s[i] | |
| 307 | end | |
| 308 | end | |
| 309 | getmetatable(fakeGame).__newindex = function(s,i,v) | |
| 310 | if(s == fakeGame)then s=oldGame end | |
| 311 | s[i]=v | |
| 312 | end | |
| 313 | getmetatable(fakeGame).__call=function(self,...) | |
| 314 | if(self == fakeGame)then self = oldGame end | |
| 315 | local wh = {...}
| |
| 316 | local name = table.remove(wh,1) | |
| 317 | for i,v in next, wh do | |
| 318 | if(v == fakeGame)then v = oldGame end | |
| 319 | wh[i]=v | |
| 320 | end | |
| 321 | if serviceFunctions[name] then | |
| 322 | return GetService(self,unpack(wh)) | |
| 323 | else | |
| 324 | return self(name,unpack(wh)) | |
| 325 | end | |
| 326 | end | |
| 327 | getmetatable(fakeGame). __namecall=function(self,...) | |
| 328 | if(self == fakeGame)then self = oldGame end | |
| 329 | local tuple={...}
| |
| 330 | local name = table.remove(tuple,#tuple) | |
| 331 | ||
| 332 | local funcToCall=self[name] | |
| 333 | ||
| 334 | if serviceFunctions[name] then | |
| 335 | return GetService(self,unpack(tuple)) | |
| 336 | else | |
| 337 | return self[name](self,unpack(tuple)) | |
| 338 | end | |
| 339 | end | |
| 340 | getmetatable(fakeGame).__metatable = 'gay' | |
| 341 | ||
| 342 | coroutine.wrap(function() | |
| 343 | while true do | |
| 344 | Run:TrigEvent('RenderStepped')
| |
| 345 | swait() | |
| 346 | end | |
| 347 | end)() | |
| 348 | game=fakeGame | |
| 349 | UserInputService,ContextActionService = UsIS,CoAS | |
| 350 | end | |
| 351 | end | |
| 352 | ||
| 353 | ||
| 354 | ||
| 355 | ||
| 356 | ||
| 357 | warn("Made by miyerajelo")
| |
| 358 | ||
| 359 | - | local plr = game.Players.Rappinlikeabeast |
| 359 | + | local plr = game.Players.silver22352 |
| 360 | repeat wait() until plr.Character | |
| 361 | local char = plr.Character | |
| 362 | repeat wait() until char:FindFirstChild("Humanoid")
| |
| 363 | local h = char.Humanoid | |
| 364 | local head = char.Head | |
| 365 | local torso = char.Torso | |
| 366 | local rightArm = char["Right Arm"] | |
| 367 | local leftArm = char["Left Arm"] | |
| 368 | local rightLeg = char["Right Leg"] | |
| 369 | local leftLeg = char["Left Leg"] | |
| 370 | ||
| 371 | local deb = game:GetService("Debris")
| |
| 372 | ||
| 373 | local Modes = {
| |
| 374 | "Normal", | |
| 375 | "BreaJoints", | |
| 376 | "Kick", | |
| 377 | "Explode", | |
| 378 | "T-Pose", | |
| 379 | "Remove Limbs", | |
| 380 | "Remove Legs", | |
| 381 | "Remove Mesh", | |
| 382 | "Respawn", | |
| 383 | "Destroy", | |
| 384 | "Seizure", | |
| 385 | "Fling", | |
| 386 | "Random Colors", | |
| 387 | "Copy", | |
| 388 | "Remove Humanoid", | |
| 389 | "Rainbowify", | |
| 390 | "Banish", | |
| 391 | "Server Ban", | |
| 392 | "DONT_KNOW_ANY_MORE_MODES" | |
| 393 | } | |
| 394 | ||
| 395 | local Mode = "Normal" | |
| 396 | ||
| 397 | print"Press F to Equip or Unequip the Gun" | |
| 398 | ||
| 399 | warn([[ | |
| 400 | ------------------------------------------------------ | |
| 401 | Chat Modes CMDS: | |
| 402 | ------------------------------------------------------ | |
| 403 | Mode.Normal (Damages a Player from 20 up to 50) | |
| 404 | Mode.Rainbowify (Gives an Object Rainbow Colors) | |
| 405 | Mode.RandomColors (Gives an Object Random Colors) | |
| 406 | Mode.RemoveHumanoid (Removes Humanoid from a Player) | |
| 407 | Mode.RemoveLimbs (Removes Arms from a Player) | |
| 408 | Mode.RemoveLegs (Removes Legs from a Player) | |
| 409 | Mode.RemoveMesh (Removes the Mesh of an Object) | |
| 410 | Mode.Destroy (Destroys the Hit Object [Besides Base] ) | |
| 411 | Mode.BreakJoints (Insta Kills Players ; Unuseable Parts) | |
| 412 | Mode.Ban (Server Ban a Player) | |
| 413 | Mode.Copy (WIP) | |
| 414 | Mode.Seizure (Give a Player a Seizure) | |
| 415 | Mode.Fling (WIP) | |
| 416 | Mode.T-Pose (T-Pose a Player) | |
| 417 | Mode.Respawn (Respawns a Player) | |
| 418 | Mode.Kick (Kicks a Player) | |
| 419 | Mode.Banish (Banishes a Player) | |
| 420 | Mode.Explode (Explodes the Hit Objected [Besides Base] ) | |
| 421 | ------------------------------------------------------- | |
| 422 | Chat Text CMDS | |
| 423 | ------------------------------------------------------- | |
| 424 | No.Text (Turns Text off) | |
| 425 | Yes.Text (Turns Text on) | |
| 426 | No.Color (No Text Colors) | |
| 427 | Yes.Color (Text Colors) | |
| 428 | Clear.Ban (Clears Server Ban List) | |
| 429 | Clear.Banish (Clears Banish List) | |
| 430 | ------------------------------------------------------- | |
| 431 | ]]) | |
| 432 | ||
| 433 | local it = Instance.new | |
| 434 | local cf = CFrame.new | |
| 435 | local angles = CFrame.Angles | |
| 436 | local fangles = CFrame.fromEulerAnglesXYZ | |
| 437 | local vn = Vector3.new | |
| 438 | local rad = math.rad | |
| 439 | local rand = math.random | |
| 440 | ||
| 441 | local Weapon = it("Model")
| |
| 442 | Weapon.Name = "Adds" | |
| 443 | local Delete = it("Model",char)
| |
| 444 | Delete.Name = "Banish_list" | |
| 445 | local Effects = it("Folder", Weapon)
| |
| 446 | Effects.Name = "Effects" | |
| 447 | ||
| 448 | local Reason = "Unknown Reason" | |
| 449 | local ServerReason = "Server Banned : Unkown Reason" | |
| 450 | local txt = Instance.new("BillboardGui", char)
| |
| 451 | txt.Adornee = head | |
| 452 | txt.Name = "Random Name" | |
| 453 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
| 454 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
| 455 | local text = Instance.new("TextLabel", txt)
| |
| 456 | text.Size = UDim2.new(10, 0, 7, 0) | |
| 457 | text.TextScaled = true | |
| 458 | text.FontSize = "Size24" | |
| 459 | text.TextSize = 26 | |
| 460 | text.TextTransparency = 0 | |
| 461 | text.TextColor3 = Color3.new(0,0,0) | |
| 462 | text.TextStrokeColor3 = Color3.new(255,255,255) | |
| 463 | text.BackgroundTransparency = 1 | |
| 464 | text.TextStrokeTransparency = 0 | |
| 465 | text.Font = "Code" | |
| 466 | text.Text = "Normal" | |
| 467 | ||
| 468 | function makeJoints(model) | |
| 469 | for _,v in pairs(model:GetChildren()) do | |
| 470 | if v:IsA("BasePart") then
| |
| 471 | v:MakeJoints() | |
| 472 | v.Anchored = false | |
| 473 | v.CanCollide = false | |
| 474 | else | |
| 475 | makeJoints(v) | |
| 476 | end | |
| 477 | end | |
| 478 | end | |
| 479 | ||
| 480 | --simple rainbow function | |
| 481 | local speed = 0.025 | |
| 482 | function zz(X) return math.acos(math.cos(X*math.pi))/math.pi end | |
| 483 | local count = 0 | |
| 484 | ||
| 485 | ||
| 486 | local rightArmJoint = Instance.new("Weld", rightArm)
| |
| 487 | rightArmJoint.Part0 = nil | |
| 488 | rightArmJoint.Part1 = torso | |
| 489 | rightArmJoint.C0 = cf(-((torso.Size.X/2) + (rightArm.Size.X/2)),0,0)*angles(0,0,0) | |
| 490 | local rightArmOriginCF = cf(-((torso.Size.X/2) + (rightArm.Size.X/2)),0,0)*angles(0,0,0) | |
| 491 | local rightArmTargetCF = rightArmOriginCF | |
| 492 | local rightArmHoldCF = rightArmOriginCF*angles(rad(-90), 0, 0)*cf(0, -0.5, 0.5) | |
| 493 | ||
| 494 | local rightLegJoint = Instance.new("Weld", rightLeg)
| |
| 495 | rightLegJoint.Part0 = nil | |
| 496 | rightLegJoint.Part1 = torso | |
| 497 | rightLegJoint.C0 = cf(0, ((torso.Size.Y/2)+(rightLeg.Size.Y/2)), 0)*angles(0,0,0) | |
| 498 | local rightLegOriginCF = cf(-(torso.Size.X/2) + rightLeg.Size.X/2, ((torso.Size.Y/2)+(rightLeg.Size.Y/2)), 0)*angles(0,0,0) | |
| 499 | local rightLegTargetCF = rightLegOriginCF | |
| 500 | ||
| 501 | game:GetService("RunService").Heartbeat:connect(function()
| |
| 502 | rightArmJoint.C0 = rightArmJoint.C0:lerp(rightArmTargetCF, 0.1) | |
| 503 | rightLegJoint.C0 = rightLegJoint.C0:lerp(rightLegTargetCF, 0.1) | |
| 504 | end) | |
| 505 | ||
| 506 | function weldBetween(p0, p1) | |
| 507 | local weld = Instance.new("Weld")
| |
| 508 | weld.Part0 = p0 | |
| 509 | weld.Part1 = p1 | |
| 510 | weld.C0 = p0.CFrame:inverse() | |
| 511 | weld.C1 = p1.CFrame:inverse() | |
| 512 | weld.Parent = p0 | |
| 513 | end | |
| 514 | ||
| 515 | function swait(num) | |
| 516 | if num == 0 or num == nil then | |
| 517 | game:GetService("RunService").Heartbeat:wait()
| |
| 518 | else | |
| 519 | for i = 1, num do | |
| 520 | game:GetService("RunService").Heartbeat:wait()
| |
| 521 | end | |
| 522 | end | |
| 523 | end | |
| 524 | ||
| 525 | function weldModel(model, pp) | |
| 526 | for _,v in pairs(model:GetChildren()) do | |
| 527 | if v:IsA("BasePart") then
| |
| 528 | local weld = Instance.new("Weld")
| |
| 529 | weld.Part0 = pp | |
| 530 | weld.Part1 = v | |
| 531 | weld.C0 = pp.CFrame:inverse() | |
| 532 | weld.C1 = v.CFrame:inverse() | |
| 533 | weld.Parent = pp | |
| 534 | end | |
| 535 | end | |
| 536 | end | |
| 537 | ||
| 538 | function explode(parte) | |
| 539 | local exp = it("Explosion",parte)
| |
| 540 | parte.CanCollide = false | |
| 541 | parte.Transparency = 1 | |
| 542 | CreateSound("141679994",parte,5.7,1)
| |
| 543 | exp.Position = parte.Position | |
| 544 | exp.BlastRadius = 0.072 | |
| 545 | exp.BlastPressure = 9e9999 | |
| 546 | swait(35) | |
| 547 | exp:destroy() | |
| 548 | parte:destroy() | |
| 549 | end | |
| 550 | ||
| 551 | local CF = CFrame.new | |
| 552 | local VT = Vector3.new | |
| 553 | local RAD = math.rad | |
| 554 | local C3 = Color3.new | |
| 555 | local UD2 = UDim2.new | |
| 556 | local BRICKC = BrickColor.new | |
| 557 | local ANGLES = CFrame.Angles | |
| 558 | local EULER = CFrame.fromEulerAnglesXYZ | |
| 559 | local COS = math.cos | |
| 560 | local ACOS = math.acos | |
| 561 | local SIN = math.sin | |
| 562 | local ASIN = math.asin | |
| 563 | local ABS = math.abs | |
| 564 | local MRANDOM = math.random | |
| 565 | local FLOOR = math.floor | |
| 566 | ||
| 567 | local TPoseRight = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) | |
| 568 | local TPoseLeft = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) | |
| 569 | ||
| 570 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
| 571 | local xs, ys, zs = x + x, y + y, z + z | |
| 572 | local wx, wy, wz = w * xs, w * ys, w * zs | |
| 573 | local xx = x * xs | |
| 574 | local xy = x * ys | |
| 575 | local xz = x * zs | |
| 576 | local yy = y * ys | |
| 577 | local yz = y * zs | |
| 578 | local zz = z * zs | |
| 579 | return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy)) | |
| 580 | end | |
| 581 | ||
| 582 | function QuaternionFromCFrame(cf) | |
| 583 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
| 584 | local trace = m00 + m11 + m22 | |
| 585 | if trace > 0 then | |
| 586 | local s = math.sqrt(1 + trace) | |
| 587 | local recip = 0.5 / s | |
| 588 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
| 589 | else | |
| 590 | local i = 0 | |
| 591 | if m11 > m00 then | |
| 592 | i = 1 | |
| 593 | end | |
| 594 | if m22 > (i == 0 and m00 or m11) then | |
| 595 | i = 2 | |
| 596 | end | |
| 597 | if i == 0 then | |
| 598 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
| 599 | local recip = 0.5 / s | |
| 600 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
| 601 | elseif i == 1 then | |
| 602 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
| 603 | local recip = 0.5 / s | |
| 604 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
| 605 | elseif i == 2 then | |
| 606 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
| 607 | local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
| 608 | end | |
| 609 | end | |
| 610 | end | |
| 611 | ||
| 612 | function QuaternionSlerp(a, b, t) | |
| 613 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
| 614 | local startInterp, finishInterp; | |
| 615 | if cosTheta >= 0.0001 then | |
| 616 | if (1 - cosTheta) > 0.0001 then | |
| 617 | local theta = ACOS(cosTheta) | |
| 618 | local invSinTheta = 1 / SIN(theta) | |
| 619 | startInterp = SIN((1 - t) * theta) * invSinTheta | |
| 620 | finishInterp = SIN(t * theta) * invSinTheta | |
| 621 | else | |
| 622 | startInterp = 1 - t | |
| 623 | finishInterp = t | |
| 624 | end | |
| 625 | else | |
| 626 | if (1 + cosTheta) > 0.0001 then | |
| 627 | local theta = ACOS(-cosTheta) | |
| 628 | local invSinTheta = 1 / SIN(theta) | |
| 629 | startInterp = SIN((t - 1) * theta) * invSinTheta | |
| 630 | finishInterp = SIN(t * theta) * invSinTheta | |
| 631 | else | |
| 632 | startInterp = t - 1 | |
| 633 | finishInterp = t | |
| 634 | end | |
| 635 | end | |
| 636 | return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp | |
| 637 | end | |
| 638 | ||
| 639 | function Clerp2(a, b, t) | |
| 640 | local qa = {QuaternionFromCFrame(a)}
| |
| 641 | local qb = {QuaternionFromCFrame(b)}
| |
| 642 | local ax, ay, az = a.x, a.y, a.z | |
| 643 | local bx, by, bz = b.x, b.y, b.z | |
| 644 | local _t = 1 - t | |
| 645 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
| 646 | end | |
| 647 | ||
| 648 | function seizure(boi) | |
| 649 | game:GetService("RunService").Stepped:connect(function()
| |
| 650 | boi:FindFirstChildOfClass("Humanoid").Health = math.random(1,100)
| |
| 651 | boi.HumanoidRootPart.RootJoint.C0 = boi.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(7,2,math.random(-1,1)) | |
| 652 | swait(0) | |
| 653 | boi.HumanoidRootPart.RootJoint.C0 = boi.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(5,3,math.random(-2,2)) | |
| 654 | swait(0) | |
| 655 | boi.HumanoidRootPart.RootJoint.C0 = boi.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(math.random(-4,4),0,0) | |
| 656 | swait(0) | |
| 657 | boi.HumanoidRootPart.RootJoint.C0 = CFrame.Angles(1,9,math.random(-5,5)) | |
| 658 | swait(0) | |
| 659 | end) | |
| 660 | end | |
| 661 | ||
| 662 | function Banish(CHARACTER) | |
| 663 | local BANFOLDER = it("Folder",Effects)
| |
| 664 | for i,v in ipairs(CHARACTER:GetChildren()) do | |
| 665 | if v.ClassName == "Part" or v.ClassName == "MeshPart" then | |
| 666 | if v.Name ~= "HumanoidRootPart" then | |
| 667 | local BOD = v:Clone() | |
| 668 | BOD.CanCollide = false | |
| 669 | BOD.Anchored = true | |
| 670 | BOD.CFrame = v.CFrame | |
| 671 | BOD.Parent = BANFOLDER | |
| 672 | BOD.Material = "Neon" | |
| 673 | BOD.Color = Color3.new(50,100,255) | |
| 674 | if BOD:FindFirstChildOfClass("Decal") then
| |
| 675 | BOD:FindFirstChildOfClass("Decal"):remove()
| |
| 676 | end | |
| 677 | if BOD.ClassName == "MeshPart" then | |
| 678 | BOD.TextureID = "" | |
| 679 | end | |
| 680 | end | |
| 681 | end | |
| 682 | end | |
| 683 | CHARACTER:remove() | |
| 684 | coroutine.resume(coroutine.create(function() | |
| 685 | for i = 1, 50 do | |
| 686 | swait(0) | |
| 687 | for i,v in ipairs(BANFOLDER:GetChildren()) do | |
| 688 | if v.ClassName == "Part" or v.ClassName == "MeshPart" then | |
| 689 | v.Transparency = 1 | |
| 690 | end | |
| 691 | end | |
| 692 | swait(0) | |
| 693 | for i,v in ipairs(BANFOLDER:GetChildren()) do | |
| 694 | if v.ClassName == "Part" or v.ClassName == "MeshPart" then | |
| 695 | v.Transparency = 0 | |
| 696 | end | |
| 697 | end | |
| 698 | end | |
| 699 | BANFOLDER:remove() | |
| 700 | end)) | |
| 701 | end | |
| 702 | ||
| 703 | function scan(obj) | |
| 704 | obj:BreakJoints() | |
| 705 | for _,v in pairs(obj:GetChildren()) do | |
| 706 | if v:IsA("BasePart") then
| |
| 707 | v.Anchored = false | |
| 708 | v.CanCollide = false | |
| 709 | else | |
| 710 | scan(v) | |
| 711 | end | |
| 712 | end | |
| 713 | end | |
| 714 | ||
| 715 | function randomColor(partos) | |
| 716 | game:GetService("RunService").Stepped:connect(function()
| |
| 717 | partos.Color = BrickColor.random().Color | |
| 718 | end) | |
| 719 | end | |
| 720 | ||
| 721 | local rainoColor = Color3.fromHSV(zz(count),1,1) | |
| 722 | local randmoColor = BrickColor.Random().Color | |
| 723 | local TableOfServerBannedIdiots = {}
| |
| 724 | ||
| 725 | game:GetService("RunService").Stepped:connect(function()
| |
| 726 | rainoColor = Color3.fromHSV(zz(count),1,1) | |
| 727 | randmoColor = BrickColor.Random().Color | |
| 728 | end) | |
| 729 | ||
| 730 | function rainbowify(parto) | |
| 731 | game:GetService("RunService").Stepped:connect(function()
| |
| 732 | parto.Color = Color3.fromHSV(zz(count),1,1) | |
| 733 | end) | |
| 734 | end | |
| 735 | ||
| 736 | function tpose(aaa) | |
| 737 | local lef = aaa.Torso:FindFirstChild("Left Shoulder")
| |
| 738 | local rig = aaa.Torso:FindFirstChild("Right Shoulder")
| |
| 739 | local ani = aaa:FindFirstChild("Animate")
| |
| 740 | swait(2) | |
| 741 | if ani ~= nil then | |
| 742 | ani:Destroy() | |
| 743 | end | |
| 744 | game:GetService("RunService").Stepped:connect(function()
| |
| 745 | rig.C0 = Clerp2(rig.C0, CF(1.5 * 1, 0.5 * 1, 0 * 1) * ANGLES(RAD(0), RAD(0), RAD(90)) * TPoseRight, 0.15 / 1) | |
| 746 | lef.C0 = Clerp2(lef.C0, CF(-1.5 * 1, 0.5 * 1, 0 * 1) * ANGLES(RAD(0), RAD(0), RAD(-90)) * TPoseLeft, 0.15 / 1) | |
| 747 | end) | |
| 748 | end | |
| 749 | ||
| 750 | function CreateSound(ID, PARENT, VOLUME, PITCH) | |
| 751 | local NEWSOUND = nil | |
| 752 | coroutine.resume(coroutine.create(function() | |
| 753 | NEWSOUND = Instance.new("Sound", PARENT)
| |
| 754 | NEWSOUND.Volume = VOLUME | |
| 755 | NEWSOUND.Pitch = PITCH | |
| 756 | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID | |
| 757 | swait(0) | |
| 758 | NEWSOUND:play() | |
| 759 | deb:AddItem(NEWSOUND, 10) | |
| 760 | end)) | |
| 761 | return NEWSOUND | |
| 762 | end | |
| 763 | ||
| 764 | function CreateMusic(id, parent, volume, pitch) | |
| 765 | local NEWSOUND2 = nil | |
| 766 | coroutine.resume(coroutine.create(function() | |
| 767 | NEWSOUND2 = Instance.new("Sound", parent)
| |
| 768 | NEWSOUND2.Volume = volume | |
| 769 | NEWSOUND2.Pitch = pitch | |
| 770 | NEWSOUND2.Looped = true | |
| 771 | NEWSOUND2.SoundId = "http://www.roblox.com/asset/?id="..id | |
| 772 | swait(0) | |
| 773 | NEWSOUND2:play() | |
| 774 | deb:AddItem(NEWSOUND2, 9e999) | |
| 775 | end)) | |
| 776 | return NEWSOUND2 | |
| 777 | end | |
| 778 | ||
| 779 | function ShotSnd(par, pit) | |
| 780 | local boomxd = nil | |
| 781 | coroutine.resume(coroutine.create(function() | |
| 782 | boomxd = Instance.new("Sound", par)
| |
| 783 | boomxd.Volume = 8 | |
| 784 | boomxd.Pitch = pit | |
| 785 | boomxd.SoundId = "http://www.roblox.com/asset/?id=274233484" | |
| 786 | swait(0) | |
| 787 | boomxd:play() | |
| 788 | deb:AddItem(boomxd, 2) | |
| 789 | end)) | |
| 790 | return boomxd | |
| 791 | end | |
| 792 | ||
| 793 | function surfaceChange(part) | |
| 794 | part.TopSurface = 10 | |
| 795 | part.BottomSurface = 10 | |
| 796 | part.FrontSurface = 10 | |
| 797 | part.BackSurface = 10 | |
| 798 | part.RightSurface = 10 | |
| 799 | part.LeftSurface = 10 | |
| 800 | end | |
| 801 | ||
| 802 | plr.Chatted:connect(function(msg) | |
| 803 | if(msg:sub(1,11) == "Mode.Normal")then | |
| 804 | Mode = "Normal" | |
| 805 | text.Text = "Normal" | |
| 806 | text.TextStrokeColor3 = Color3.new(255,255,255) | |
| 807 | elseif(msg:sub(1,17) == "Mode.RandomColors")then | |
| 808 | Mode = "Random Colors" | |
| 809 | text.Text = "Random Colors" | |
| 810 | text.TextStrokeColor3 = Color3.new(0,0,0) | |
| 811 | elseif(msg:sub(1,16) == "Mode.RemoveLimbs")then | |
| 812 | Mode = "Remove Limbs" | |
| 813 | text.Text = "Remove Limbs" | |
| 814 | text.TextStrokeColor3 = Color3.new(4,175,236) | |
| 815 | elseif(msg:sub(1,15) == "Mode.RemoveLegs")then | |
| 816 | Mode = "Remove Legs" | |
| 817 | text.Text = "Remove Legs" | |
| 818 | text.TextStrokeColor3 = Color3.new(0,0,255) | |
| 819 | elseif(msg:sub(1,12) == "Mode.Respawn")then | |
| 820 | Mode = "Respawn" | |
| 821 | text.Text = "Respawn" | |
| 822 | text.TextStrokeColor3 = Color3.new(0,255,0) | |
| 823 | elseif(msg:sub(1,12) == "Mode.Destroy")then | |
| 824 | Mode = "Destroy" | |
| 825 | text.Text = "Destroy" | |
| 826 | text.TextStrokeColor3 = Color3.new(117,0,0) | |
| 827 | elseif(msg:sub(1,11) == "Mode.T-Pose")then | |
| 828 | Mode = "T-Pose" | |
| 829 | text.Text = "T-Pose" | |
| 830 | text.TextStrokeColor3 = Color3.new(0,255,255) | |
| 831 | elseif(msg:sub(1,15) == "Mode.Rainbowify")then | |
| 832 | Mode = "Rainbowify" | |
| 833 | text.Text = "Rainbowify" | |
| 834 | text.TextStrokeColor3 = Color3.new(255,255,255) | |
| 835 | elseif(msg:sub(1,12) == "Mode.Explode")then | |
| 836 | Mode = "Explode" | |
| 837 | text.Text = "Explode" | |
| 838 | text.TextStrokeColor3 = Color3.new(255,176,0) | |
| 839 | elseif(msg:sub(1,11) == "Mode.Banish")then | |
| 840 | Mode = "Banish" | |
| 841 | text.Text = "Banish" | |
| 842 | text.TextStrokeColor3 = Color3.new(215,146,66) | |
| 843 | elseif(msg:sub(1,9) == "Mode.Kick")then | |
| 844 | Mode = "Kick" | |
| 845 | text.Text = "Kick" | |
| 846 | text.TextStrokeColor3 = Color3.new(255,0,0) | |
| 847 | elseif(msg:sub(1,8) == "Mode.Ban")then | |
| 848 | Mode = "Server Ban" | |
| 849 | text.Text = "Ban" | |
| 850 | text.TextStrokeColor3 = Color3.new(255,23,88) | |
| 851 | elseif(msg:sub(1,16) == "Mode.BreakJoints")then | |
| 852 | Mode = "BreakJoints" | |
| 853 | text.Text = "BreakJoints" | |
| 854 | text.TextStrokeColor3 = Color3.new(170,85,0) | |
| 855 | elseif(msg:sub(1,10) == "Mode.Fling")then | |
| 856 | Mode = "Fling" | |
| 857 | text.Text = "Fling" | |
| 858 | text.TextStrokeColor3 = Color3.new(255,0,191) | |
| 859 | elseif(msg:sub(1,15) == "Mode.RemoveMesh")then | |
| 860 | Mode = "Remove Mesh" | |
| 861 | text.Text = "Remove Mesh" | |
| 862 | text.TextStrokeColor3 = Color3.new(255,0,191) | |
| 863 | elseif(msg:sub(1,12) == "Mode.Seizure")then | |
| 864 | Mode = "Seizure" | |
| 865 | text.Text = "Seizure" | |
| 866 | text.TextStrokeColor3 = Color3.new(159,173,192) | |
| 867 | elseif(msg:sub(1,9) == "Mode.Copy")then | |
| 868 | Mode = "Copy" | |
| 869 | text.Text = "Copy" | |
| 870 | text.TextStrokeColor3 = Color3.new(161,196,140) | |
| 871 | elseif(msg:sub(1,19) == "Mode.RemoveHumanoid")then | |
| 872 | Mode = "Remove Humanoid" | |
| 873 | text.Text = "Remove Humanoid" | |
| 874 | text.TextStrokeColor3 = Color3.new(108,20,196) | |
| 875 | elseif(msg:sub(1,7) == "No.Text")then | |
| 876 | text.TextTransparency = 1 | |
| 877 | text.TextStrokeTransparency = 1 | |
| 878 | elseif(msg:sub(1,8) == "Yes.Text")then | |
| 879 | text.TextTransparency = 0 | |
| 880 | text.TextStrokeTransparency = 0 | |
| 881 | elseif(msg:sub(1,8) == "No.Color")then | |
| 882 | text.TextStrokeTransparency = 1 | |
| 883 | elseif(msg:sub(1,9) == "Yes.Color")then | |
| 884 | text.TextStrokeTransparency = 0 | |
| 885 | elseif(msg:sub(1,9) == "Clear.Ban")then | |
| 886 | TableOfServerBannedIdiots = {}
| |
| 887 | elseif(msg:sub(1,12) == "Clear.Banish")then | |
| 888 | Delete:ClearAllChilren() | |
| 889 | elseif(Mode == "Kick" and msg:sub(1,4) == "Set!")then | |
| 890 | Reason = "" ..msg:sub(5) | |
| 891 | elseif(Mode == "Kick" and msg:sub(1,5) == "/e s/")then | |
| 892 | Reason = "" ..msg:sub(6) | |
| 893 | elseif(Mode == "Server Ban" and msg:sub(1,5) == "/e s/")then | |
| 894 | Reason = "Server Banned : " ..msg:sub(6) | |
| 895 | elseif(Mode == "Server Ban" and msg:sub(1,4) == "Set!")then | |
| 896 | ServerReason = "Server Banned : " ..msg:sub(5) | |
| 897 | end | |
| 898 | end) | |
| 899 | ||
| 900 | text.TextStrokeTransparency = 1 | |
| 901 | text.TextTransparency = 1 | |
| 902 | ||
| 903 | function createPistol() | |
| 904 | local model = Instance.new("Model", char)
| |
| 905 | model.Name = "Pistol" | |
| 906 | ||
| 907 | local mag = Instance.new("Model", model)
| |
| 908 | mag.Name = "Mag" | |
| 909 | ||
| 910 | local m1 = Instance.new("Part", mag)
| |
| 911 | m1.Name = "Part" | |
| 912 | m1.Size = Vector3.new(0.200000003, 0.200000003, 0.323524684) | |
| 913 | m1.CFrame = CFrame.new(-11.2802582, 0.178448141, 16.346323, 0.9937675, 0.111472867, 0, -0.111472875, 0.9937675, 0, 0, 0, 1) | |
| 914 | m1.Anchored = false | |
| 915 | m1.CanCollide = false | |
| 916 | m1.BrickColor = BrickColor.new("Black")
| |
| 917 | surfaceChange(m1) | |
| 918 | local m2 = Instance.new("Part", mag)
| |
| 919 | m2.Name = "Part" | |
| 920 | m2.Size = Vector3.new(0.647049308, 0.200000003, 0.323524684) | |
| 921 | m2.CFrame = CFrame.new(-11.5902891, 0.13587451, 16.346323, 0.9937675, 0.111472867, 0, -0.111472875, 0.9937675, 0, 0, 0, 1) | |
| 922 | m2.Anchored = false | |
| 923 | m2.CanCollide = false | |
| 924 | m2.BrickColor = BrickColor.new("Black")
| |
| 925 | surfaceChange(m2) | |
| 926 | local m3 = Instance.new("Part", mag)
| |
| 927 | m3.Name = "Part" | |
| 928 | m3.Size = Vector3.new(0.307348371, 0.200000003, 0.323524684) | |
| 929 | m3.CFrame = CFrame.new(-11.4223385, 0.161293387, 16.346323, 0.988745034, -0.149589986, 0, 0.149582624, 0.9887532, 0, 0, 0, 1) | |
| 930 | m3.Anchored = false | |
| 931 | m3.CanCollide = false | |
| 932 | m3.BrickColor = BrickColor.new("Black")
| |
| 933 | surfaceChange(m3) | |
| 934 | local m4 = Instance.new("Part", mag)
| |
| 935 | m4.Name = "Part" | |
| 936 | m4.Size = Vector3.new(0.200000003, 0.200000003, 0.323524684) | |
| 937 | m4.CFrame = CFrame.new(-11.9297647, 0.157671332, 16.346323, 0.9937675, 0.111472867, 0, -0.111472875, 0.9937675, 0, 0, 0, 1) | |
| 938 | m4.Anchored = false | |
| 939 | m4.CanCollide = false | |
| 940 | m4.BrickColor = BrickColor.new("Black")
| |
| 941 | surfaceChange(m4) | |
| 942 | local m5 = Instance.new("Part", mag)
| |
| 943 | m5.Name = "PP" | |
| 944 | m5.Size = Vector3.new(0.541903794, 1.01101518, 0.200000003) | |
| 945 | m5.CFrame = CFrame.new(-11.5822363, 0.680492878, 16.346323, 0.9937675, 0.111472867, 0, -0.111472875, 0.9937675, 0, 0, 0, 1) | |
| 946 | m5.Anchored = false | |
| 947 | m5.CanCollide = false | |
| 948 | m5.BrickColor = BrickColor.new("Black")
| |
| 949 | surfaceChange(m5) | |
| 950 | local p2 = Instance.new("Part", model)
| |
| 951 | p2.Name = "Handle" | |
| 952 | p2.Size = Vector3.new(0.541903794, 1.01101518, 0.200000003) | |
| 953 | p2.CFrame = CFrame.new(-11.5822363, 0.680492878, 16.346323, 0.9937675, 0.111472867, 0, -0.111472875, 0.9937675, 0, 0, 0, 1) | |
| 954 | p2.Anchored = false | |
| 955 | p2.CanCollide = false | |
| 956 | p2.BrickColor = BrickColor.new("Medium stone grey")
| |
| 957 | surfaceChange(p2) | |
| 958 | local p3 = Instance.new("Part", model)
| |
| 959 | p3.Name = "Part" | |
| 960 | p3.Size = Vector3.new(0.541903794, 1.01910317, 0.200000003) | |
| 961 | p3.CFrame = CFrame.new(-11.5817852, 0.684512913, 16.4555092, 0.9937675, 0.111472867, 0, -0.111472875, 0.9937675, 0, 0, 0, 1) | |
| 962 | p3.Anchored = false | |
| 963 | p3.CanCollide = false | |
| 964 | p3.BrickColor = BrickColor.new("Smoky grey")
| |
| 965 | surfaceChange(p3) | |
| 966 | local p4 = Instance.new("Part", model)
| |
| 967 | p4.Name = "Part" | |
| 968 | p4.Size = Vector3.new(0.541903794, 1.01910317, 0.200000003) | |
| 969 | p4.CFrame = CFrame.new(-11.5817852, 0.684512913, 16.2371349, 0.9937675, 0.111472867, 0, -0.111472875, 0.9937675, 0, 0, 0, 1) | |
| 970 | p4.Anchored = false | |
| 971 | p4.CanCollide = false | |
| 972 | p4.BrickColor = BrickColor.new("Smoky grey")
| |
| 973 | surfaceChange(p4) | |
| 974 | local p5 = Instance.new("Part", model)
| |
| 975 | p5.Name = "Part" | |
| 976 | p5.Size = Vector3.new(0.200000003, 1.05954385, 0.274995983) | |
| 977 | p5.CFrame = CFrame.new(-11.8694487, 0.696427584, 16.346323, 0.9937675, 0.111472867, 0, -0.111472875, 0.9937675, 0, 0, 0, 1) | |
| 978 | p5.Anchored = false | |
| 979 | p5.CanCollide = false | |
| 980 | p5.BrickColor = BrickColor.new("Smoky grey")
| |
| 981 | surfaceChange(p5) | |
| 982 | local p6 = Instance.new("Part", model)
| |
| 983 | p6.Name = "Part" | |
| 984 | p6.Size = Vector3.new(0.200000003, 1.05954385, 0.274995983) | |
| 985 | p6.CFrame = CFrame.new(-11.2986317, 0.63239634, 16.346323, 0.9937675, 0.111472867, 0, -0.111472875, 0.9937675, 0, 0, 0, 1) | |
| 986 | p6.Anchored = false | |
| 987 | p6.CanCollide = false | |
| 988 | p6.BrickColor = BrickColor.new("Smoky grey")
| |
| 989 | surfaceChange(p6) | |
| 990 | local p7 = Instance.new("Part", model)
| |
| 991 | p7.Name = "Part" | |
| 992 | p7.Size = Vector3.new(0.3073484, 0.307348609, 0.200000003) | |
| 993 | p7.CFrame = CFrame.new(-11.5363941, 0.980687678, 16.4999962, 0.931046963, 0.364899546, 0, -0.364899546, 0.931046903, 0, 0, 0, 1) | |
| 994 | p7.Anchored = false | |
| 995 | p7.CanCollide = false | |
| 996 | p7.BrickColor = BrickColor.new("Black")
| |
| 997 | surfaceChange(p7) | |
| 998 | local p8 = Instance.new("Part", model)
| |
| 999 | p8.Name = "Part" | |
| 1000 | p8.Size = Vector3.new(0.3073484, 0.630873501, 0.200000003) | |
| 1001 | p8.CFrame = CFrame.new(-11.6234102, 0.567052245, 16.4999962, 0.993767619, 0.111472785, 0, -0.111472793, 0.99376756, 0, 0, 0, 1) | |
| 1002 | p8.Anchored = false | |
| 1003 | p8.CanCollide = false | |
| 1004 | p8.BrickColor = BrickColor.new("Black")
| |
| 1005 | surfaceChange(p8) | |
| 1006 | local p9 = Instance.new("Part", model)
| |
| 1007 | p9.Name = "Part" | |
| 1008 | p9.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) | |
| 1009 | p9.CFrame = CFrame.new(-11.3422289, 0.824556589, 16.4999962, -0.9937675, 0, 0.111472867, 0.111472875, 0, 0.9937675, 0, 1, 0) | |
| 1010 | p9.Anchored = false | |
| 1011 | p9.CanCollide = false | |
| 1012 | p9.BrickColor = BrickColor.new("Black")
| |
| 1013 | surfaceChange(p9) | |
| 1014 | local p10 = Instance.new("Part", model)
| |
| 1015 | p10.Name = "Part" | |
| 1016 | p10.Size = Vector3.new(0.3073484, 0.630873501, 0.200000003) | |
| 1017 | p10.CFrame = CFrame.new(-11.6234102, 0.567052245, 16.1926479, 0.993767619, 0.111472785, 0, -0.111472793, 0.99376756, 0, 0, 0, 1) | |
| 1018 | p10.Anchored = false | |
| 1019 | p10.CanCollide = false | |
| 1020 | p10.BrickColor = BrickColor.new("Black")
| |
| 1021 | surfaceChange(p10) | |
| 1022 | local p11 = Instance.new("Part", model)
| |
| 1023 | p11.Name = "Part" | |
| 1024 | p11.Size = Vector3.new(0.3073484, 0.307348609, 0.200000003) | |
| 1025 | p11.CFrame = CFrame.new(-11.5363941, 0.980687678, 16.1926479, 0.931046963, 0.364899546, 0, -0.364899546, 0.931046903, 0, 0, 0, 1) | |
| 1026 | p11.Anchored = false | |
| 1027 | p11.CanCollide = false | |
| 1028 | p11.BrickColor = BrickColor.new("Black")
| |
| 1029 | surfaceChange(p11) | |
| 1030 | local p12 = Instance.new("Part", model)
| |
| 1031 | p12.Name = "Part" | |
| 1032 | p12.Size = Vector3.new(0.200000003, 0.200000003, 0.218379155) | |
| 1033 | p12.CFrame = CFrame.new(-11.9146175, 0.656711042, 16.3503666, 0.9937675, 0.111472867, 0, -0.111472875, 0.9937675, 0, 0, 0, 1) | |
| 1034 | p12.Anchored = false | |
| 1035 | p12.CanCollide = false | |
| 1036 | p12.BrickColor = BrickColor.new("Black")
| |
| 1037 | surfaceChange(p12) | |
| 1038 | local p13 = Instance.new("Part", model)
| |
| 1039 | p13.Name = "Part" | |
| 1040 | p13.Size = Vector3.new(0.200000003, 0.200000003, 0.218379155) | |
| 1041 | p13.CFrame = CFrame.new(-11.8940992, 0.743149281, 16.3503666, 0.988745034, -0.149589986, 0, 0.149582624, 0.9887532, 0, 0, 0, 1) | |
| 1042 | p13.Anchored = false | |
| 1043 | p13.CanCollide = false | |
| 1044 | p13.BrickColor = BrickColor.new("Black")
| |
| 1045 | surfaceChange(p13) | |
| 1046 | local p14 = Instance.new("Part", model)
| |
| 1047 | p14.Name = "Part" | |
| 1048 | p14.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) | |
| 1049 | p14.CFrame = CFrame.new(-11.8513021, 1.22758293, 16.3503666, 0.828027964, 0.560686827, 0, -0.560686827, 0.828027904, 0, 0, 0, 1) | |
| 1050 | p14.Anchored = false | |
| 1051 | p14.CanCollide = false | |
| 1052 | p14.BrickColor = BrickColor.new("Black")
| |
| 1053 | surfaceChange(p14) | |
| 1054 | local p15 = Instance.new("Part", model)
| |
| 1055 | p15.Name = "Part" | |
| 1056 | p15.Size = Vector3.new(0.200000003, 0.200000003, 0.218379155) | |
| 1057 | p15.CFrame = CFrame.new(-11.8547096, 0.967769444, 16.3503666, 0.931046963, 0.364899546, 0, -0.364899546, 0.931046903, 0, 0, 0, 1) | |
| 1058 | p15.Anchored = false | |
| 1059 | p15.CanCollide = false | |
| 1060 | p15.BrickColor = BrickColor.new("Black")
| |
| 1061 | surfaceChange(p15) | |
| 1062 | local p16 = Instance.new("Part", model)
| |
| 1063 | p16.Name = "Part" | |
| 1064 | p16.Size = Vector3.new(0.200000003, 0.200000003, 0.218379155) | |
| 1065 | p16.CFrame = CFrame.new(-11.848114, 0.983309388, 16.3503666, 0.9937675, 0.111472867, 0, -0.111472875, 0.9937675, 0, 0, 0, 1) | |
| 1066 | p16.Anchored = false | |
| 1067 | p16.CanCollide = false | |
| 1068 | p16.BrickColor = BrickColor.new("Black")
| |
| 1069 | surfaceChange(p16) | |
| 1070 | local p17 = Instance.new("Part", model)
| |
| 1071 | p17.Name = "Part" | |
| 1072 | p17.Size = Vector3.new(0.200000003, 0.200000003, 0.218379155) | |
| 1073 | p17.CFrame = CFrame.new(-11.8507061, 1.06176257, 16.3503666, 0.988745034, -0.149589986, 0, 0.149582624, 0.9887532, 0, 0, 0, 1) | |
| 1074 | p17.Anchored = false | |
| 1075 | p17.CanCollide = false | |
| 1076 | p17.BrickColor = BrickColor.new("Black")
| |
| 1077 | surfaceChange(p17) | |
| 1078 | local p18 = Instance.new("Part", model)
| |
| 1079 | p18.Name = "Part" | |
| 1080 | p18.Size = Vector3.new(0.376906186, 0.200000003, 0.200000003) | |
| 1081 | p18.CFrame = CFrame.new(-11.9414015, 1.36785984, 16.3503666, 0.828027964, 0.560686827, 0, -0.560686827, 0.828027904, 0, 0, 0, 1) | |
| 1082 | p18.Anchored = false | |
| 1083 | p18.CanCollide = false | |
| 1084 | p18.BrickColor = BrickColor.new("Black")
| |
| 1085 | surfaceChange(p18) | |
| 1086 | local p19 = Instance.new("Part", model)
| |
| 1087 | p19.Name = "Part" | |
| 1088 | p19.Size = Vector3.new(0.200000003, 0.200000003, 0.218379155) | |
| 1089 | p19.CFrame = CFrame.new(-11.8434582, 1.11297774, 16.3503666, 0.951277733, -0.308335513, 0, 0.308335543, 0.951277614, 0, 0, 0, 1) | |
| 1090 | p19.Anchored = false | |
| 1091 | p19.CanCollide = false | |
| 1092 | p19.BrickColor = BrickColor.new("Black")
| |
| 1093 | surfaceChange(p19) | |
| 1094 | local p20 = Instance.new("Part", model)
| |
| 1095 | p20.Name = "Part" | |
| 1096 | p20.Size = Vector3.new(0.200000003, 0.237790748, 0.200000003) | |
| 1097 | p20.CFrame = CFrame.new(-11.9254217, 1.21484756, 16.3503666, 0.756803453, -0.653634727, 0, 0.653631568, 0.756821513, 0, 0, 0, 1) | |
| 1098 | p20.Anchored = false | |
| 1099 | p20.CanCollide = false | |
| 1100 | p20.BrickColor = BrickColor.new("Black")
| |
| 1101 | surfaceChange(p20) | |
| 1102 | local p21 = Instance.new("Part", model)
| |
| 1103 | p21.Name = "Part" | |
| 1104 | p21.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) | |
| 1105 | p21.CFrame = CFrame.new(-12.0393581, 1.33804011, 16.3503666, 0.717730284, -0.696321309, 0, 0.696321249, 0.717730284, 0, 0, 0, 1) | |
| 1106 | p21.Anchored = false | |
| 1107 | p21.CanCollide = false | |
| 1108 | p21.BrickColor = BrickColor.new("Black")
| |
| 1109 | surfaceChange(p21) | |
| 1110 | local p22 = Instance.new("Part", model)
| |
| 1111 | p22.Name = "Part" | |
| 1112 | p22.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) | |
| 1113 | p22.CFrame = CFrame.new(-12.0967665, 1.41755128, 16.3503666, 0.983917534, 0.178622946, 0, -0.178622946, 0.983917534, 0, 0, 0, 1) | |
| 1114 | p22.Anchored = false | |
| 1115 | p22.CanCollide = false | |
| 1116 | p22.BrickColor = BrickColor.new("Black")
| |
| 1117 | surfaceChange(p22) | |
| 1118 | local p23 = Instance.new("Part", model)
| |
| 1119 | p23.Name = "Part" | |
| 1120 | p23.Size = Vector3.new(0.271760672, 0.200000003, 0.200000003) | |
| 1121 | p23.CFrame = CFrame.new(-11.9907618, 1.34500718, 16.3503666, 0.828027964, 0.560686827, 0, -0.560686827, 0.828027904, 0, 0, 0, 1) | |
| 1122 | p23.Anchored = false | |
| 1123 | p23.CanCollide = false | |
| 1124 | p23.BrickColor = BrickColor.new("Black")
| |
| 1125 | surfaceChange(p23) | |
| 1126 | local p24 = Instance.new("Part", model)
| |
| 1127 | p24.Name = "Part" | |
| 1128 | p24.Size = Vector3.new(0.604991019, 0.200000003, 0.276613623) | |
| 1129 | p24.CFrame = CFrame.new(-11.5234394, 1.22756207, 16.3455143, 0.9937675, 0.111472867, 0, -0.111472875, 0.9937675, 0, 0, 0, 1) | |
| 1130 | p24.Anchored = false | |
| 1131 | p24.CanCollide = false | |
| 1132 | p24.BrickColor = BrickColor.new("Black")
| |
| 1133 | surfaceChange(p24) | |
| 1134 | local p25 = Instance.new("Part", model)
| |
| 1135 | p25.Name = "Part" | |
| 1136 | p25.Size = Vector3.new(1.74703312, 0.2685256, 0.323524684) | |
| 1137 | p25.CFrame = CFrame.new(-10.9460964, 1.39836848, 16.3285313, 1, 1.70171716e-005, 0, -1.70171716e-005, 1, 0, 0, 0, 1) | |
| 1138 | p25.Anchored = false | |
| 1139 | p25.CanCollide = false | |
| 1140 | p25.BrickColor = BrickColor.new("Black")
| |
| 1141 | surfaceChange(p25) | |
| 1142 | local p26 = Instance.new("Part", model)
| |
| 1143 | p26.Name = "Part" | |
| 1144 | p26.Size = Vector3.new(0.511169076, 0.200000003, 0.237790659) | |
| 1145 | p26.CFrame = CFrame.new(-11.4444475, 1.2284658, 16.3285313, 1, 1.70171716e-005, 0, -1.70171716e-005, 1, 0, 0, 0, 1) | |
| 1146 | p26.Anchored = false | |
| 1147 | p26.CanCollide = false | |
| 1148 | p26.BrickColor = BrickColor.new("Black")
| |
| 1149 | surfaceChange(p26) | |
| 1150 | local p27 = Instance.new("Part", model)
| |
| 1151 | p27.Name = "Part" | |
| 1152 | p27.Size = Vector3.new(0.888075173, 0.200000003, 0.31058377) | |
| 1153 | p27.CFrame = CFrame.new(-10.7495079, 1.20498598, 16.3285313, 1, 1.70171716e-005, 0, -1.70171716e-005, 1, 0, 0, 0, 1) | |
| 1154 | p27.Anchored = false | |
| 1155 | p27.CanCollide = false | |
| 1156 | p27.BrickColor = BrickColor.new("Black")
| |
| 1157 | surfaceChange(p27) | |
| 1158 | local p28 = Instance.new("Part", model)
| |
| 1159 | p28.Name = "Part" | |
| 1160 | p28.Size = Vector3.new(0.339700907, 0.200000003, 0.200000003) | |
| 1161 | p28.CFrame = CFrame.new(-10.1629801, 1.31906176, 16.3285313, 1, 1.70171716e-005, 0, -1.70171716e-005, 1, 0, 0, 0, 1) | |
| 1162 | p28.Anchored = false | |
| 1163 | p28.CanCollide = false | |
| 1164 | p28.BrickColor = BrickColor.new("Black")
| |
| 1165 | surfaceChange(p28) | |
| 1166 | local p29 = Instance.new("Part", model)
| |
| 1167 | p29.Name = "Main" | |
| 1168 | p29.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) | |
| 1169 | p29.CFrame = CFrame.new(-9.94953632, 1.48003721, 16.3016109, 0, -1, 1.70171716e-005, 0, 1.70171716e-005, 1, -1, 0, 0) | |
| 1170 | p29.Anchored = false | |
| 1171 | p29.CanCollide = false | |
| 1172 | p29.BrickColor = BrickColor.new("Institutional wHite")
| |
| 1173 | surfaceChange(p29) | |
| 1174 | local p30 = Instance.new("Part", model)
| |
| 1175 | p30.Name = "ShootTop" | |
| 1176 | p30.Size = Vector3.new(1.80203247, 0.211908743, 0.3510243) | |
| 1177 | p30.CFrame = CFrame.new(-10.9396744, 1.61764574, 16.3285313, 1, 1.70171716e-005, 0, -1.70171716e-005, 1, 0, 0, 0, 1) | |
| 1178 | p30.Anchored = false | |
| 1179 | p30.CanCollide = false | |
| 1180 | p30.BrickColor = BrickColor.new("Smoky grey")
| |
| 1181 | surfaceChange(p30) | |
| 1182 | local p31 = Instance.new("Part", model)
| |
| 1183 | p31.Name = "Part" | |
| 1184 | p31.Size = Vector3.new(0.200000003, 0.200000003, 0.244261131) | |
| 1185 | p31.CFrame = CFrame.new(-10.0182848, 1.47841287, 16.2991848, 1, 1.70171716e-005, 0, -1.70171716e-005, 1, 0, 0, 0, 1) | |
| 1186 | p31.Anchored = false | |
| 1187 | p31.CanCollide = false | |
| 1188 | p31.BrickColor = BrickColor.new("Black")
| |
| 1189 | surfaceChange(p31) | |
| 1190 | ||
| 1191 | scan(model) | |
| 1192 | weldModel(model, model.Handle) | |
| 1193 | weldModel(mag, model.Handle) | |
| 1194 | return model | |
| 1195 | end | |
| 1196 | ||
| 1197 | ||
| 1198 | function activated() | |
| 1199 | local gun = createPistol() | |
| 1200 | gun.PrimaryPart = gun.Handle | |
| 1201 | gun:SetPrimaryPartCFrame(rightArm.CFrame*cf(0, -1, 0)*angles(0, rad(90), 0)*fangles(0, 0, rad(-90))) | |
| 1202 | weldBetween(gun.PrimaryPart, rightArm) | |
| 1203 | ||
| 1204 | return gun | |
| 1205 | end | |
| 1206 | ||
| 1207 | local g1 = nil | |
| 1208 | ||
| 1209 | local ac = false | |
| 1210 | ||
| 1211 | local cu = true | |
| 1212 | ||
| 1213 | mouse.KeyDown:connect(function(key) | |
| 1214 | if key:lower() == "f" then | |
| 1215 | if not ac then | |
| 1216 | g1 = activated() | |
| 1217 | rightArmJoint.Part0 = rightArm | |
| 1218 | rightArmTargetCF = rightArmHoldCF | |
| 1219 | ac = true | |
| 1220 | text.TextTransparency = 0 | |
| 1221 | text.TextStrokeTransparency = 0 | |
| 1222 | else | |
| 1223 | rightArmTargetCF = rightArmOriginCF | |
| 1224 | wait(0.2) | |
| 1225 | g1:Destroy() | |
| 1226 | g1 = nil | |
| 1227 | rightArmJoint.Part0 = nil | |
| 1228 | ac = false | |
| 1229 | text.TextTransparency = 1 | |
| 1230 | text.TextStrokeTransparency = 1 | |
| 1231 | end | |
| 1232 | elseif key:lower() == "e" then | |
| 1233 | if Mode == "Remove Legs" then | |
| 1234 | Mode = "Normal" | |
| 1235 | text.Text = "Normal" | |
| 1236 | text.TextStrokeColor3 = Color3.new(255,255,255) | |
| 1237 | elseif Mode == "Rainbowify" then | |
| 1238 | Mode = "Random Colors" | |
| 1239 | text.Text = "Random Colors" | |
| 1240 | text.TextStrokeColor3 = Color3.new(0,0,0) | |
| 1241 | elseif Mode == "Remove Mesh" then | |
| 1242 | Mode = "Remove Limbs" | |
| 1243 | text.Text = "Remove Limbs" | |
| 1244 | text.TextStrokeColor3 = Color3.new(4,175,236) | |
| 1245 | elseif Mode == "Remove Limbs" then | |
| 1246 | Mode = "Remove Legs" | |
| 1247 | text.Text = "Remove Legs" | |
| 1248 | text.TextStrokeColor3 = Color3.new(0,0,255) | |
| 1249 | elseif Mode == "Normal" then | |
| 1250 | Mode = "Respawn" | |
| 1251 | text.Text = "Respawn" | |
| 1252 | text.TextStrokeColor3 = Color3.new(0,255,0) | |
| 1253 | elseif Mode == "Respawn" then | |
| 1254 | Mode = "Destroy" | |
| 1255 | text.Text = "Destroy" | |
| 1256 | text.TextStrokeColor3 = Color3.new(117,0,0) | |
| 1257 | elseif Mode == "Destroy" then | |
| 1258 | Mode = "T-Pose" | |
| 1259 | text.Text = "T-Pose" | |
| 1260 | text.TextStrokeColor3 = Color3.new(0,255,255) | |
| 1261 | elseif Mode == "Server Ban" then | |
| 1262 | Mode = "Rainbowify" | |
| 1263 | text.Text = "Rainbowify" | |
| 1264 | text.TextStrokeColor3 = Color3.new(255,255,255) | |
| 1265 | elseif Mode == "T-Pose" then | |
| 1266 | Mode = "Explode" | |
| 1267 | text.Text = "Explode" | |
| 1268 | text.TextStrokeColor3 = BrickColor.new("Neon orange").Color
| |
| 1269 | elseif Mode == "Copy" then | |
| 1270 | Mode = "Banish" | |
| 1271 | text.Text = "Banish" | |
| 1272 | text.TextStrokeColor3 = Color3.new(215,146,66) | |
| 1273 | elseif Mode == "Banish" then | |
| 1274 | Mode = "Kick" | |
| 1275 | text.Text = "Kick" | |
| 1276 | text.TextStrokeColor3 = Color3.new(255,0,0) | |
| 1277 | elseif Mode == "Kick" then | |
| 1278 | Mode = "Server Ban" | |
| 1279 | text.Text = "Ban" | |
| 1280 | text.TextStrokeColor3 = Color3.new(255,23,88) | |
| 1281 | elseif Mode == "Explode" then | |
| 1282 | Mode = "BreakJoints" | |
| 1283 | text.Text = "BreakJoints" | |
| 1284 | text.TextStrokeColor3 = Color3.new(170,85,0) | |
| 1285 | elseif Mode == "BreakJoints" then | |
| 1286 | Mode = "Fling" | |
| 1287 | text.Text = "Fling" | |
| 1288 | text.TextStrokeColor3 = Color3.new(255,0,191) | |
| 1289 | elseif Mode == "Remove Humanoid" then | |
| 1290 | Mode = "Remove Mesh" | |
| 1291 | text.Text = "Remove Mesh" | |
| 1292 | text.TextStrokeColor3 = Color3.new(255,0,191) | |
| 1293 | elseif Mode == "Fling" then | |
| 1294 | Mode = "Seizure" | |
| 1295 | text.Text = "Seizure" | |
| 1296 | text.TextStrokeColor3 = Color3.new(159,173,192) | |
| 1297 | elseif Mode == "Seizure" then | |
| 1298 | Mode = "Copy" | |
| 1299 | text.Text = "Copy" | |
| 1300 | text.TextStrokeColor3 = Color3.new(161,196,140) | |
| 1301 | elseif Mode == "Random Colors" then | |
| 1302 | Mode = "Remove Humanoid" | |
| 1303 | text.Text = "Remove Humanoid" | |
| 1304 | text.TextStrokeColor3 = Color3.new(108,20,196) | |
| 1305 | end | |
| 1306 | end | |
| 1307 | end) | |
| 1308 | ||
| 1309 | ||
| 1310 | mouse.Button1Down:connect(function() | |
| 1311 | if ac and cu then | |
| 1312 | if g1 ~= nil then | |
| 1313 | local ray1 = Ray.new(g1.Main.Position, (mouse.Hit.p - g1.Main.Position).unit*500) | |
| 1314 | local Hit,pos = workspace:FindPartOnRay(ray1, char) | |
| 1315 | local dist = (mouse.Hit.p - g1.Main.Position).magnitude | |
| 1316 | rightArmTargetCF = rightArmHoldCF*angles(rad(-30),0,0) | |
| 1317 | local l1 = Instance.new("Part", workspace)
| |
| 1318 | game.Debris:AddItem(l1, 0.05) | |
| 1319 | ShotSnd(g1.Main,math.random(9, 13) / 10) | |
| 1320 | surfaceChange(l1) | |
| 1321 | l1.Size = Vector3.new(0.2,0.2,dist) | |
| 1322 | l1.CFrame = CFrame.new(g1.Main.Position, mouse.Hit.p) | |
| 1323 | l1.CFrame = l1.CFrame*CFrame.new(0,0,-dist/2) | |
| 1324 | l1.Transparency = 0.35 | |
| 1325 | if Mode == "Normal" then | |
| 1326 | l1.BrickColor = BrickColor.new("Institutional white")
| |
| 1327 | elseif Mode == "Random Colors" then | |
| 1328 | l1.Color = randmoColor | |
| 1329 | elseif Mode == "Rainbowify" then | |
| 1330 | l1.Color = rainoColor | |
| 1331 | elseif Mode == "Fling" then | |
| 1332 | l1.BrickColor = BrickColor.new("Hot pink")
| |
| 1333 | elseif Mode == "Banish" then | |
| 1334 | l1.BrickColor = BrickColor.new("Really black")
| |
| 1335 | elseif Mode == "Respawn" then | |
| 1336 | l1.BrickColor = BrickColor.new("Slime green")
| |
| 1337 | elseif Mode == "Remove Limbs" then | |
| 1338 | l1.BrickColor = BrickColor.new("Ghost grey")
| |
| 1339 | elseif Mode == "Remove Mesh" then | |
| 1340 | l1.BrickColor = BrickColor.new("Carnation pink")
| |
| 1341 | elseif Mode == "Remove Legs" then | |
| 1342 | l1.BrickColor = BrickColor.new("Really blue")
| |
| 1343 | elseif Mode == "Kick" then | |
| 1344 | l1.BrickColor = BrickColor.new("Really red")
| |
| 1345 | elseif Mode == "Server Ban" then | |
| 1346 | l1.BrickColor = BrickColor.new("Crimson")
| |
| 1347 | elseif Mode == "Destroy" then | |
| 1348 | l1.BrickColor = BrickColor.new("Crimson")
| |
| 1349 | elseif Mode == "Seizure" then | |
| 1350 | l1.BrickColor = BrickColor.new("Baby blue")
| |
| 1351 | elseif Mode == "T-Pose" then | |
| 1352 | l1.BrickColor = BrickColor.new("Sage green")
| |
| 1353 | elseif Mode == "Explode" then | |
| 1354 | l1.BrickColor = BrickColor.new("Neon orange")
| |
| 1355 | elseif Mode == "BreakJoints" then | |
| 1356 | l1.BrickColor = BrickColor.new("New Yeller")
| |
| 1357 | end | |
| 1358 | l1.Anchored = true | |
| 1359 | l1.CanCollide = false | |
| 1360 | if Hit ~= nil then | |
| 1361 | if Mode == "Normal" and Hit.Parent:FindFirstChildOfClass("Humanoid") then
| |
| 1362 | Hit.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(20,50))
| |
| 1363 | end | |
| 1364 | if Mode == "Seizure" and Hit.Parent:FindFirstChild("HumanoidRootPart"):FindFirstChild("RootJoint") then
| |
| 1365 | seizure(Hit.Parent) | |
| 1366 | CreateMusic("171914461",Hit.Parent.Head,4.5,1)
| |
| 1367 | end | |
| 1368 | if Mode == "Banish" and Hit.Parent:FindFirstChildOfClass("Humanoid") then
| |
| 1369 | local SomeRandomHumanoid = Hit.Parent:FindFirstChildOfClass("Humanoid")
| |
| 1370 | swait(0) | |
| 1371 | CreateSound("2275465372",Hit,4.6,math.random(9, 12) / 10)
| |
| 1372 | Banish(SomeRandomHumanoid) | |
| 1373 | local Banished_Player = game:GetService("Players"):GetPlayerFromCharacter(Hit.Parent)
| |
| 1374 | local Value = it("BoolValue",Delete)
| |
| 1375 | Value.Name = Banished_Player.Name | |
| 1376 | end | |
| 1377 | if Mode == "Remove Humanoid" and Hit.Parent:FindFirstChildOfClass("Humanoid") then
| |
| 1378 | Hit.Parent:FindFirstChildOfClass("Humanoid"):Remove()
| |
| 1379 | end | |
| 1380 | if Mode == "Kick" and Hit.Parent:FindFirstChildOfClass("Humanoid") then
| |
| 1381 | local Kicked_Player = game:GetService("Players"):GetPlayerFromCharacter(Hit.Parent)
| |
| 1382 | swait(0) | |
| 1383 | Kicked_Player:Kick(Reason) | |
| 1384 | end | |
| 1385 | if Mode == "Respawn" and Hit.Parent:FindFirstChildOfClass("Humanoid") then
| |
| 1386 | local Respawned_Player = game:GetService("Players"):GetPlayerFromCharacter(Hit.Parent)
| |
| 1387 | swait(0) | |
| 1388 | Respawned_Player:LoadCharacter() | |
| 1389 | end | |
| 1390 | if Mode == "Server Ban" and Hit.Parent:FindFirstChildOfClass("Humanoid") then
| |
| 1391 | local Banned_Player = game:GetService("Players"):GetPlayerFromCharacter(Hit.Parent)
| |
| 1392 | swait(0) | |
| 1393 | table.insert(TableOfServerBannedIdiots,Banned_Player.Name) | |
| 1394 | Banned_Player:Kick(ServerReason) | |
| 1395 | end | |
| 1396 | if Mode == "BreakJoints" and Hit then | |
| 1397 | Hit:BreakJoints() | |
| 1398 | end | |
| 1399 | if Mode == "Remove Limbs" and Hit.Parent:FindFirstChild("Left Arm") and Hit.Parent:FindFirstChild("Right Arm") then
| |
| 1400 | Hit.Parent["Left Arm"]:Remove() | |
| 1401 | Hit.Parent["Right Arm"]:Remove() | |
| 1402 | end | |
| 1403 | if Mode == "Remove Legs" and Hit.Parent:FindFirstChild("Left Leg") and Hit.Parent:FindFirstChild("Right Leg") then
| |
| 1404 | Hit.Parent["Left Leg"]:Remove() | |
| 1405 | Hit.Parent["Right Leg"]:Remove() | |
| 1406 | end | |
| 1407 | if Mode == "Remove Mesh" and Hit:FindFirstChildOfClass("SpecialMesh") then
| |
| 1408 | Hit:FindFirstChildOfClass("SpecialMesh"):Remove()
| |
| 1409 | end | |
| 1410 | if Mode == "Remove Mesh" and Hit:FindFirstChildOfClass("BlockMesh") then
| |
| 1411 | Hit:FindFirstChildOfClass("BlockMesh"):Remove()
| |
| 1412 | end | |
| 1413 | if Mode == "Destroy" and Hit and Hit.Name ~= "Base" and Hit.Name ~= "Baseplate" then | |
| 1414 | Hit:Destroy() | |
| 1415 | end | |
| 1416 | if Mode == "Rainbowify" and Hit then | |
| 1417 | rainbowify(Hit) | |
| 1418 | CreateSound("2099904460", Hit, 2, math.random(7, 12) / 10)
| |
| 1419 | end | |
| 1420 | if Mode == "Random Colors" and Hit then | |
| 1421 | randomColor(Hit) | |
| 1422 | end | |
| 1423 | if Mode == "Explode" and Hit and Hit.Name ~= "Base" and Hit.Name ~= "Baseplate" then | |
| 1424 | explode(Hit) | |
| 1425 | end | |
| 1426 | if Mode == "T-Pose" and Hit.Parent:FindFirstChild("Torso") then
| |
| 1427 | tpose(Hit.Parent) | |
| 1428 | end | |
| 1429 | end | |
| 1430 | swait(0) | |
| 1431 | rightArmTargetCF = rightArmHoldCF | |
| 1432 | end | |
| 1433 | end | |
| 1434 | end) | |
| 1435 | ||
| 1436 | spawn(function() | |
| 1437 | while wait(speed)do | |
| 1438 | count = count + 0.01 | |
| 1439 | end | |
| 1440 | end) | |
| 1441 | ||
| 1442 | while true do | |
| 1443 | swait(0) | |
| 1444 | if Mode == "Random Colors" then | |
| 1445 | text.TextStrokeColor3 = BrickColor.random().Color | |
| 1446 | elseif Mode == "Rainbowify" then | |
| 1447 | text.TextStrokeColor3 = Color3.fromHSV(zz(count),1,1) | |
| 1448 | end | |
| 1449 | local GetTheseThots = game:GetService("Players"):GetPlayers() --No offense to anyone!
| |
| 1450 | for ASingleIdioticPlayer = 1, #GetTheseThots do | |
| 1451 | local TheIdioticServerBannedPlayer = GetTheseThots[ASingleIdioticPlayer] | |
| 1452 | for i,v in pairs(TableOfServerBannedIdiots) do | |
| 1453 | if v == TheIdioticServerBannedPlayer.Name then | |
| 1454 | TheIdioticServerBannedPlayer:Kick("You are Server Banned!")
| |
| 1455 | end | |
| 1456 | end | |
| 1457 | end | |
| 1458 | local GAME = game:GetService("Players"):GetChildren()
| |
| 1459 | for PLAYER = 1, #GAME do | |
| 1460 | local PLAY = GAME[PLAYER] | |
| 1461 | if PLAY.Character ~= nil and Delete:FindFirstChild(PLAY.Name) then | |
| 1462 | PLAY.Character:remove() | |
| 1463 | end | |
| 1464 | end | |
| 1465 | end |