Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Player = game:service'Players':GetPlayerFromCharacter(script.Parent)
- if Player then
- local Owner = script.Owner
- Owner.Value = Owner.Value
- Owner:Destroy()
- local FakeMouse = script.FakeMouse:Clone();
- FakeMouse.Parent = Player.Character;
- script.FakeMouse:Destroy()
- do
- local GUID = {}
- do
- GUID.IDs = {};
- function GUID:new(len)
- local id;
- if(not len)then
- id = (tostring(function() end))
- id = id:gsub("function: ","")
- else
- local function genID(len)
- local newID = ""
- for i = 1,len do
- newID = newID..string.char(math.random(48,90))
- end
- return newID
- end
- repeat id = genID(len) until not GUID.IDs[id]
- local oid = id;
- id = {Trash=function() GUID.IDs[oid]=nil; end;Get=function() return oid; end}
- GUID.IDs[oid]=true;
- end
- return id
- end
- end
- local AHB = Instance.new("BindableEvent")
- local FPS = 30
- local TimeFrame = 0
- local LastFrame = tick()
- local Frame = 1/FPS
- game:service'RunService'.Heartbeat:connect(function(s,p)
- TimeFrame = TimeFrame + s
- if(TimeFrame >= Frame)then
- for i = 1,math.floor(TimeFrame/Frame) do
- AHB:Fire()
- end
- LastFrame=tick()
- TimeFrame=TimeFrame-Frame*math.floor(TimeFrame/Frame)
- end
- end)
- function swait(dur)
- if(dur == 0 or typeof(dur) ~= 'number')then
- AHB.Event:wait()
- else
- for i = 1, dur*FPS do
- AHB.Event:wait()
- end
- end
- end
- local oPlayer = Player
- local Player = oPlayer
- local loudnesses={}
- script.Parent = Player.Character
- local CoAS = {Actions={}}
- local Event = Instance.new("RemoteEvent")
- Event.Name = "UserInputEvent"
- Event.Parent = Player.Character
- local Func = Instance.new("RemoteFunction")
- Func.Name = "GetClientProperty"
- Func.Parent = Player.Character
- local fakeEvent = function()
- local t = {_fakeEvent=true,Waited={},Connected={}}
- t.Connect = function(self,f)
- local ft={}
- ft={Disconnected=false;disconnect=function(s) if(self.Function==ft)then self.Function=nil end s.Disconnected=true end}
- ft.Disconnect=ft.disconnect
- ft.Func=function(...)
- for id,_ in next, t.Waited do
- t.Waited[id] = true
- end
- return f(...)
- end;
- table.insert(self.Connected,ft)
- return ft;
- end
- t.connect = t.Connect
- t.Wait = function()
- local guid = GUID:new(25)
- local waitingId = guid:Get()
- t.Waited[waitingId]=false
- repeat swait() until t.Waited[waitingId]==true
- t.Waited[waitingId]=nil;
- guid:Trash()
- end
- t.wait = t.Wait
- return t
- end
- local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
- local UsIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
- local Run = {RenderStepped=fakeEvent()}
- function CoAS:BindAction(name,fun,touch,...)
- CoAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
- end
- function CoAS:UnbindAction(name)
- CoAS.Actions[name] = nil
- end
- local function te(self,ev,...)
- local t = self[ev]
- if t and t._fakeEvent and t.Connected then
- for i,v in next, t.Connected do
- if(v.Func and not v.Disconnected)then
- v.Func(...)
- else
- t.Connected[i]=nil
- end
- end
- end
- end
- m.TrigEvent = te
- UsIS.TrigEvent = te
- Run.TrigEvent = te
- Event.OnServerEvent:Connect(function(plr,io)
- if plr~=Player then return end
- --[[table.foreach(io,print)
- print'---']]
- if io.Mouse then
- m.Target = io.Target
- m.Hit = io.Hit
- elseif io.KeyEvent then
- m:TrigEvent('Key'..io.KeyEvent,io.Key)
- elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
- if io.UserInputState == Enum.UserInputState.Begin then
- m:TrigEvent("Button1Down")
- else
- m:TrigEvent("Button1Up")
- end
- end
- if(not io.KeyEvent and not io.Mouse)then
- for n,t in pairs(CoAS.Actions) do
- for _,k in pairs(t.Keys) do
- if k==io.KeyCode then
- t.Function(t.Name,io.UserInputState,io)
- end
- end
- end
- if io.UserInputState == Enum.UserInputState.Begin then
- UsIS:TrigEvent("InputBegan",io,false)
- else
- UsIS:TrigEvent("InputEnded",io,false)
- end
- end
- end)
- Func.OnServerInvoke = function(plr,inst,play)
- if plr~=Player then return end
- if(inst and typeof(inst) == 'Instance' and inst:IsA'Sound')then
- loudnesses[inst]=play
- end
- end
- function GetClientProperty(inst,prop)
- --if(script:IsA'LocalScript' or game:service'RunService':IsStudio())then return prop[inst] end
- if(prop == 'PlaybackLoudness' and loudnesses[inst])then
- return loudnesses[inst]
- elseif(prop == 'PlaybackLoudness')then
- return Func:InvokeClient(Player,'RegSound',inst)
- end
- return Func:InvokeClient(Player,inst,prop)
- end
- local oldGame = game;
- local function GetService(s,i)
- local service = s:GetService(i)
- if(i == 'Players')then
- local oldService = service;
- local fakeService = newproxy(true)
- getmetatable(fakeService).__index = function(s,i)
- if(s == fakeService)then s=oldService end
- if(i == 'LocalPlayer' or i == 'localPlayer')then
- local oldPlayer = Player;
- local fakePlayer = newproxy(true)
- getmetatable(fakePlayer).__index = function(s,i)
- if(i == 'GetMouse')then
- return function() return m; end
- end
- return Player[i]
- end
- getmetatable(fakePlayer).__newindex = function(s,i,v)
- Player[i]=v
- end
- getmetatable(fakePlayer).__call=function(self,...)
- if(self == fakePlayer)then self = Player end
- local wh = {...}
- local name = table.remove(wh,1)
- for i,v in next, wh do
- wh[i]=v
- end
- if(name == 'GetMouse')then
- return m;
- end
- return self(name,unpack(wh))
- end
- getmetatable(fakePlayer).__namecall=function(self,...)
- if(self == fakePlayer)then self = Player end
- local tuple={...}
- local name = table.remove(tuple,#tuple)
- if(name == 'GetMouse')then
- return m;
- else
- return self[name](self,unpack(tuple))
- end
- end
- return fakePlayer
- elseif(i == 'oPlayer')then
- return oPlayer
- else
- return s[i]
- end
- end
- getmetatable(fakeService).__newindex = function(s,i,v)
- if(s == fakeService)then s=oldService end
- s[i]=v
- end
- getmetatable(fakeService).__call=function(self,...)
- if(self == fakeService)then self = oldService end
- local wh = {...}
- local name = table.remove(wh,1)
- for i,v in next, wh do
- wh[i]=v
- end
- return self(name,unpack(wh))
- end
- getmetatable(fakeService).__namecall=function(self,...)
- if(self == fakeService)then self = oldService end
- local tuple={...}
- local name = table.remove(tuple,#tuple)
- return self[name](self,unpack(tuple))
- end
- getmetatable(fakeService).__metatable = 'gay'
- return fakeService
- elseif(i == 'RunService')then
- local oldService = service;
- local fakeService = newproxy(true)
- getmetatable(fakeService).__index = function(s,i)
- if(s == fakeService)then s=oldService end
- return Run[i] or s[i]
- end
- getmetatable(fakeService).__newindex = function(s,i,v)
- if(s == fakeService)then s=oldService end
- s[i]=v
- end
- getmetatable(fakeService).__call=function(self,...)
- if(self == fakeService)then self = oldService end
- local wh = {...}
- local name = table.remove(wh,1)
- for i,v in next, wh do
- wh[i]=v
- end
- return self(name,unpack(wh))
- end
- getmetatable(fakeService).__namecall=function(self,...)
- if(self == fakeService)then self = oldService end
- local tuple={...}
- local name = table.remove(tuple,#tuple)
- return self[name](self,unpack(tuple))
- end
- getmetatable(fakeService).__metatable = 'gay'
- return fakeService
- elseif(i == 'UserInputService')then
- return UsIS
- elseif(i == 'ContextActionService')then
- return CoAS;
- else
- return service
- end
- end
- local serviceFunctions={
- service=true,
- GetService=true,
- }
- local fakeGame = newproxy(true)
- getmetatable(fakeGame).__index = function(s,i)
- if(s == fakeGame)then s=oldGame end
- local serv = GetService(oldGame,i)
- if serviceFunctions[i] then
- return GetService
- elseif(serv)then
- return serv
- else
- return s[i]
- end
- end
- getmetatable(fakeGame).__newindex = function(s,i,v)
- if(s == fakeGame)then s=oldGame end
- s[i]=v
- end
- getmetatable(fakeGame).__call=function(self,...)
- if(self == fakeGame)then self = oldGame end
- local wh = {...}
- local name = table.remove(wh,1)
- for i,v in next, wh do
- if(v == fakeGame)then v = oldGame end
- wh[i]=v
- end
- if serviceFunctions[name] then
- return GetService(self,unpack(wh))
- else
- return self(name,unpack(wh))
- end
- end
- getmetatable(fakeGame). __namecall=function(self,...)
- if(self == fakeGame)then self = oldGame end
- local tuple={...}
- local name = table.remove(tuple,#tuple)
- local funcToCall=self[name]
- if serviceFunctions[name] then
- return GetService(self,unpack(tuple))
- else
- return self[name](self,unpack(tuple))
- end
- end
- getmetatable(fakeGame).__metatable = 'gay'
- coroutine.wrap(function()
- while true do
- Run:TrigEvent('RenderStepped')
- swait()
- end
- end)()
- game=fakeGame
- UserInputService,ContextActionService = UsIS,CoAS
- end
- end
- warn("Made by miyerajelo")
- local plr = game.Players.silver22352
- repeat wait() until plr.Character
- local char = plr.Character
- repeat wait() until char:FindFirstChild("Humanoid")
- local h = char.Humanoid
- local head = char.Head
- local torso = char.Torso
- local rightArm = char["Right Arm"]
- local leftArm = char["Left Arm"]
- local rightLeg = char["Right Leg"]
- local leftLeg = char["Left Leg"]
- local deb = game:GetService("Debris")
- local Modes = {
- "Normal",
- "BreaJoints",
- "Kick",
- "Explode",
- "T-Pose",
- "Remove Limbs",
- "Remove Legs",
- "Remove Mesh",
- "Respawn",
- "Destroy",
- "Seizure",
- "Fling",
- "Random Colors",
- "Copy",
- "Remove Humanoid",
- "Rainbowify",
- "Banish",
- "Server Ban",
- "DONT_KNOW_ANY_MORE_MODES"
- }
- local Mode = "Normal"
- print"Press F to Equip or Unequip the Gun"
- warn([[
- ------------------------------------------------------
- Chat Modes CMDS:
- ------------------------------------------------------
- Mode.Normal (Damages a Player from 20 up to 50)
- Mode.Rainbowify (Gives an Object Rainbow Colors)
- Mode.RandomColors (Gives an Object Random Colors)
- Mode.RemoveHumanoid (Removes Humanoid from a Player)
- Mode.RemoveLimbs (Removes Arms from a Player)
- Mode.RemoveLegs (Removes Legs from a Player)
- Mode.RemoveMesh (Removes the Mesh of an Object)
- Mode.Destroy (Destroys the Hit Object [Besides Base] )
- Mode.BreakJoints (Insta Kills Players ; Unuseable Parts)
- Mode.Ban (Server Ban a Player)
- Mode.Copy (WIP)
- Mode.Seizure (Give a Player a Seizure)
- Mode.Fling (WIP)
- Mode.T-Pose (T-Pose a Player)
- Mode.Respawn (Respawns a Player)
- Mode.Kick (Kicks a Player)
- Mode.Banish (Banishes a Player)
- Mode.Explode (Explodes the Hit Objected [Besides Base] )
- -------------------------------------------------------
- Chat Text CMDS
- -------------------------------------------------------
- No.Text (Turns Text off)
- Yes.Text (Turns Text on)
- No.Color (No Text Colors)
- Yes.Color (Text Colors)
- Clear.Ban (Clears Server Ban List)
- Clear.Banish (Clears Banish List)
- -------------------------------------------------------
- ]])
- local it = Instance.new
- local cf = CFrame.new
- local angles = CFrame.Angles
- local fangles = CFrame.fromEulerAnglesXYZ
- local vn = Vector3.new
- local rad = math.rad
- local rand = math.random
- local Weapon = it("Model")
- Weapon.Name = "Adds"
- local Delete = it("Model",char)
- Delete.Name = "Banish_list"
- local Effects = it("Folder", Weapon)
- Effects.Name = "Effects"
- local Reason = "Unknown Reason"
- local ServerReason = "Server Banned : Unkown Reason"
- local txt = Instance.new("BillboardGui", char)
- txt.Adornee = head
- txt.Name = "Random Name"
- txt.Size = UDim2.new(2, 0, 1.2, 0)
- txt.StudsOffset = Vector3.new(-9, 8, 0)
- local text = Instance.new("TextLabel", txt)
- text.Size = UDim2.new(10, 0, 7, 0)
- text.TextScaled = true
- text.FontSize = "Size24"
- text.TextSize = 26
- text.TextTransparency = 0
- text.TextColor3 = Color3.new(0,0,0)
- text.TextStrokeColor3 = Color3.new(255,255,255)
- text.BackgroundTransparency = 1
- text.TextStrokeTransparency = 0
- text.Font = "Code"
- text.Text = "Normal"
- function makeJoints(model)
- for _,v in pairs(model:GetChildren()) do
- if v:IsA("BasePart") then
- v:MakeJoints()
- v.Anchored = false
- v.CanCollide = false
- else
- makeJoints(v)
- end
- end
- end
- --simple rainbow function
- local speed = 0.025
- function zz(X) return math.acos(math.cos(X*math.pi))/math.pi end
- local count = 0
- local rightArmJoint = Instance.new("Weld", rightArm)
- rightArmJoint.Part0 = nil
- rightArmJoint.Part1 = torso
- rightArmJoint.C0 = cf(-((torso.Size.X/2) + (rightArm.Size.X/2)),0,0)*angles(0,0,0)
- local rightArmOriginCF = cf(-((torso.Size.X/2) + (rightArm.Size.X/2)),0,0)*angles(0,0,0)
- local rightArmTargetCF = rightArmOriginCF
- local rightArmHoldCF = rightArmOriginCF*angles(rad(-90), 0, 0)*cf(0, -0.5, 0.5)
- local rightLegJoint = Instance.new("Weld", rightLeg)
- rightLegJoint.Part0 = nil
- rightLegJoint.Part1 = torso
- rightLegJoint.C0 = cf(0, ((torso.Size.Y/2)+(rightLeg.Size.Y/2)), 0)*angles(0,0,0)
- local rightLegOriginCF = cf(-(torso.Size.X/2) + rightLeg.Size.X/2, ((torso.Size.Y/2)+(rightLeg.Size.Y/2)), 0)*angles(0,0,0)
- local rightLegTargetCF = rightLegOriginCF
- game:GetService("RunService").Heartbeat:connect(function()
- rightArmJoint.C0 = rightArmJoint.C0:lerp(rightArmTargetCF, 0.1)
- rightLegJoint.C0 = rightLegJoint.C0:lerp(rightLegTargetCF, 0.1)
- end)
- function weldBetween(p0, p1)
- local weld = Instance.new("Weld")
- weld.Part0 = p0
- weld.Part1 = p1
- weld.C0 = p0.CFrame:inverse()
- weld.C1 = p1.CFrame:inverse()
- weld.Parent = p0
- end
- function swait(num)
- if num == 0 or num == nil then
- game:GetService("RunService").Heartbeat:wait()
- else
- for i = 1, num do
- game:GetService("RunService").Heartbeat:wait()
- end
- end
- end
- function weldModel(model, pp)
- for _,v in pairs(model:GetChildren()) do
- if v:IsA("BasePart") then
- local weld = Instance.new("Weld")
- weld.Part0 = pp
- weld.Part1 = v
- weld.C0 = pp.CFrame:inverse()
- weld.C1 = v.CFrame:inverse()
- weld.Parent = pp
- end
- end
- end
- function explode(parte)
- local exp = it("Explosion",parte)
- parte.CanCollide = false
- parte.Transparency = 1
- CreateSound("141679994",parte,5.7,1)
- exp.Position = parte.Position
- exp.BlastRadius = 0.072
- exp.BlastPressure = 9e9999
- swait(35)
- exp:destroy()
- parte:destroy()
- end
- local CF = CFrame.new
- local VT = Vector3.new
- local RAD = math.rad
- local C3 = Color3.new
- local UD2 = UDim2.new
- local BRICKC = BrickColor.new
- local ANGLES = CFrame.Angles
- local EULER = CFrame.fromEulerAnglesXYZ
- local COS = math.cos
- local ACOS = math.acos
- local SIN = math.sin
- local ASIN = math.asin
- local ABS = math.abs
- local MRANDOM = math.random
- local FLOOR = math.floor
- local TPoseRight = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
- local TPoseLeft = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
- function QuaternionToCFrame(px, py, pz, x, y, z, w)
- local xs, ys, zs = x + x, y + y, z + z
- local wx, wy, wz = w * xs, w * ys, w * zs
- local xx = x * xs
- local xy = x * ys
- local xz = x * zs
- local yy = y * ys
- local yz = y * zs
- local zz = z * zs
- 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))
- end
- function QuaternionFromCFrame(cf)
- local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
- local trace = m00 + m11 + m22
- if trace > 0 then
- local s = math.sqrt(1 + trace)
- local recip = 0.5 / s
- return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
- else
- local i = 0
- if m11 > m00 then
- i = 1
- end
- if m22 > (i == 0 and m00 or m11) then
- i = 2
- end
- if i == 0 then
- local s = math.sqrt(m00 - m11 - m22 + 1)
- local recip = 0.5 / s
- return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
- elseif i == 1 then
- local s = math.sqrt(m11 - m22 - m00 + 1)
- local recip = 0.5 / s
- return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
- elseif i == 2 then
- local s = math.sqrt(m22 - m00 - m11 + 1)
- local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
- end
- end
- end
- function QuaternionSlerp(a, b, t)
- local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
- local startInterp, finishInterp;
- if cosTheta >= 0.0001 then
- if (1 - cosTheta) > 0.0001 then
- local theta = ACOS(cosTheta)
- local invSinTheta = 1 / SIN(theta)
- startInterp = SIN((1 - t) * theta) * invSinTheta
- finishInterp = SIN(t * theta) * invSinTheta
- else
- startInterp = 1 - t
- finishInterp = t
- end
- else
- if (1 + cosTheta) > 0.0001 then
- local theta = ACOS(-cosTheta)
- local invSinTheta = 1 / SIN(theta)
- startInterp = SIN((t - 1) * theta) * invSinTheta
- finishInterp = SIN(t * theta) * invSinTheta
- else
- startInterp = t - 1
- finishInterp = t
- end
- end
- 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
- end
- function Clerp2(a, b, t)
- local qa = {QuaternionFromCFrame(a)}
- local qb = {QuaternionFromCFrame(b)}
- local ax, ay, az = a.x, a.y, a.z
- local bx, by, bz = b.x, b.y, b.z
- local _t = 1 - t
- return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
- end
- function seizure(boi)
- game:GetService("RunService").Stepped:connect(function()
- boi:FindFirstChildOfClass("Humanoid").Health = math.random(1,100)
- boi.HumanoidRootPart.RootJoint.C0 = boi.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(7,2,math.random(-1,1))
- swait(0)
- boi.HumanoidRootPart.RootJoint.C0 = boi.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(5,3,math.random(-2,2))
- swait(0)
- boi.HumanoidRootPart.RootJoint.C0 = boi.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(math.random(-4,4),0,0)
- swait(0)
- boi.HumanoidRootPart.RootJoint.C0 = CFrame.Angles(1,9,math.random(-5,5))
- swait(0)
- end)
- end
- function Banish(CHARACTER)
- local BANFOLDER = it("Folder",Effects)
- for i,v in ipairs(CHARACTER:GetChildren()) do
- if v.ClassName == "Part" or v.ClassName == "MeshPart" then
- if v.Name ~= "HumanoidRootPart" then
- local BOD = v:Clone()
- BOD.CanCollide = false
- BOD.Anchored = true
- BOD.CFrame = v.CFrame
- BOD.Parent = BANFOLDER
- BOD.Material = "Neon"
- BOD.Color = Color3.new(50,100,255)
- if BOD:FindFirstChildOfClass("Decal") then
- BOD:FindFirstChildOfClass("Decal"):remove()
- end
- if BOD.ClassName == "MeshPart" then
- BOD.TextureID = ""
- end
- end
- end
- end
- CHARACTER:remove()
- coroutine.resume(coroutine.create(function()
- for i = 1, 50 do
- swait(0)
- for i,v in ipairs(BANFOLDER:GetChildren()) do
- if v.ClassName == "Part" or v.ClassName == "MeshPart" then
- v.Transparency = 1
- end
- end
- swait(0)
- for i,v in ipairs(BANFOLDER:GetChildren()) do
- if v.ClassName == "Part" or v.ClassName == "MeshPart" then
- v.Transparency = 0
- end
- end
- end
- BANFOLDER:remove()
- end))
- end
- function scan(obj)
- obj:BreakJoints()
- for _,v in pairs(obj:GetChildren()) do
- if v:IsA("BasePart") then
- v.Anchored = false
- v.CanCollide = false
- else
- scan(v)
- end
- end
- end
- function randomColor(partos)
- game:GetService("RunService").Stepped:connect(function()
- partos.Color = BrickColor.random().Color
- end)
- end
- local rainoColor = Color3.fromHSV(zz(count),1,1)
- local randmoColor = BrickColor.Random().Color
- local TableOfServerBannedIdiots = {}
- game:GetService("RunService").Stepped:connect(function()
- rainoColor = Color3.fromHSV(zz(count),1,1)
- randmoColor = BrickColor.Random().Color
- end)
- function rainbowify(parto)
- game:GetService("RunService").Stepped:connect(function()
- parto.Color = Color3.fromHSV(zz(count),1,1)
- end)
- end
- function tpose(aaa)
- local lef = aaa.Torso:FindFirstChild("Left Shoulder")
- local rig = aaa.Torso:FindFirstChild("Right Shoulder")
- local ani = aaa:FindFirstChild("Animate")
- swait(2)
- if ani ~= nil then
- ani:Destroy()
- end
- game:GetService("RunService").Stepped:connect(function()
- 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)
- 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)
- end)
- end
- function CreateSound(ID, PARENT, VOLUME, PITCH)
- local NEWSOUND = nil
- coroutine.resume(coroutine.create(function()
- NEWSOUND = Instance.new("Sound", PARENT)
- NEWSOUND.Volume = VOLUME
- NEWSOUND.Pitch = PITCH
- NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
- swait(0)
- NEWSOUND:play()
- deb:AddItem(NEWSOUND, 10)
- end))
- return NEWSOUND
- end
- function CreateMusic(id, parent, volume, pitch)
- local NEWSOUND2 = nil
- coroutine.resume(coroutine.create(function()
- NEWSOUND2 = Instance.new("Sound", parent)
- NEWSOUND2.Volume = volume
- NEWSOUND2.Pitch = pitch
- NEWSOUND2.Looped = true
- NEWSOUND2.SoundId = "http://www.roblox.com/asset/?id="..id
- swait(0)
- NEWSOUND2:play()
- deb:AddItem(NEWSOUND2, 9e999)
- end))
- return NEWSOUND2
- end
- function ShotSnd(par, pit)
- local boomxd = nil
- coroutine.resume(coroutine.create(function()
- boomxd = Instance.new("Sound", par)
- boomxd.Volume = 8
- boomxd.Pitch = pit
- boomxd.SoundId = "http://www.roblox.com/asset/?id=274233484"
- swait(0)
- boomxd:play()
- deb:AddItem(boomxd, 2)
- end))
- return boomxd
- end
- function surfaceChange(part)
- part.TopSurface = 10
- part.BottomSurface = 10
- part.FrontSurface = 10
- part.BackSurface = 10
- part.RightSurface = 10
- part.LeftSurface = 10
- end
- plr.Chatted:connect(function(msg)
- if(msg:sub(1,11) == "Mode.Normal")then
- Mode = "Normal"
- text.Text = "Normal"
- text.TextStrokeColor3 = Color3.new(255,255,255)
- elseif(msg:sub(1,17) == "Mode.RandomColors")then
- Mode = "Random Colors"
- text.Text = "Random Colors"
- text.TextStrokeColor3 = Color3.new(0,0,0)
- elseif(msg:sub(1,16) == "Mode.RemoveLimbs")then
- Mode = "Remove Limbs"
- text.Text = "Remove Limbs"
- text.TextStrokeColor3 = Color3.new(4,175,236)
- elseif(msg:sub(1,15) == "Mode.RemoveLegs")then
- Mode = "Remove Legs"
- text.Text = "Remove Legs"
- text.TextStrokeColor3 = Color3.new(0,0,255)
- elseif(msg:sub(1,12) == "Mode.Respawn")then
- Mode = "Respawn"
- text.Text = "Respawn"
- text.TextStrokeColor3 = Color3.new(0,255,0)
- elseif(msg:sub(1,12) == "Mode.Destroy")then
- Mode = "Destroy"
- text.Text = "Destroy"
- text.TextStrokeColor3 = Color3.new(117,0,0)
- elseif(msg:sub(1,11) == "Mode.T-Pose")then
- Mode = "T-Pose"
- text.Text = "T-Pose"
- text.TextStrokeColor3 = Color3.new(0,255,255)
- elseif(msg:sub(1,15) == "Mode.Rainbowify")then
- Mode = "Rainbowify"
- text.Text = "Rainbowify"
- text.TextStrokeColor3 = Color3.new(255,255,255)
- elseif(msg:sub(1,12) == "Mode.Explode")then
- Mode = "Explode"
- text.Text = "Explode"
- text.TextStrokeColor3 = Color3.new(255,176,0)
- elseif(msg:sub(1,11) == "Mode.Banish")then
- Mode = "Banish"
- text.Text = "Banish"
- text.TextStrokeColor3 = Color3.new(215,146,66)
- elseif(msg:sub(1,9) == "Mode.Kick")then
- Mode = "Kick"
- text.Text = "Kick"
- text.TextStrokeColor3 = Color3.new(255,0,0)
- elseif(msg:sub(1,8) == "Mode.Ban")then
- Mode = "Server Ban"
- text.Text = "Ban"
- text.TextStrokeColor3 = Color3.new(255,23,88)
- elseif(msg:sub(1,16) == "Mode.BreakJoints")then
- Mode = "BreakJoints"
- text.Text = "BreakJoints"
- text.TextStrokeColor3 = Color3.new(170,85,0)
- elseif(msg:sub(1,10) == "Mode.Fling")then
- Mode = "Fling"
- text.Text = "Fling"
- text.TextStrokeColor3 = Color3.new(255,0,191)
- elseif(msg:sub(1,15) == "Mode.RemoveMesh")then
- Mode = "Remove Mesh"
- text.Text = "Remove Mesh"
- text.TextStrokeColor3 = Color3.new(255,0,191)
- elseif(msg:sub(1,12) == "Mode.Seizure")then
- Mode = "Seizure"
- text.Text = "Seizure"
- text.TextStrokeColor3 = Color3.new(159,173,192)
- elseif(msg:sub(1,9) == "Mode.Copy")then
- Mode = "Copy"
- text.Text = "Copy"
- text.TextStrokeColor3 = Color3.new(161,196,140)
- elseif(msg:sub(1,19) == "Mode.RemoveHumanoid")then
- Mode = "Remove Humanoid"
- text.Text = "Remove Humanoid"
- text.TextStrokeColor3 = Color3.new(108,20,196)
- elseif(msg:sub(1,7) == "No.Text")then
- text.TextTransparency = 1
- text.TextStrokeTransparency = 1
- elseif(msg:sub(1,8) == "Yes.Text")then
- text.TextTransparency = 0
- text.TextStrokeTransparency = 0
- elseif(msg:sub(1,8) == "No.Color")then
- text.TextStrokeTransparency = 1
- elseif(msg:sub(1,9) == "Yes.Color")then
- text.TextStrokeTransparency = 0
- elseif(msg:sub(1,9) == "Clear.Ban")then
- TableOfServerBannedIdiots = {}
- elseif(msg:sub(1,12) == "Clear.Banish")then
- Delete:ClearAllChilren()
- elseif(Mode == "Kick" and msg:sub(1,4) == "Set!")then
- Reason = "" ..msg:sub(5)
- elseif(Mode == "Kick" and msg:sub(1,5) == "/e s/")then
- Reason = "" ..msg:sub(6)
- elseif(Mode == "Server Ban" and msg:sub(1,5) == "/e s/")then
- Reason = "Server Banned : " ..msg:sub(6)
- elseif(Mode == "Server Ban" and msg:sub(1,4) == "Set!")then
- ServerReason = "Server Banned : " ..msg:sub(5)
- end
- end)
- text.TextStrokeTransparency = 1
- text.TextTransparency = 1
- function createPistol()
- local model = Instance.new("Model", char)
- model.Name = "Pistol"
- local mag = Instance.new("Model", model)
- mag.Name = "Mag"
- local m1 = Instance.new("Part", mag)
- m1.Name = "Part"
- m1.Size = Vector3.new(0.200000003, 0.200000003, 0.323524684)
- m1.CFrame = CFrame.new(-11.2802582, 0.178448141, 16.346323, 0.9937675, 0.111472867, 0, -0.111472875, 0.9937675, 0, 0, 0, 1)
- m1.Anchored = false
- m1.CanCollide = false
- m1.BrickColor = BrickColor.new("Black")
- surfaceChange(m1)
- local m2 = Instance.new("Part", mag)
- m2.Name = "Part"
- m2.Size = Vector3.new(0.647049308, 0.200000003, 0.323524684)
- m2.CFrame = CFrame.new(-11.5902891, 0.13587451, 16.346323, 0.9937675, 0.111472867, 0, -0.111472875, 0.9937675, 0, 0, 0, 1)
- m2.Anchored = false
- m2.CanCollide = false
- m2.BrickColor = BrickColor.new("Black")
- surfaceChange(m2)
- local m3 = Instance.new("Part", mag)
- m3.Name = "Part"
- m3.Size = Vector3.new(0.307348371, 0.200000003, 0.323524684)
- m3.CFrame = CFrame.new(-11.4223385, 0.161293387, 16.346323, 0.988745034, -0.149589986, 0, 0.149582624, 0.9887532, 0, 0, 0, 1)
- m3.Anchored = false
- m3.CanCollide = false
- m3.BrickColor = BrickColor.new("Black")
- surfaceChange(m3)
- local m4 = Instance.new("Part", mag)
- m4.Name = "Part"
- m4.Size = Vector3.new(0.200000003, 0.200000003, 0.323524684)
- m4.CFrame = CFrame.new(-11.9297647, 0.157671332, 16.346323, 0.9937675, 0.111472867, 0, -0.111472875, 0.9937675, 0, 0, 0, 1)
- m4.Anchored = false
- m4.CanCollide = false
- m4.BrickColor = BrickColor.new("Black")
- surfaceChange(m4)
- local m5 = Instance.new("Part", mag)
- m5.Name = "PP"
- m5.Size = Vector3.new(0.541903794, 1.01101518, 0.200000003)
- m5.CFrame = CFrame.new(-11.5822363, 0.680492878, 16.346323, 0.9937675, 0.111472867, 0, -0.111472875, 0.9937675, 0, 0, 0, 1)
- m5.Anchored = false
- m5.CanCollide = false
- m5.BrickColor = BrickColor.new("Black")
- surfaceChange(m5)
- local p2 = Instance.new("Part", model)
- p2.Name = "Handle"
- p2.Size = Vector3.new(0.541903794, 1.01101518, 0.200000003)
- p2.CFrame = CFrame.new(-11.5822363, 0.680492878, 16.346323, 0.9937675, 0.111472867, 0, -0.111472875, 0.9937675, 0, 0, 0, 1)
- p2.Anchored = false
- p2.CanCollide = false
- p2.BrickColor = BrickColor.new("Medium stone grey")
- surfaceChange(p2)
- local p3 = Instance.new("Part", model)
- p3.Name = "Part"
- p3.Size = Vector3.new(0.541903794, 1.01910317, 0.200000003)
- p3.CFrame = CFrame.new(-11.5817852, 0.684512913, 16.4555092, 0.9937675, 0.111472867, 0, -0.111472875, 0.9937675, 0, 0, 0, 1)
- p3.Anchored = false
- p3.CanCollide = false
- p3.BrickColor = BrickColor.new("Smoky grey")
- surfaceChange(p3)
- local p4 = Instance.new("Part", model)
- p4.Name = "Part"
- p4.Size = Vector3.new(0.541903794, 1.01910317, 0.200000003)
- p4.CFrame = CFrame.new(-11.5817852, 0.684512913, 16.2371349, 0.9937675, 0.111472867, 0, -0.111472875, 0.9937675, 0, 0, 0, 1)
- p4.Anchored = false
- p4.CanCollide = false
- p4.BrickColor = BrickColor.new("Smoky grey")
- surfaceChange(p4)
- local p5 = Instance.new("Part", model)
- p5.Name = "Part"
- p5.Size = Vector3.new(0.200000003, 1.05954385, 0.274995983)
- p5.CFrame = CFrame.new(-11.8694487, 0.696427584, 16.346323, 0.9937675, 0.111472867, 0, -0.111472875, 0.9937675, 0, 0, 0, 1)
- p5.Anchored = false
- p5.CanCollide = false
- p5.BrickColor = BrickColor.new("Smoky grey")
- surfaceChange(p5)
- local p6 = Instance.new("Part", model)
- p6.Name = "Part"
- p6.Size = Vector3.new(0.200000003, 1.05954385, 0.274995983)
- p6.CFrame = CFrame.new(-11.2986317, 0.63239634, 16.346323, 0.9937675, 0.111472867, 0, -0.111472875, 0.9937675, 0, 0, 0, 1)
- p6.Anchored = false
- p6.CanCollide = false
- p6.BrickColor = BrickColor.new("Smoky grey")
- surfaceChange(p6)
- local p7 = Instance.new("Part", model)
- p7.Name = "Part"
- p7.Size = Vector3.new(0.3073484, 0.307348609, 0.200000003)
- p7.CFrame = CFrame.new(-11.5363941, 0.980687678, 16.4999962, 0.931046963, 0.364899546, 0, -0.364899546, 0.931046903, 0, 0, 0, 1)
- p7.Anchored = false
- p7.CanCollide = false
- p7.BrickColor = BrickColor.new("Black")
- surfaceChange(p7)
- local p8 = Instance.new("Part", model)
- p8.Name = "Part"
- p8.Size = Vector3.new(0.3073484, 0.630873501, 0.200000003)
- p8.CFrame = CFrame.new(-11.6234102, 0.567052245, 16.4999962, 0.993767619, 0.111472785, 0, -0.111472793, 0.99376756, 0, 0, 0, 1)
- p8.Anchored = false
- p8.CanCollide = false
- p8.BrickColor = BrickColor.new("Black")
- surfaceChange(p8)
- local p9 = Instance.new("Part", model)
- p9.Name = "Part"
- p9.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- p9.CFrame = CFrame.new(-11.3422289, 0.824556589, 16.4999962, -0.9937675, 0, 0.111472867, 0.111472875, 0, 0.9937675, 0, 1, 0)
- p9.Anchored = false
- p9.CanCollide = false
- p9.BrickColor = BrickColor.new("Black")
- surfaceChange(p9)
- local p10 = Instance.new("Part", model)
- p10.Name = "Part"
- p10.Size = Vector3.new(0.3073484, 0.630873501, 0.200000003)
- p10.CFrame = CFrame.new(-11.6234102, 0.567052245, 16.1926479, 0.993767619, 0.111472785, 0, -0.111472793, 0.99376756, 0, 0, 0, 1)
- p10.Anchored = false
- p10.CanCollide = false
- p10.BrickColor = BrickColor.new("Black")
- surfaceChange(p10)
- local p11 = Instance.new("Part", model)
- p11.Name = "Part"
- p11.Size = Vector3.new(0.3073484, 0.307348609, 0.200000003)
- p11.CFrame = CFrame.new(-11.5363941, 0.980687678, 16.1926479, 0.931046963, 0.364899546, 0, -0.364899546, 0.931046903, 0, 0, 0, 1)
- p11.Anchored = false
- p11.CanCollide = false
- p11.BrickColor = BrickColor.new("Black")
- surfaceChange(p11)
- local p12 = Instance.new("Part", model)
- p12.Name = "Part"
- p12.Size = Vector3.new(0.200000003, 0.200000003, 0.218379155)
- p12.CFrame = CFrame.new(-11.9146175, 0.656711042, 16.3503666, 0.9937675, 0.111472867, 0, -0.111472875, 0.9937675, 0, 0, 0, 1)
- p12.Anchored = false
- p12.CanCollide = false
- p12.BrickColor = BrickColor.new("Black")
- surfaceChange(p12)
- local p13 = Instance.new("Part", model)
- p13.Name = "Part"
- p13.Size = Vector3.new(0.200000003, 0.200000003, 0.218379155)
- p13.CFrame = CFrame.new(-11.8940992, 0.743149281, 16.3503666, 0.988745034, -0.149589986, 0, 0.149582624, 0.9887532, 0, 0, 0, 1)
- p13.Anchored = false
- p13.CanCollide = false
- p13.BrickColor = BrickColor.new("Black")
- surfaceChange(p13)
- local p14 = Instance.new("Part", model)
- p14.Name = "Part"
- p14.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- p14.CFrame = CFrame.new(-11.8513021, 1.22758293, 16.3503666, 0.828027964, 0.560686827, 0, -0.560686827, 0.828027904, 0, 0, 0, 1)
- p14.Anchored = false
- p14.CanCollide = false
- p14.BrickColor = BrickColor.new("Black")
- surfaceChange(p14)
- local p15 = Instance.new("Part", model)
- p15.Name = "Part"
- p15.Size = Vector3.new(0.200000003, 0.200000003, 0.218379155)
- p15.CFrame = CFrame.new(-11.8547096, 0.967769444, 16.3503666, 0.931046963, 0.364899546, 0, -0.364899546, 0.931046903, 0, 0, 0, 1)
- p15.Anchored = false
- p15.CanCollide = false
- p15.BrickColor = BrickColor.new("Black")
- surfaceChange(p15)
- local p16 = Instance.new("Part", model)
- p16.Name = "Part"
- p16.Size = Vector3.new(0.200000003, 0.200000003, 0.218379155)
- p16.CFrame = CFrame.new(-11.848114, 0.983309388, 16.3503666, 0.9937675, 0.111472867, 0, -0.111472875, 0.9937675, 0, 0, 0, 1)
- p16.Anchored = false
- p16.CanCollide = false
- p16.BrickColor = BrickColor.new("Black")
- surfaceChange(p16)
- local p17 = Instance.new("Part", model)
- p17.Name = "Part"
- p17.Size = Vector3.new(0.200000003, 0.200000003, 0.218379155)
- p17.CFrame = CFrame.new(-11.8507061, 1.06176257, 16.3503666, 0.988745034, -0.149589986, 0, 0.149582624, 0.9887532, 0, 0, 0, 1)
- p17.Anchored = false
- p17.CanCollide = false
- p17.BrickColor = BrickColor.new("Black")
- surfaceChange(p17)
- local p18 = Instance.new("Part", model)
- p18.Name = "Part"
- p18.Size = Vector3.new(0.376906186, 0.200000003, 0.200000003)
- p18.CFrame = CFrame.new(-11.9414015, 1.36785984, 16.3503666, 0.828027964, 0.560686827, 0, -0.560686827, 0.828027904, 0, 0, 0, 1)
- p18.Anchored = false
- p18.CanCollide = false
- p18.BrickColor = BrickColor.new("Black")
- surfaceChange(p18)
- local p19 = Instance.new("Part", model)
- p19.Name = "Part"
- p19.Size = Vector3.new(0.200000003, 0.200000003, 0.218379155)
- p19.CFrame = CFrame.new(-11.8434582, 1.11297774, 16.3503666, 0.951277733, -0.308335513, 0, 0.308335543, 0.951277614, 0, 0, 0, 1)
- p19.Anchored = false
- p19.CanCollide = false
- p19.BrickColor = BrickColor.new("Black")
- surfaceChange(p19)
- local p20 = Instance.new("Part", model)
- p20.Name = "Part"
- p20.Size = Vector3.new(0.200000003, 0.237790748, 0.200000003)
- p20.CFrame = CFrame.new(-11.9254217, 1.21484756, 16.3503666, 0.756803453, -0.653634727, 0, 0.653631568, 0.756821513, 0, 0, 0, 1)
- p20.Anchored = false
- p20.CanCollide = false
- p20.BrickColor = BrickColor.new("Black")
- surfaceChange(p20)
- local p21 = Instance.new("Part", model)
- p21.Name = "Part"
- p21.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- p21.CFrame = CFrame.new(-12.0393581, 1.33804011, 16.3503666, 0.717730284, -0.696321309, 0, 0.696321249, 0.717730284, 0, 0, 0, 1)
- p21.Anchored = false
- p21.CanCollide = false
- p21.BrickColor = BrickColor.new("Black")
- surfaceChange(p21)
- local p22 = Instance.new("Part", model)
- p22.Name = "Part"
- p22.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- p22.CFrame = CFrame.new(-12.0967665, 1.41755128, 16.3503666, 0.983917534, 0.178622946, 0, -0.178622946, 0.983917534, 0, 0, 0, 1)
- p22.Anchored = false
- p22.CanCollide = false
- p22.BrickColor = BrickColor.new("Black")
- surfaceChange(p22)
- local p23 = Instance.new("Part", model)
- p23.Name = "Part"
- p23.Size = Vector3.new(0.271760672, 0.200000003, 0.200000003)
- p23.CFrame = CFrame.new(-11.9907618, 1.34500718, 16.3503666, 0.828027964, 0.560686827, 0, -0.560686827, 0.828027904, 0, 0, 0, 1)
- p23.Anchored = false
- p23.CanCollide = false
- p23.BrickColor = BrickColor.new("Black")
- surfaceChange(p23)
- local p24 = Instance.new("Part", model)
- p24.Name = "Part"
- p24.Size = Vector3.new(0.604991019, 0.200000003, 0.276613623)
- p24.CFrame = CFrame.new(-11.5234394, 1.22756207, 16.3455143, 0.9937675, 0.111472867, 0, -0.111472875, 0.9937675, 0, 0, 0, 1)
- p24.Anchored = false
- p24.CanCollide = false
- p24.BrickColor = BrickColor.new("Black")
- surfaceChange(p24)
- local p25 = Instance.new("Part", model)
- p25.Name = "Part"
- p25.Size = Vector3.new(1.74703312, 0.2685256, 0.323524684)
- p25.CFrame = CFrame.new(-10.9460964, 1.39836848, 16.3285313, 1, 1.70171716e-005, 0, -1.70171716e-005, 1, 0, 0, 0, 1)
- p25.Anchored = false
- p25.CanCollide = false
- p25.BrickColor = BrickColor.new("Black")
- surfaceChange(p25)
- local p26 = Instance.new("Part", model)
- p26.Name = "Part"
- p26.Size = Vector3.new(0.511169076, 0.200000003, 0.237790659)
- p26.CFrame = CFrame.new(-11.4444475, 1.2284658, 16.3285313, 1, 1.70171716e-005, 0, -1.70171716e-005, 1, 0, 0, 0, 1)
- p26.Anchored = false
- p26.CanCollide = false
- p26.BrickColor = BrickColor.new("Black")
- surfaceChange(p26)
- local p27 = Instance.new("Part", model)
- p27.Name = "Part"
- p27.Size = Vector3.new(0.888075173, 0.200000003, 0.31058377)
- p27.CFrame = CFrame.new(-10.7495079, 1.20498598, 16.3285313, 1, 1.70171716e-005, 0, -1.70171716e-005, 1, 0, 0, 0, 1)
- p27.Anchored = false
- p27.CanCollide = false
- p27.BrickColor = BrickColor.new("Black")
- surfaceChange(p27)
- local p28 = Instance.new("Part", model)
- p28.Name = "Part"
- p28.Size = Vector3.new(0.339700907, 0.200000003, 0.200000003)
- p28.CFrame = CFrame.new(-10.1629801, 1.31906176, 16.3285313, 1, 1.70171716e-005, 0, -1.70171716e-005, 1, 0, 0, 0, 1)
- p28.Anchored = false
- p28.CanCollide = false
- p28.BrickColor = BrickColor.new("Black")
- surfaceChange(p28)
- local p29 = Instance.new("Part", model)
- p29.Name = "Main"
- p29.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- p29.CFrame = CFrame.new(-9.94953632, 1.48003721, 16.3016109, 0, -1, 1.70171716e-005, 0, 1.70171716e-005, 1, -1, 0, 0)
- p29.Anchored = false
- p29.CanCollide = false
- p29.BrickColor = BrickColor.new("Institutional wHite")
- surfaceChange(p29)
- local p30 = Instance.new("Part", model)
- p30.Name = "ShootTop"
- p30.Size = Vector3.new(1.80203247, 0.211908743, 0.3510243)
- p30.CFrame = CFrame.new(-10.9396744, 1.61764574, 16.3285313, 1, 1.70171716e-005, 0, -1.70171716e-005, 1, 0, 0, 0, 1)
- p30.Anchored = false
- p30.CanCollide = false
- p30.BrickColor = BrickColor.new("Smoky grey")
- surfaceChange(p30)
- local p31 = Instance.new("Part", model)
- p31.Name = "Part"
- p31.Size = Vector3.new(0.200000003, 0.200000003, 0.244261131)
- p31.CFrame = CFrame.new(-10.0182848, 1.47841287, 16.2991848, 1, 1.70171716e-005, 0, -1.70171716e-005, 1, 0, 0, 0, 1)
- p31.Anchored = false
- p31.CanCollide = false
- p31.BrickColor = BrickColor.new("Black")
- surfaceChange(p31)
- scan(model)
- weldModel(model, model.Handle)
- weldModel(mag, model.Handle)
- return model
- end
- function activated()
- local gun = createPistol()
- gun.PrimaryPart = gun.Handle
- gun:SetPrimaryPartCFrame(rightArm.CFrame*cf(0, -1, 0)*angles(0, rad(90), 0)*fangles(0, 0, rad(-90)))
- weldBetween(gun.PrimaryPart, rightArm)
- return gun
- end
- local g1 = nil
- local ac = false
- local cu = true
- mouse.KeyDown:connect(function(key)
- if key:lower() == "f" then
- if not ac then
- g1 = activated()
- rightArmJoint.Part0 = rightArm
- rightArmTargetCF = rightArmHoldCF
- ac = true
- text.TextTransparency = 0
- text.TextStrokeTransparency = 0
- else
- rightArmTargetCF = rightArmOriginCF
- wait(0.2)
- g1:Destroy()
- g1 = nil
- rightArmJoint.Part0 = nil
- ac = false
- text.TextTransparency = 1
- text.TextStrokeTransparency = 1
- end
- elseif key:lower() == "e" then
- if Mode == "Remove Legs" then
- Mode = "Normal"
- text.Text = "Normal"
- text.TextStrokeColor3 = Color3.new(255,255,255)
- elseif Mode == "Rainbowify" then
- Mode = "Random Colors"
- text.Text = "Random Colors"
- text.TextStrokeColor3 = Color3.new(0,0,0)
- elseif Mode == "Remove Mesh" then
- Mode = "Remove Limbs"
- text.Text = "Remove Limbs"
- text.TextStrokeColor3 = Color3.new(4,175,236)
- elseif Mode == "Remove Limbs" then
- Mode = "Remove Legs"
- text.Text = "Remove Legs"
- text.TextStrokeColor3 = Color3.new(0,0,255)
- elseif Mode == "Normal" then
- Mode = "Respawn"
- text.Text = "Respawn"
- text.TextStrokeColor3 = Color3.new(0,255,0)
- elseif Mode == "Respawn" then
- Mode = "Destroy"
- text.Text = "Destroy"
- text.TextStrokeColor3 = Color3.new(117,0,0)
- elseif Mode == "Destroy" then
- Mode = "T-Pose"
- text.Text = "T-Pose"
- text.TextStrokeColor3 = Color3.new(0,255,255)
- elseif Mode == "Server Ban" then
- Mode = "Rainbowify"
- text.Text = "Rainbowify"
- text.TextStrokeColor3 = Color3.new(255,255,255)
- elseif Mode == "T-Pose" then
- Mode = "Explode"
- text.Text = "Explode"
- text.TextStrokeColor3 = BrickColor.new("Neon orange").Color
- elseif Mode == "Copy" then
- Mode = "Banish"
- text.Text = "Banish"
- text.TextStrokeColor3 = Color3.new(215,146,66)
- elseif Mode == "Banish" then
- Mode = "Kick"
- text.Text = "Kick"
- text.TextStrokeColor3 = Color3.new(255,0,0)
- elseif Mode == "Kick" then
- Mode = "Server Ban"
- text.Text = "Ban"
- text.TextStrokeColor3 = Color3.new(255,23,88)
- elseif Mode == "Explode" then
- Mode = "BreakJoints"
- text.Text = "BreakJoints"
- text.TextStrokeColor3 = Color3.new(170,85,0)
- elseif Mode == "BreakJoints" then
- Mode = "Fling"
- text.Text = "Fling"
- text.TextStrokeColor3 = Color3.new(255,0,191)
- elseif Mode == "Remove Humanoid" then
- Mode = "Remove Mesh"
- text.Text = "Remove Mesh"
- text.TextStrokeColor3 = Color3.new(255,0,191)
- elseif Mode == "Fling" then
- Mode = "Seizure"
- text.Text = "Seizure"
- text.TextStrokeColor3 = Color3.new(159,173,192)
- elseif Mode == "Seizure" then
- Mode = "Copy"
- text.Text = "Copy"
- text.TextStrokeColor3 = Color3.new(161,196,140)
- elseif Mode == "Random Colors" then
- Mode = "Remove Humanoid"
- text.Text = "Remove Humanoid"
- text.TextStrokeColor3 = Color3.new(108,20,196)
- end
- end
- end)
- mouse.Button1Down:connect(function()
- if ac and cu then
- if g1 ~= nil then
- local ray1 = Ray.new(g1.Main.Position, (mouse.Hit.p - g1.Main.Position).unit*500)
- local Hit,pos = workspace:FindPartOnRay(ray1, char)
- local dist = (mouse.Hit.p - g1.Main.Position).magnitude
- rightArmTargetCF = rightArmHoldCF*angles(rad(-30),0,0)
- local l1 = Instance.new("Part", workspace)
- game.Debris:AddItem(l1, 0.05)
- ShotSnd(g1.Main,math.random(9, 13) / 10)
- surfaceChange(l1)
- l1.Size = Vector3.new(0.2,0.2,dist)
- l1.CFrame = CFrame.new(g1.Main.Position, mouse.Hit.p)
- l1.CFrame = l1.CFrame*CFrame.new(0,0,-dist/2)
- l1.Transparency = 0.35
- if Mode == "Normal" then
- l1.BrickColor = BrickColor.new("Institutional white")
- elseif Mode == "Random Colors" then
- l1.Color = randmoColor
- elseif Mode == "Rainbowify" then
- l1.Color = rainoColor
- elseif Mode == "Fling" then
- l1.BrickColor = BrickColor.new("Hot pink")
- elseif Mode == "Banish" then
- l1.BrickColor = BrickColor.new("Really black")
- elseif Mode == "Respawn" then
- l1.BrickColor = BrickColor.new("Slime green")
- elseif Mode == "Remove Limbs" then
- l1.BrickColor = BrickColor.new("Ghost grey")
- elseif Mode == "Remove Mesh" then
- l1.BrickColor = BrickColor.new("Carnation pink")
- elseif Mode == "Remove Legs" then
- l1.BrickColor = BrickColor.new("Really blue")
- elseif Mode == "Kick" then
- l1.BrickColor = BrickColor.new("Really red")
- elseif Mode == "Server Ban" then
- l1.BrickColor = BrickColor.new("Crimson")
- elseif Mode == "Destroy" then
- l1.BrickColor = BrickColor.new("Crimson")
- elseif Mode == "Seizure" then
- l1.BrickColor = BrickColor.new("Baby blue")
- elseif Mode == "T-Pose" then
- l1.BrickColor = BrickColor.new("Sage green")
- elseif Mode == "Explode" then
- l1.BrickColor = BrickColor.new("Neon orange")
- elseif Mode == "BreakJoints" then
- l1.BrickColor = BrickColor.new("New Yeller")
- end
- l1.Anchored = true
- l1.CanCollide = false
- if Hit ~= nil then
- if Mode == "Normal" and Hit.Parent:FindFirstChildOfClass("Humanoid") then
- Hit.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(20,50))
- end
- if Mode == "Seizure" and Hit.Parent:FindFirstChild("HumanoidRootPart"):FindFirstChild("RootJoint") then
- seizure(Hit.Parent)
- CreateMusic("171914461",Hit.Parent.Head,4.5,1)
- end
- if Mode == "Banish" and Hit.Parent:FindFirstChildOfClass("Humanoid") then
- local SomeRandomHumanoid = Hit.Parent:FindFirstChildOfClass("Humanoid")
- swait(0)
- CreateSound("2275465372",Hit,4.6,math.random(9, 12) / 10)
- Banish(SomeRandomHumanoid)
- local Banished_Player = game:GetService("Players"):GetPlayerFromCharacter(Hit.Parent)
- local Value = it("BoolValue",Delete)
- Value.Name = Banished_Player.Name
- end
- if Mode == "Remove Humanoid" and Hit.Parent:FindFirstChildOfClass("Humanoid") then
- Hit.Parent:FindFirstChildOfClass("Humanoid"):Remove()
- end
- if Mode == "Kick" and Hit.Parent:FindFirstChildOfClass("Humanoid") then
- local Kicked_Player = game:GetService("Players"):GetPlayerFromCharacter(Hit.Parent)
- swait(0)
- Kicked_Player:Kick(Reason)
- end
- if Mode == "Respawn" and Hit.Parent:FindFirstChildOfClass("Humanoid") then
- local Respawned_Player = game:GetService("Players"):GetPlayerFromCharacter(Hit.Parent)
- swait(0)
- Respawned_Player:LoadCharacter()
- end
- if Mode == "Server Ban" and Hit.Parent:FindFirstChildOfClass("Humanoid") then
- local Banned_Player = game:GetService("Players"):GetPlayerFromCharacter(Hit.Parent)
- swait(0)
- table.insert(TableOfServerBannedIdiots,Banned_Player.Name)
- Banned_Player:Kick(ServerReason)
- end
- if Mode == "BreakJoints" and Hit then
- Hit:BreakJoints()
- end
- if Mode == "Remove Limbs" and Hit.Parent:FindFirstChild("Left Arm") and Hit.Parent:FindFirstChild("Right Arm") then
- Hit.Parent["Left Arm"]:Remove()
- Hit.Parent["Right Arm"]:Remove()
- end
- if Mode == "Remove Legs" and Hit.Parent:FindFirstChild("Left Leg") and Hit.Parent:FindFirstChild("Right Leg") then
- Hit.Parent["Left Leg"]:Remove()
- Hit.Parent["Right Leg"]:Remove()
- end
- if Mode == "Remove Mesh" and Hit:FindFirstChildOfClass("SpecialMesh") then
- Hit:FindFirstChildOfClass("SpecialMesh"):Remove()
- end
- if Mode == "Remove Mesh" and Hit:FindFirstChildOfClass("BlockMesh") then
- Hit:FindFirstChildOfClass("BlockMesh"):Remove()
- end
- if Mode == "Destroy" and Hit and Hit.Name ~= "Base" and Hit.Name ~= "Baseplate" then
- Hit:Destroy()
- end
- if Mode == "Rainbowify" and Hit then
- rainbowify(Hit)
- CreateSound("2099904460", Hit, 2, math.random(7, 12) / 10)
- end
- if Mode == "Random Colors" and Hit then
- randomColor(Hit)
- end
- if Mode == "Explode" and Hit and Hit.Name ~= "Base" and Hit.Name ~= "Baseplate" then
- explode(Hit)
- end
- if Mode == "T-Pose" and Hit.Parent:FindFirstChild("Torso") then
- tpose(Hit.Parent)
- end
- end
- swait(0)
- rightArmTargetCF = rightArmHoldCF
- end
- end
- end)
- spawn(function()
- while wait(speed)do
- count = count + 0.01
- end
- end)
- while true do
- swait(0)
- if Mode == "Random Colors" then
- text.TextStrokeColor3 = BrickColor.random().Color
- elseif Mode == "Rainbowify" then
- text.TextStrokeColor3 = Color3.fromHSV(zz(count),1,1)
- end
- local GetTheseThots = game:GetService("Players"):GetPlayers() --No offense to anyone!
- for ASingleIdioticPlayer = 1, #GetTheseThots do
- local TheIdioticServerBannedPlayer = GetTheseThots[ASingleIdioticPlayer]
- for i,v in pairs(TableOfServerBannedIdiots) do
- if v == TheIdioticServerBannedPlayer.Name then
- TheIdioticServerBannedPlayer:Kick("You are Server Banned!")
- end
- end
- end
- local GAME = game:GetService("Players"):GetChildren()
- for PLAYER = 1, #GAME do
- local PLAY = GAME[PLAYER]
- if PLAY.Character ~= nil and Delete:FindFirstChild(PLAY.Name) then
- PLAY.Character:remove()
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement