SHARE
TWEET

Untitled

a guest Jan 26th, 2020 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. wait(25)
  2. --toggle classes by switching true/false
  3. spawn(function()
  4.     SpyOn = {
  5.         RemoteEvent = true;
  6.         RemoteFunction = true;
  7.         BindableEvent = false;
  8.         BindableFunction = false;
  9.     }
  10.     --if true will spy 'hidden' events
  11.     spyNilInstances = false
  12.     --list of names it will ignore e.g. {"a","b"}
  13.     Ignore = {}
  14.     --maximum number of sections at once
  15.     numMaxSections = 25
  16.     --size of padding inside sections
  17.     yindent = 20
  18.     --/////////////////////////////////////////////////////////////////////////////////////
  19.     --by sirelKilla (v3rm)  \\ fixed by stellar
  20.    
  21.     if Synapse==nil then
  22.         warn("This spy is best used with Synapse.")
  23.     end
  24.    
  25.     local MT = getrawmetatable(game)
  26.     if setreadonly then setreadonly(MT,false) end
  27.     if make_writeable then make_writeable(MT) end
  28.     local oldNamecall = MT.__namecall
  29.    
  30.     local Player = game:GetService("Players").LocalPlayer
  31.     --basically makes a background
  32.     MakeShadow = function(GUI, Deepness)
  33.         for i=1, Deepness do
  34.             local G = GUI:Clone()
  35.             G.ZIndex = GUI.ZIndex - 1
  36.             G.Size=UDim2.new(1,12,1,12)
  37.             G.Position=UDim2.new(0,-6,0,-6)
  38.             G.Active=false
  39.             G.Draggable=false
  40.             G:ClearAllChildren()
  41.             G.Name = GUI.Name.." Shadow"
  42.             G.Parent = GUI
  43.         end
  44.     end
  45.    
  46.    
  47.     --create basic frames
  48.     local CanScroll = true
  49.     local GUI = Instance.new("ScreenGui",game.CoreGui)
  50.     GUI.Name = "SpyScroller"
  51.     GUI.ResetOnSpawn = false
  52.     GUI.DisplayOrder = 10000
  53.     GUI.Enabled = false
  54.     local Main = Instance.new("Frame", GUI)
  55.     Main.Active = true
  56.     Main.ZIndex = 10000
  57.     Main.Size = UDim2.new(0.27, 0, 0.32, 0)
  58.     Main.Draggable = true
  59.     Main.Style = "DropShadow"
  60.     Main.Position = UDim2.new(0.05, 0, 0.05, 0)
  61.     MakeShadow(Main, 4)
  62.     local Bar = Instance.new("Frame", Main)
  63.     Bar.BackgroundColor3=Color3.fromRGB(40,40,40)
  64.     Bar.Size = UDim2.new(1, 20, 0.13, 0)
  65.     Bar.Position = UDim2.new(0, -10, -0.03)
  66.     Bar.ZIndex = Main.ZIndex+1
  67.     local Title = Instance.new("TextLabel", Bar)
  68.     Title.BackgroundTransparency = 1
  69.     Title.Position=UDim2.new(0,10)
  70.     Title.TextColor3 = Color3.new(1, 1, 1)
  71.     Title.Font = "ArialBold"
  72.     Title.Text = "Magic's Remote Spy"
  73.     Title.TextSize = 15
  74.     Title.ZIndex = Main.ZIndex+3
  75.     Title.TextXAlignment = "Left"
  76.     Title.Size = UDim2.new(1, 0, 1, 0)
  77.     local Exit = Instance.new("TextButton", Bar)
  78.     Exit.BackgroundTransparency = 1
  79.     Exit.Text = "x"
  80.     Exit.TextColor3 = Color3.new(1, 1, 1)
  81.     Exit.Size = UDim2.new(0.08, 0, 1.5, 0)
  82.     Exit.TextSize = 20
  83.     Exit.TextWrapped = false
  84.     Exit.Position = UDim2.new(0.95, -10, -0.28, 0)
  85.     Exit.Font = "ArialBold"
  86.     Exit.ZIndex = Main.ZIndex+1
  87.     Exit.MouseButton1Up:connect(function()
  88.         GUI:Destroy()
  89.         MT.__namecall = oldNamecall
  90.     end)
  91.     Exit.MouseEnter:connect(function()
  92.         Exit.TextColor3 = Color3.new(1, 0, 0)
  93.     end)
  94.     Exit.MouseLeave:connect(function()
  95.         Exit.TextColor3 = Color3.new(1, 1, 1)
  96.     end)
  97.     local Scroll = Instance.new("ScrollingFrame", Main)
  98.     Scroll.BackgroundTransparency = 1
  99.     Scroll.Name = "Scroll"
  100.     Scroll.Size = UDim2.new(1, 0, 0.9, 0)
  101.     Scroll.ZIndex = Main.ZIndex+1
  102.     Scroll.Position = UDim2.new(0, 0, 0.1, 0)
  103.     Scroll.BorderSizePixel = 0
  104.     Scroll.CanvasSize = UDim2.new()
  105.     --clipboard gui
  106.     local Popup = Instance.new("TextButton",GUI)
  107.     Instance.new("StringValue",Popup).Name = "ToCopy"
  108.     Popup.Name="ClipboardBtn"
  109.     Popup.Text="Copy"
  110.     Popup.Size=UDim2.new(0,40,0,20)
  111.     Popup.ZIndex=Main.ZIndex+4
  112.     Popup.Visible=false
  113.     Popup.MouseButton1Down:Connect(function()
  114.         if Synapse then
  115.             Synapse:CopyString(Popup.ToCopy.Value)
  116.         elseif setclipboard then
  117.             setclipboard(Popup.ToCopy.Value)
  118.         elseif Clipboard then
  119.             Clipboard.set(Popup.ToCopy.Value)
  120.         end
  121.         Popup.Visible=false
  122.     end)
  123.     --bottom-right resizer
  124.     --////
  125.     local resize = Instance.new("ImageButton")
  126.     resize.Name = "resize"
  127.     resize.BackgroundTransparency = 1
  128.     resize.Image = "rbxassetid://55927414"
  129.     resize.ZIndex = Main.ZIndex+1
  130.     resize.Size = UDim2.new(0,13,0,13)
  131.     resize.Position = UDim2.new(1,-9,1,-9)
  132.     resize.Active=true
  133.     resize.Draggable=true
  134.     local resizing=false
  135.     local mouseConn
  136.     resize.DragBegin:Connect(function()
  137.         --basically moves sizer to only absolutes..
  138.         local rAP = resize.AbsolutePosition
  139.         resize.Parent = GUI
  140.         resize.Position = UDim2.new(0,rAP.X,0,rAP.Y)
  141.         --then offsets main size based on those values
  142.         local mS = Main.Size
  143.         local mAS = Main.AbsoluteSize
  144.         local addX,addY=0,0
  145.         mouseConn = Player:GetMouse().Move:Connect(function()
  146.             --most of this is to keep stuff from going negative
  147.             addX,addY = math.max(-mAS.X+240,resize.AbsolutePosition.X - rAP.X),math.max(-mAS.Y+100,resize.AbsolutePosition.Y - rAP.Y)
  148.             Main.Size=mS + UDim2.new(0,addX,0,addY)
  149.             --hide if negative
  150.             if addX>-mAS.X+240 and addY>-mAS.Y+100 then
  151.                 resize.ImageTransparency = 0
  152.             else
  153.                 resize.ImageTransparency = 1
  154.             end
  155.         end)
  156.     end)
  157.     resize.DragStopped:Connect(function()
  158.         --turn to normal
  159.         resize.Parent = Main
  160.         resize.Position = UDim2.new(1,-9,1,-9)
  161.         resize.ImageTransparency = 0
  162.         mouseConn:Disconnect()
  163.     end)
  164.     resize.Parent = Main
  165.     --////
  166.     local function isMouseDown()
  167.         local array = game:GetService("UserInputService"):GetMouseButtonsPressed()
  168.         for i=1,#array do
  169.             if array[i].UserInputType==Enum.UserInputType.MouseButton1 then
  170.                 return true
  171.             end
  172.         end
  173.         return false
  174.     end
  175.     local db=false
  176.     Scroll:GetPropertyChangedSignal("CanvasPosition"):Connect(function()
  177.         if db==false and CanScroll==false and isMouseDown() then
  178.             db=true
  179.             Main.Active=false
  180.             repeat wait(0.5) until not isMouseDown()
  181.             Main.Active=true
  182.             db=false
  183.         end
  184.     end)
  185.     Instance.new("UIListLayout",Scroll).SortOrder = Enum.SortOrder.LayoutOrder
  186.     local sectionIndex = 0
  187.    
  188.    
  189.    
  190.    
  191.    
  192.     local Console = {}
  193.     Console.White = Color3.new(1, 1, 1)
  194.     Console.LightGray = Color3.fromRGB(155, 155, 155)
  195.     local CurrentColour = Console.White
  196.     local CurrentSection
  197.     local NumLabels = 0
  198.     local sections = {}
  199.    
  200.     function Console:WriteLine(Text)
  201.         pcall(function()
  202.             if CurrentSection and tostring(Text) then
  203.                 NumLabels=NumLabels+1
  204.                 local TL = Instance.new("TextLabel")
  205.                 TL.Parent = CurrentSection
  206.                 TL.Text = tostring(Text)
  207.                 TL.TextColor3 = CurrentColour
  208.                 TL.BackgroundTransparency = 1
  209.                 TL.Font = "ArialBold"
  210.                 TL.TextSize = 14
  211.                 TL.ZIndex = Main.ZIndex+3
  212.                 TL.TextXAlignment = "Left"
  213.                 TL.TextWrapped = false
  214.                 TL.Size = UDim2.new(1, 0, 0, 20)
  215.                 local Y = #CurrentSection:GetChildren()*20
  216.                 TL.Position = UDim2.new(0, 0, 0, Y-20 + yindent/2)
  217.                 CurrentSection.Size = UDim2.new(1, 0, 0, Y + yindent)
  218.                 if CanScroll then
  219.                     Scroll.CanvasSize = UDim2.new(0, 0, 0, NumLabels*20)
  220.                     Scroll.CanvasPosition = Vector2.new(0, Scroll.CanvasSize.Y.Offset)
  221.                 end
  222.             end
  223.         end)
  224.     end
  225.     function Console:SetColor(Color)
  226.         CurrentColour = Color
  227.     end
  228.     function Console:PushSection(ClipboardText)
  229.         if #sections < numMaxSections then --if going to add a section
  230.             NumLabels=NumLabels+(yindent/20) --just increases scroller size
  231.         end
  232.         sectionIndex=sectionIndex+1
  233.         local f = Instance.new("Frame")
  234.         f.BackgroundTransparency = 1 - (0.07 * (sectionIndex % 2)) --alternate colors
  235.         f.BorderSizePixel=2
  236.         f.BorderColor3=Color3.new(1,1,1)
  237.         f.ZIndex = Main.ZIndex+2
  238.         f.Size = UDim2.new()
  239.        
  240.         if ClipboardText~=nil then
  241.             --on right click show copy option label, which copies text when clicked
  242.             f.InputEnded:Connect(function(input)
  243.                 if input.UserInputType==Enum.UserInputType.MouseButton2 then
  244.                     Popup.ToCopy.Value = ClipboardText
  245.                     Popup.Position = UDim2.new(0,Player:GetMouse().X+1,0,Player:GetMouse().Y+1)
  246.                     Popup.Visible=true
  247.                     game:GetService("UserInputService").InputBegan:Wait()
  248.                     wait()
  249.                     Popup.Visible=false
  250.                 end
  251.             end)
  252.         end
  253.        
  254.         f.LayoutOrder = sectionIndex --for UIListLayout
  255.         if #sections >= numMaxSections and CanScroll then
  256.             --removes any extra sections. limited by CanScroll or else the rotations will still look like scrolling
  257.             for i=0,#sections-numMaxSections do
  258.                 NumLabels = NumLabels - #sections[1]:GetChildren()
  259.                 sections[1]:Destroy()
  260.                 table.remove(sections,1)
  261.             end
  262.         end
  263.         sections[#sections+1]=f
  264.         f.Parent = Scroll
  265.        
  266.         CurrentSection = f
  267.     end
  268.    
  269.     Console:SetColor(Console.White)
  270.    
  271.     Main.MouseEnter:connect(function()
  272.         CanScroll = false
  273.     end)
  274.     Main.MouseLeave:connect(function()
  275.         CanScroll = true
  276.         --"unpause"
  277.         for i=1,#sections-numMaxSections do
  278.             NumLabels = NumLabels - #sections[1]:GetChildren()
  279.             sections[1]:Destroy()
  280.             table.remove(sections,1)
  281.         end
  282.         Scroll.CanvasSize = UDim2.new(0, 0, 0, NumLabels*20)
  283.     end)
  284.    
  285.     --//// utilities ////
  286.     local function isInArray(t,v)
  287.         for i=1,#t do
  288.             if t[i]==v then
  289.                 return true
  290.             end
  291.         end
  292.         return false
  293.     end
  294.    
  295.     local function instFormat(name)
  296.         if name=='' or name:match("[^_%w]") or name:match("^%d") then
  297.             return '["'..name..'"]'
  298.         end
  299.         return "."..name
  300.     end
  301.     local function GetPath(inst)
  302.         if inst==game then return "game" end
  303.         if inst.Parent==nil then return inst.Name end
  304.         local current,str=inst,''
  305.         while current.Parent~=game do
  306.             str=instFormat(current.Name) ..str
  307.             current = current.Parent
  308.         end
  309.         if current==workspace then
  310.             return "workspace"..str
  311.         elseif pcall(game.GetService,game,current.ClassName) then
  312.             return 'game:GetService("'.. current.ClassName ..'")'..str
  313.         end
  314.         return "game"..instFormat(current.Name)..str
  315.     end
  316.    
  317.     local FullPathsMode = false --internally toggled for using GetPath
  318.     local function _tostring(x)
  319.         local typ = typeof(x)
  320.         if typ == "table" then
  321.             return tableToString(x)
  322.         elseif typ == "string" then
  323.             return '"'..x..'"'
  324.         elseif typ == "Vector3" then
  325.             return string.format("Vector3.new(%g,%g,%g)",x.X,x.Y,x.Z)
  326.         elseif typ == "Color3" then
  327.             return string.format("Color3.new(%g,%g,%g)",x.r,x.g,x.b)
  328.         elseif typ == "Vector2" then
  329.             return string.format("Vector2.new(%g,%g)",x.X,x.Y)
  330.         elseif typ == "CFrame" then
  331.             return string.format("CFrame.new(%g,%g,%g,%g,%g,%g,%g,%g,%g,%g,%g,%g)",x:components())
  332.         elseif typ == "UDim2" then
  333.             return string.format("UDim2.new(%g,%g,%g,%g)",x.X.Scale,x.X.Offset,x.Y.Scale,x.Y.Offset)
  334.         elseif typ == "Instance" then
  335.             return ((FullPathsMode==true) and GetPath(x)) or x:GetFullName()
  336.         end
  337.        
  338.         return tostring(x)
  339.     end
  340.    
  341.     function tableToString(tab)
  342.         local str = "{ "
  343.         local len = #tab
  344.    
  345.         local c = 1
  346.         for k,v in pairs(tab) do
  347.             if (k==c and k<=len) then
  348.                 --array part
  349.                 str = str .. _tostring(v) .. ", "
  350.                 c = c + 1
  351.             else
  352.                 --dict part
  353.                 str = str .. "[" .. _tostring(k) .. "]= " .. _tostring(v) .. ", "
  354.             end
  355.         end
  356.        
  357.         str = str:sub(1,math.max(1,#str-2)) .. " }"
  358.         return str
  359.     end
  360.    
  361.     function tupleString(tab,fullPaths)
  362.         FullPathsMode=fullPaths
  363.         return tableToString(tab):sub(3,-3)
  364.     end
  365.     --//// end utilities ////
  366.    
  367.     toConsole = function(method, event, Args, Returned)
  368.         local nilParent = game:IsAncestorOf(event)==false
  369.         if (spyNilInstances==false and nilParent==true) or (event.Name=="CharacterSoundEvent" and event.Parent and event.Parent.ClassName=="Sound") or isInArray(Ignore,event.Name) then
  370.             --ignored an event
  371.             return
  372.         end
  373.         pcall(function()
  374.             Console:PushSection(string.format("%s:%s(%s)",GetPath(event),method,tupleString(Args,true)))
  375.             Console:WriteLine(string.format("%s.%s called!",event.ClassName,method))
  376.             Console:WriteLine("Path: "..event:GetFullName())
  377.             Console:WriteLine("Args: "..tupleString(Args))
  378.             if Returned and #Returned>0 then
  379.                 Console:WriteLine("Returned: ".. tupleString(Returned))
  380.             end
  381.         end)
  382.     end
  383.    
  384.     local logsList = {}
  385.    
  386.     MT.__namecall = newcclosure(function(inst,...)
  387.         local args = {...}
  388.         local m = getnamecallmethod()
  389.         args[#args]=nil
  390.         if (m=="FireServer" or m=="Fire" or m=="InvokeServer" or m=="Invoke") and SpyOn[inst.ClassName] then
  391.             local returned = {oldNamecall(inst,...)}
  392.             logsList[#logsList+1]={m, inst, args, returned}
  393.             return unpack(returned)
  394.         end
  395.         return oldNamecall(inst,...)
  396.     end)
  397.    
  398.    
  399.     Console:PushSection()
  400.     Console:WriteLine("Welcome to Magic's RemoteSpy!")
  401.    
  402.     while wait() and GUI.Parent do
  403.         if #logsList>0 then
  404.             toConsole(unpack(table.remove(logsList,1)))
  405.         end
  406.     end
  407.  
  408. end)
  409.  
  410. game:GetObjects('rbxassetid://4632363446')[1].Parent = game.CoreGui
  411. gui = game.CoreGui:WaitForChild('MagicConsole')
  412. GUI = game.CoreGui:WaitForChild("SpyScroller")
  413. local header = gui:WaitForChild("Header")
  414. local cmds = header:WaitForChild("Body").Commands
  415. local selected_target = nil
  416. local player = game.Players.LocalPlayer
  417. header.Visible = false
  418. gui.Console.Visible = false
  419. header.Body.Visible = false
  420. header.Draggable = true
  421. header.Selectable = true
  422. header.Active = true
  423.  
  424. success, Error = pcall(function()
  425.     local char = game.Players.LocalPlayer.Character or game.Players.LocalPlayer.CharacterAdded:wait()
  426.     local Mouse = game:GetService("Players").LocalPlayer:GetMouse()
  427.    
  428.     Mouse.Button1Down:connect(function()
  429.         if not game:GetService("UserInputService"):IsKeyDown(Enum.KeyCode.LeftControl) then
  430.             return
  431.         end
  432.         if not Mouse.Target then
  433.             return
  434.         end
  435.         if Mouse.Target.Parent:FindFirstChild("Humanoid") then
  436.             if game.Players:FindFirstChild(Mouse.Target.Parent.Name) then
  437.                 selected_target = Mouse.Target.Parent.Name
  438.                 header.Body.Selected.Text = Mouse.Target.Parent.Name   
  439.             end
  440.         end
  441.     end)
  442.    
  443.     cmds.Attach.Text = "Rape"
  444.    
  445.    
  446.     function updateList()
  447.         for i,v in pairs(header.Body.List:GetChildren()) do
  448.             if v:IsA("TextButton") then
  449.                 v:Destroy()
  450.             end
  451.         end
  452.         for i,v in pairs(game.Players:GetChildren()) do
  453.             local template = header.Body.Template:Clone()
  454.             template.Parent = header.Body.List
  455.             template.Name = v.Name
  456.             template.Text = v.Name
  457.             template.Visible = true
  458.         end
  459.         for i,v in pairs(header.Body.List:GetChildren()) do
  460.             if v:IsA("TextButton") then
  461.                 v.MouseButton1Click:connect(function()
  462.                     selected_target = v.Name
  463.                     header.Body.Selected.Text = v.Name
  464.                 end)
  465.             end
  466.         end
  467.     end
  468.    
  469.     function Notify(txt)
  470.         if gui:WaitForChild("Console").Visible == false then
  471.             gui:WaitForChild("Console").Visible = true
  472.             spawn(function()
  473.                 for i = 1, #txt do
  474.                     gui:WaitForChild("Console").Message.Text = string.sub(txt, 1, i)
  475.                     wait(0.04)
  476.                 end
  477.                 wait(4)
  478.                 gui:WaitForChild("Console").Message.Text = ""
  479.                 gui:WaitForChild("Console").Visible = false
  480.             end)
  481.         end
  482.     end
  483.    
  484.     game.Players.PlayerAdded:Connect(function(ply)
  485.         if ply:IsFriendsWith(player.UserId) then
  486.             Notify("Your friend " .. ply.Name .. " has joined!")
  487.         end
  488.     end)
  489.    
  490.     header.Toggle.MouseButton1Click:connect(function()
  491.         if header.Body.Visible == true then
  492.             header.Body.Visible = false
  493.         else
  494.             header.Body.Visible = true
  495.         end
  496.     end)
  497.    
  498.    
  499.     local phrases = {
  500.         "Welcome Master! I missed you!",
  501.         "Hii where have you been?",
  502.         "I've updated stuff while you were gone!",
  503.         "B-baka.. Welcome back!",
  504.         "I didn't miss you or anything..",
  505.     }
  506.    
  507.     local value = math.random(1,#phrases)
  508.     local picked_value = phrases[value]
  509.    
  510.    
  511.     cmds.Kill.MouseButton1Click:connect(function()
  512.         if selected_target ~= nil then
  513.             if workspace:FindFirstChild(selected_target) then
  514.                 local torsoname = "Torso"
  515.                 if player.Character:FindFirstChild("Humanoid").RigType == Enum.HumanoidRigType.R15 then
  516.                     torsoname = "UpperTorso"
  517.                 end
  518.                 local savepos = player.Character:FindFirstChild("HumanoidRootPart").CFrame
  519.                 player.Character:FindFirstChild(torsoname).Anchored = true
  520.                 local tool = Instance.new("Tool", player.Backpack)
  521.                 local hat = player.Character:FindFirstChildOfClass("Accessory")
  522.                 local hathandle = hat.Handle
  523.                 hathandle.Parent = tool
  524.                 hathandle.Massless = true
  525.                 tool.GripPos = Vector3.new(0,9e99, 0)
  526.                 tool.Parent = player.Character
  527.                 repeat wait() until player.Character:FindFirstChildOfClass("Tool") ~= nil
  528.                 tool.Grip = CFrame.new(Vector3.new(0,0,0))
  529.                 player.Character:FindFirstChild(torsoname).Anchored = false
  530.                 repeat
  531.                     player.Character:FindFirstChild("HumanoidRootPart").CFrame = workspace:FindFirstChild(selected_target):FindFirstChild("HumanoidRootPart").CFrame
  532.                     wait()
  533.                 until workspace:FindFirstChild(selected_target) == nil or workspace:FindFirstChild(selected_target):FindFirstChild("Humanoid").Health <= 0 or player.Character == nil or player.Character:FindFirstChild("Humanoid").Health <= 0 or (workspace:FindFirstChild(selected_target):FindFirstChild("HumanoidRootPart").Velocity.magnitude - workspace:FindFirstChild(selected_target):FindFirstChild("Humanoid").WalkSpeed) > (workspace:FindFirstChild(selected_target):FindFirstChild("Humanoid").WalkSpeed + 20)
  534.                 player.Character:FindFirstChild("Humanoid"):UnequipTools()
  535.                 hathandle.Parent = hat
  536.                 hathandle.Massless = false
  537.                 tool:Destroy()
  538.                 player.Character:FindFirstChild("HumanoidRootPart").CFrame = savepos
  539.             end
  540.         end
  541.     end)
  542.    
  543.     cmds.Report.MouseButton1Click:connect(function()
  544.         if selected_target ~= nil and game.Players:FindFirstChild(selected_target) then
  545.             for i = 1,10 do
  546.                 game.Players:ReportAbuse(game.Players:FindFirstChild(selected_target), "Exploiting", "HES EXPLOITING!!!!")
  547.             end
  548.             Notify("I reported them 10 times for you!")
  549.         end
  550.     end)
  551.    
  552.     header.Body.RS.MouseButton1Click:connect(function()
  553.         if GUI.Enabled == true then
  554.             GUI.Enabled = false
  555.         else
  556.             GUI.Enabled = true
  557.         end
  558.     end)
  559.    
  560.     cmds.Attach.MouseButton1Click:connect(function()
  561.         if selected_target ~= nil then
  562.             if workspace:FindFirstChild(selected_target) then
  563.                 local A=Instance.new'Animation'
  564.                 A.AnimationId='rbxassetid://148840371'
  565.                 local P=game:GetService'Players'.LocalPlayer
  566.                 local C=P.Character or P.CharacterAdded:Wait()
  567.                 local H=C:WaitForChild'Humanoid':LoadAnimation(A)
  568.                 H:Play()
  569.                 H:AdjustSpeed(2.5)
  570.                 repeat wait()
  571.                     C:WaitForChild'HumanoidRootPart'.CFrame=CFrame.new(workspace:FindFirstChild(selected_target):WaitForChild'HumanoidRootPart'.Position)
  572.                 until player.Character == nil or player.Character.Humanoid.Health <= 0 or workspace:FindFirstChild(selected_target) == nil
  573.                 H:Stop()
  574.             end
  575.         end
  576.     end)
  577.    
  578.     cmds.Goto.MouseButton1Click:connect(function()
  579.         if selected_target ~= nil then
  580.             if workspace:FindFirstChild(selected_target) then
  581.                 player.Character:FindFirstChild("HumanoidRootPart").CFrame = workspace:FindFirstChild(selected_target):FindFirstChild("HumanoidRootPart").CFrame
  582.             end        
  583.         end
  584.     end)
  585.    
  586.     if game.GameId == 27611054 then
  587.         for i,v in pairs(workspace:FindFirstChild("Booths"):GetDescendants()) do
  588.             if v.Name == "CollisionBox" then
  589.                 v:GetPropertyChangedSignal("BrickColor"):connect(function()
  590.                     Notify("Oh dear someone banned you! I'll fix that!")
  591.                     v:Destroy()
  592.                 end)
  593.             end
  594.         end
  595.     end
  596.    
  597.     spawn(function()
  598.         wait(1)
  599.         print("Loaded Magic.Console.V.1.1")
  600.         Notify(picked_value)
  601.         header.Visible = true
  602.     end)
  603.     spawn(function()
  604.         while wait(2) do
  605.             updateList()
  606.         end
  607.     end)
  608. end)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top