1x1x1x1IAMbck

Gravity gun [PUBLIC RELEASE]

Jun 9th, 2018
2,164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 33.88 KB | None | 0 0
  1. --// By 1x1x1x1IAMbck from converted tool thx to Killersoldier45 \\--
  2. -- have fun?
  3. -- Q for bring player
  4. -- E to make player far
  5. -- R ლ(♥Ѡ♥ლ) remove part ლ(♥Ѡ♥ლ)
  6.  
  7.  
  8. --Converted with ttyyuu12345's model to script plugin v4
  9. function sandbox(var,func)
  10.     local env = getfenv(func)
  11.     local newenv = setmetatable({},{
  12.         __index = function(self,k)
  13.             if k=="script" then
  14.                 return var
  15.             else
  16.                 return env[k]
  17.             end
  18.         end,
  19.     })
  20.     setfenv(func,newenv)
  21.     return func
  22. end
  23. cors = {}
  24. mas = Instance.new("Model",game:GetService("Lighting"))
  25. Tool0 = Instance.new("Tool")
  26. Part1 = Instance.new("Part")
  27. CylinderMesh2 = Instance.new("CylinderMesh")
  28. Part3 = Instance.new("Part")
  29. LocalScript4 = Instance.new("LocalScript")
  30. Script5 = Instance.new("Script")
  31. LocalScript6 = Instance.new("LocalScript")
  32. Script7 = Instance.new("Script")
  33. MeshPart8 = Instance.new("MeshPart")
  34. LocalScript9 = Instance.new("LocalScript")
  35. Part10 = Instance.new("Part")
  36. Script11 = Instance.new("Script")
  37. Part12 = Instance.new("Part")
  38. Script13 = Instance.new("Script")
  39. Part14 = Instance.new("Part")
  40. Script15 = Instance.new("Script")
  41. Camera16 = Instance.new("Camera")
  42. Tool0.Name = "Physics Gun"
  43. Tool0.Parent = mas
  44. Tool0.CanBeDropped = false
  45. Part1.Name = "Handle"
  46. Part1.Parent = Tool0
  47. Part1.CFrame = CFrame.new(-6.38954401, 5.79334402, -31.4668274, 0.96399641, -4.98074878e-05, 0.265921414, 4.79998416e-05, 1, 1.32960558e-05, -0.265921414, -5.30653779e-08, 0.96399641)
  48. Part1.Orientation = Vector3.new(0, 15.4200001, 0)
  49. Part1.Position = Vector3.new(-6.38954401, 5.79334402, -31.4668274)
  50. Part1.Rotation = Vector3.new(0, 15.4200001, 0)
  51. Part1.Color = Color3.new(0.0156863, 0.686275, 0.92549)
  52. Part1.Transparency = 1
  53. Part1.Size = Vector3.new(1, 0.400000036, 0.300000012)
  54. Part1.BottomSurface = Enum.SurfaceType.Smooth
  55. Part1.BrickColor = BrickColor.new("Cyan")
  56. Part1.CanCollide = false
  57. Part1.Material = Enum.Material.Neon
  58. Part1.TopSurface = Enum.SurfaceType.Smooth
  59. Part1.brickColor = BrickColor.new("Cyan")
  60. Part1.FormFactor = Enum.FormFactor.Custom
  61. Part1.formFactor = Enum.FormFactor.Custom
  62. CylinderMesh2.Parent = Part1
  63. CylinderMesh2.Scale = Vector3.new(0.100000001, 0.100000001, 0.100000001)
  64. Part3.Name = "Shoot"
  65. Part3.Parent = Tool0
  66. Part3.CFrame = CFrame.new(-5.9198041, 5.87110806, -32.6073456, -0.0245519895, 0.99968797, 0.00460194098, 0.0169109926, 0.00501798885, -0.999844491, -0.999555528, -0.0244703442, -0.0170289185)
  67. Part3.Orientation = Vector3.new(88.9899979, 164.87999, 73.4700012)
  68. Part3.Position = Vector3.new(-5.9198041, 5.87110806, -32.6073456)
  69. Part3.Rotation = Vector3.new(90.9799957, 0.25999999, -91.409996)
  70. Part3.Color = Color3.new(0.0156863, 0.686275, 0.92549)
  71. Part3.Transparency = 1
  72. Part3.Size = Vector3.new(0.200000003, 0.25, 0.310000032)
  73. Part3.BottomSurface = Enum.SurfaceType.Smooth
  74. Part3.BrickColor = BrickColor.new("Cyan")
  75. Part3.CanCollide = false
  76. Part3.Material = Enum.Material.Neon
  77. Part3.Reflectance = 0.30000001192093
  78. Part3.TopSurface = Enum.SurfaceType.Smooth
  79. Part3.brickColor = BrickColor.new("Cyan")
  80. Part3.FormFactor = Enum.FormFactor.Custom
  81. Part3.formFactor = Enum.FormFactor.Custom
  82. LocalScript4.Parent = Tool0
  83. table.insert(cors,sandbox(LocalScript4,function()
  84. -- Variables for services
  85. local render = game:GetService("RunService").RenderStepped
  86. local contextActionService = game:GetService("ContextActionService")
  87. local userInputService = game:GetService("UserInputService")
  88.  
  89. local player = game.Players.LocalPlayer
  90. local mouse = player:GetMouse()
  91. local Tool = script.Parent
  92.  
  93. -- Variables for Module Scripts
  94. local screenSpace = require(Tool:WaitForChild("ScreenSpace"))
  95.  
  96. local connection
  97. -- Variables for character joints
  98.  
  99. local neck, shoulder, oldNeckC0, oldShoulderC0
  100.  
  101. local mobileShouldTrack = true
  102.  
  103. -- Thourough check to see if a character is sitting
  104. local function amISitting(character)
  105.     local t = character.Torso
  106.     for _, part in pairs(t:GetConnectedParts(true)) do
  107.         if part:IsA("Seat") or part:IsA("VehicleSeat") then
  108.             return true
  109.         end
  110.     end
  111. end
  112.  
  113. -- Function to call on renderstepped. Orients the character so it is facing towards
  114. -- the player mouse's position in world space. If character is sitting then the torso
  115. -- should not track
  116. local function frame(mousePosition)
  117.     -- Special mobile consideration. We don't want to track if the user was touching a ui
  118.     -- element such as the movement controls. Just return out of function if so to make sure
  119.     -- character doesn't track
  120.     if not mobileShouldTrack then return end
  121.    
  122.     -- Make sure character isn't swiming. If the character is swimming the following code will
  123.     -- not work well; the character will not swim correctly. Besides, who shoots underwater?
  124.     if player.Character.Humanoid:GetState() ~= Enum.HumanoidStateType.Swimming then
  125.         local torso = player.Character.Torso
  126.         local head = player.Character.Head
  127.        
  128.         local toMouse = (mousePosition - head.Position).unit
  129.         local angle = math.acos(toMouse:Dot(Vector3.new(0,1,0)))
  130.        
  131.         local neckAngle = angle
  132.    
  133.         -- Limit how much the head can tilt down. Too far and the head looks unnatural
  134.         if math.deg(neckAngle) > 110 then
  135.             neckAngle = math.rad(110)
  136.         end
  137.         neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.pi - neckAngle,math.pi,0)
  138.        
  139.         -- Calculate horizontal rotation
  140.         local arm = player.Character:FindFirstChild("Right Arm")
  141.         local fromArmPos = torso.Position + torso.CFrame:vectorToWorldSpace(Vector3.new(
  142.             torso.Size.X/2 + arm.Size.X/2, torso.Size.Y/2 - arm.Size.Z/2, 0))
  143.         local toMouseArm = ((mousePosition - fromArmPos) * Vector3.new(1,0,1)).unit
  144.         local look = (torso.CFrame.lookVector * Vector3.new(1,0,1)).unit
  145.         local lateralAngle = math.acos(toMouseArm:Dot(look))       
  146.        
  147.         -- Check for rogue math
  148.         if tostring(lateralAngle) == "-1.#IND" then
  149.             lateralAngle = 0
  150.         end    
  151.        
  152.         -- Handle case where character is sitting down
  153.         if player.Character.Humanoid:GetState() == Enum.HumanoidStateType.Seated then          
  154.            
  155.             local cross = torso.CFrame.lookVector:Cross(toMouseArm)
  156.             if lateralAngle > math.pi/2 then
  157.                 lateralAngle = math.pi/2
  158.             end
  159.             if cross.Y < 0 then
  160.                 lateralAngle = -lateralAngle
  161.             end
  162.         end
  163.        
  164.         -- Turn shoulder to point to mouse
  165.         shoulder.C0 = CFrame.new(1,0.5,0) * CFrame.Angles(math.pi/2 - angle,math.pi/2 + lateralAngle,0)
  166.        
  167.         -- If not sitting then aim torso laterally towards mouse
  168.         if not amISitting(player.Character) then
  169.             torso.CFrame = CFrame.new(torso.Position, torso.Position + (Vector3.new(
  170.                 mousePosition.X, torso.Position.Y, mousePosition.Z)-torso.Position).unit)
  171.         else
  172.             --print("sitting")     
  173.         end
  174.     end
  175. end
  176.  
  177. -- Function to bind to render stepped if player is on PC
  178. local function pcFrame()
  179.     frame(mouse.Hit.p)
  180. end
  181.  
  182. -- Function to bind to touch moved if player is on mobile
  183. local function mobileFrame(touch, processed)
  184.     -- Check to see if the touch was on a UI element. If so, we don't want to update anything
  185.     if not processed then
  186.         -- Calculate touch position in world space. Uses Stravant's ScreenSpace Module script
  187.         -- to create a ray from the camera.
  188.         local test = screenSpace.ScreenToWorld(touch.Position.X, touch.Position.Y, 1)
  189.         local nearPos = game.Workspace.CurrentCamera.CoordinateFrame:vectorToWorldSpace(screenSpace.ScreenToWorld(touch.Position.X, touch.Position.Y, 1))
  190.         nearPos = game.Workspace.CurrentCamera.CoordinateFrame.p - nearPos
  191.         local farPos = screenSpace.ScreenToWorld(touch.Position.X, touch.Position.Y,50)
  192.         farPos = game.Workspace.CurrentCamera.CoordinateFrame:vectorToWorldSpace(farPos) * -1
  193.         if farPos.magnitude > 900 then
  194.             farPos = farPos.unit * 900
  195.         end
  196.         local ray = Ray.new(nearPos, farPos)
  197.         local part, pos = game.Workspace:FindPartOnRay(ray, player.Character)
  198.        
  199.         -- if a position was found on the ray then update the character's rotation
  200.         if pos then
  201.             frame(pos)
  202.         end
  203.     end
  204. end
  205.  
  206. local oldIcon = nil
  207. -- Function to bind to equip event
  208. local function equip()
  209.     local torso = player.Character.Torso
  210.    
  211.     -- Setup joint variables
  212.     neck = torso.Neck  
  213.     oldNeckC0 = neck.C0
  214.     shoulder = torso:FindFirstChild("Right Shoulder")
  215.     oldShoulderC0 = shoulder.C0
  216.    
  217.     -- Remember old mouse icon and update current
  218.     oldIcon = mouse.Icon
  219.     mouse.Icon = "rbxassetid:// 509381906"
  220.    
  221.     -- Bind TouchMoved event if on mobile. Otherwise connect to renderstepped
  222.     if userInputService.TouchEnabled then
  223.         connection = userInputService.TouchMoved:connect(mobileFrame)
  224.     else
  225.         connection = render:connect(pcFrame)
  226.     end
  227.    
  228.     -- Bind TouchStarted and TouchEnded. Used to determine if character should rotate
  229.     -- during touch input
  230.     userInputService.TouchStarted:connect(function(touch, processed)
  231.         mobileShouldTrack = not processed
  232.     end)   
  233.     userInputService.TouchEnded:connect(function(touch, processed)
  234.         mobileShouldTrack = false
  235.     end)
  236.    
  237.     -- Fire server's equip event
  238.     game.ReplicatedStorage.ROBLOX_PistolEquipEvent:FireServer()
  239.    
  240.     -- Bind event for when mouse is clicked to fire server's fire event
  241.     mouse.Button1Down:connect(function()
  242.         game.ReplicatedStorage.ROBLOX_PistolFireEvent:FireServer(mouse.Hit.p)
  243.     end)
  244.    
  245.     -- Bind reload event to mobile button and r key
  246.     contextActionService:BindActionToInputTypes("Reload", function()
  247.         game.ReplicatedStorage.ROBLOX_PistolReloadEvent:FireServer()       
  248.     end, true, "")
  249.    
  250.     -- If game uses filtering enabled then need to update server while tool is
  251.     -- held by character.
  252.     if workspace.FilteringEnabled then
  253.         while connection do
  254.             wait()
  255.             game.ReplicatedStorage.ROBLOX_PistolUpdateEvent:FireServer(neck.C0, shoulder.C0)
  256.         end
  257.     end
  258. end
  259.  
  260. -- Function to bind to Unequip event
  261. local function unequip()
  262.     if connection then connection:disconnect() end
  263.     contextActionService:UnbindAction("Reload")
  264.     game.ReplicatedStorage.ROBLOX_PistolUnequipEvent:FireServer()
  265.     mouse.Icon = oldIcon
  266.     neck.C0 = oldNeckC0
  267.     shoulder.C0 = oldShoulderC0
  268. end
  269.  
  270. -- Bind tool events
  271. Tool.Equipped:connect(equip)
  272. Tool.Unequipped:connect(unequip)
  273. end))
  274. Script5.Name = "qPerfectionWeld"
  275. Script5.Parent = Tool0
  276. table.insert(cors,sandbox(Script5,function()
  277.  
  278. local NEVER_BREAK_JOINTS = false -- If you set this to true it will never break joints (this can create some welding issues, but can save stuff like hinges).
  279.  
  280.  
  281. local function CallOnChildren(Instance, FunctionToCall)
  282.     -- Calls a function on each of the children of a certain object, using recursion.  
  283.  
  284.     FunctionToCall(Instance)
  285.  
  286.     for _, Child in next, Instance:GetChildren() do
  287.         CallOnChildren(Child, FunctionToCall)
  288.     end
  289. end
  290.  
  291. local function GetNearestParent(Instance, ClassName)
  292.     -- Returns the nearest parent of a certain class, or returns nil
  293.  
  294.     local Ancestor = Instance
  295.     repeat
  296.         Ancestor = Ancestor.Parent
  297.         if Ancestor == nil then
  298.             return nil
  299.         end
  300.     until Ancestor:IsA(ClassName)
  301.  
  302.     return Ancestor
  303. end
  304.  
  305. local function GetBricks(StartInstance)
  306.     local List = {}
  307.  
  308.     -- if StartInstance:IsA("BasePart") then
  309.     --  List[#List+1] = StartInstance
  310.     -- end
  311.  
  312.     CallOnChildren(StartInstance, function(Item)
  313.         if Item:IsA("BasePart") then
  314.             List[#List+1] = Item;
  315.         end
  316.     end)
  317.  
  318.     return List
  319. end
  320.  
  321. local function Modify(Instance, Values)
  322.     -- Modifies an Instance by using a table.  
  323.  
  324.     assert(type(Values) == "table", "Values is not a table");
  325.  
  326.     for Index, Value in next, Values do
  327.         if type(Index) == "number" then
  328.             Value.Parent = Instance
  329.         else
  330.             Instance[Index] = Value
  331.         end
  332.     end
  333.     return Instance
  334. end
  335.  
  336. local function Make(ClassType, Properties)
  337.     -- Using a syntax hack to create a nice way to Make new items.  
  338.  
  339.     return Modify(Instance.new(ClassType), Properties)
  340. end
  341.  
  342. local Surfaces = {"TopSurface", "BottomSurface", "LeftSurface", "RightSurface", "FrontSurface", "BackSurface"}
  343. local HingSurfaces = {"Hinge", "Motor", "SteppingMotor"}
  344.  
  345. local function HasWheelJoint(Part)
  346.     for _, SurfaceName in pairs(Surfaces) do
  347.         for _, HingSurfaceName in pairs(HingSurfaces) do
  348.             if Part[SurfaceName].Name == HingSurfaceName then
  349.                 return true
  350.             end
  351.         end
  352.     end
  353.    
  354.     return false
  355. end
  356.  
  357. local function ShouldBreakJoints(Part)
  358.  
  359.     if NEVER_BREAK_JOINTS then
  360.         return false
  361.     end
  362.    
  363.     if HasWheelJoint(Part) then
  364.         return false
  365.     end
  366.    
  367.     local Connected = Part:GetConnectedParts()
  368.    
  369.     if #Connected == 1 then
  370.         return false
  371.     end
  372.    
  373.     for _, Item in pairs(Connected) do
  374.         if HasWheelJoint(Item) then
  375.             return false
  376.         elseif not Item:IsDescendantOf(script.Parent) then
  377.             return false
  378.         end
  379.     end
  380.    
  381.     return true
  382. end
  383.  
  384. local function WeldTogether(Part0, Part1, JointType, WeldParent)
  385.     JointType = JointType or "Weld"
  386.     local RelativeValue = Part1:FindFirstChild("qRelativeCFrameWeldValue")
  387.    
  388.     local NewWeld = Part1:FindFirstChild("qCFrameWeldThingy") or Instance.new(JointType)
  389.     Modify(NewWeld, {
  390.         Name = "qCFrameWeldThingy";
  391.         Part0  = Part0;
  392.         Part1  = Part1;
  393.         C0     = CFrame.new();--Part0.CFrame:inverse();
  394.         C1     = RelativeValue and RelativeValue.Value or Part1.CFrame:toObjectSpace(Part0.CFrame); --Part1.CFrame:inverse() * Part0.CFrame;-- Part1.CFrame:inverse();
  395.         Parent = Part1;
  396.     })
  397.  
  398.     if not RelativeValue then
  399.         RelativeValue = Make("CFrameValue", {
  400.             Parent     = Part1;
  401.             Name       = "qRelativeCFrameWeldValue";
  402.             Archivable = true;
  403.             Value      = NewWeld.C1;
  404.         })
  405.     end
  406.  
  407.     return NewWeld
  408. end
  409.  
  410. local function WeldParts(Parts, MainPart, JointType, DoNotUnanchor)
  411.     for _, Part in pairs(Parts) do
  412.         if ShouldBreakJoints(Part) then
  413.             Part:BreakJoints()
  414.         end
  415.     end
  416.    
  417.     for _, Part in pairs(Parts) do
  418.         if Part ~= MainPart then
  419.             WeldTogether(MainPart, Part, JointType, MainPart)
  420.         end
  421.     end
  422.  
  423.     if not DoNotUnanchor then
  424.         for _, Part in pairs(Parts) do
  425.             Part.Anchored = false
  426.         end
  427.         MainPart.Anchored = false
  428.     end
  429. end
  430.  
  431. local function PerfectionWeld()
  432.     local Tool = GetNearestParent(script, "Tool")
  433.  
  434.     local Parts = GetBricks(script.Parent)
  435.     local PrimaryPart = Tool and Tool:FindFirstChild("Handle") and Tool.Handle:IsA("BasePart") and Tool.Handle or script.Parent:IsA("Model") and script.Parent.PrimaryPart or Parts[1]
  436.  
  437.     if PrimaryPart then
  438.         WeldParts(Parts, PrimaryPart, "Weld", false)
  439.     else
  440.         warn("qWeld - Unable to weld part")
  441.     end
  442.    
  443.     return Tool
  444. end
  445.  
  446. local Tool = PerfectionWeld()
  447.  
  448.  
  449. if Tool and script.ClassName == "Script" then
  450.     --- Don't bother with local scripts
  451.  
  452.     script.Parent.AncestryChanged:connect(function()
  453.         PerfectionWeld()
  454.     end)
  455. end
  456.  
  457.  
  458. end))
  459. LocalScript6.Name = "Animate"
  460. LocalScript6.Parent = Tool0
  461. table.insert(cors,sandbox(LocalScript6,function()
  462. local arms = nil
  463. local torso = nil
  464. local welds = {}
  465. local Tool = script.Parent
  466. local neck = nil
  467. local orginalC0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  468.  
  469. function Equip(mouse)
  470. wait(0.01)
  471. arms = {Tool.Parent:FindFirstChild("Left Arm"), Tool.Parent:FindFirstChild("Right Arm")}
  472. head = Tool.Parent:FindFirstChild("Head")
  473. torso = Tool.Parent:FindFirstChild("Torso")
  474. if neck == nil then
  475. neck = Tool.Parent:FindFirstChild("Torso").Neck
  476. end
  477. if arms ~= nil and torso ~= nil then
  478. local sh = {torso:FindFirstChild("Left Shoulder"), torso:FindFirstChild("Right Shoulder")}
  479. if sh ~= nil then
  480. local yes = true
  481. if yes then
  482. yes = false
  483. sh[1].Part1 = nil
  484. sh[2].Part1 = nil
  485. local weld1 = Instance.new("Weld")
  486. weld1.Part0 = head
  487. weld1.Parent = head
  488. weld1.Part1 = arms[1]
  489. welds[1] = weld1
  490. local weld2 = Instance.new("Weld")
  491. weld2.Part0 = head
  492. weld2.Parent = head
  493. weld2.Part1 = arms[2]
  494. welds[2] = weld2
  495. -------------------------here
  496. weld1.C1 = CFrame.new(-0.5+1.5, 0.8, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0, math.rad(-90))
  497. weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-15), 0)
  498.     mouse.Move:connect(function ()
  499.         --local Direction = Tool.Direction.Value
  500.         local Direction = mouse.Hit.p
  501.         local b = head.Position.Y-Direction.Y
  502.         local dist = (head.Position-Direction).magnitude
  503.         local answer = math.asin(b/dist)
  504.         neck.C0=orginalC0*CFrame.fromEulerAnglesXYZ(answer,0,0)
  505.         wait(0.1)
  506.     end)end
  507. else
  508. print("sh")
  509. end
  510. else
  511. print("arms")
  512. end
  513. end
  514.  
  515. function Unequip(mouse)
  516. if arms ~= nil and torso ~= nil then
  517. local sh = {torso:FindFirstChild("Left Shoulder"), torso:FindFirstChild("Right Shoulder")}
  518. if sh ~= nil then
  519. local yes = true
  520. if yes then
  521. yes = false
  522.     neck.C0 = orginalC0
  523.  
  524. sh[1].Part1 = arms[1]
  525. sh[2].Part1 = arms[2]
  526. welds[1].Parent = nil
  527. welds[2].Parent = nil
  528. end
  529. else
  530. print("sh")
  531. end
  532. else
  533. print("arms")
  534. end
  535. end
  536. Tool.Equipped:connect(Equip)
  537. Tool.Unequipped:connect(Unequip)
  538.  
  539. function Animate()
  540. arms = {Tool.Parent:FindFirstChild("Left Arm"), Tool.Parent:FindFirstChild("Right Arm")}
  541.     if Tool.AnimateValue.Value == "Shoot" then
  542.         local weld1 = welds[1]
  543.         local weld2 = welds[2]
  544.         weld1.C1 = CFrame.new(-0.5+1.5, 0.8, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0, math.rad(-90))
  545.         weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-15), 0)
  546.         wait(0.00001)
  547.         weld1.C1 = CFrame.new(-0.5+1.5, 0.8, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0.05, math.rad(-90))
  548.         weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-15), 0)
  549.         wait(0.00001)
  550.         weld1.C1 = CFrame.new(-0.5+1.5, 0.8, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0.1, math.rad(-90))
  551.         weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-95), math.rad(-15), 0)
  552.         wait(0.00001)
  553.         weld1.C1 = CFrame.new(-0.5+1.5, 0.8, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0.3, math.rad(-90))
  554.         weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-110), math.rad(-15), 0)
  555.         wait(0.00001)
  556.         weld1.C1 = CFrame.new(-0.5+1.5, 0.8, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0.35, math.rad(-90))
  557.         weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-115), math.rad(-15), 0)
  558.         wait(0.00001)
  559.         weld1.C1 = CFrame.new(-0.5+1.5, 0.8, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0.4, math.rad(-90))
  560.         weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-120), math.rad(-15), 0)
  561.         wait(0.00001)
  562.         weld1.C1 = CFrame.new(-0.5+1.5, 0.8, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0, math.rad(-90))
  563.         weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-15), 0)   
  564.         Tool.AnimateValue.Value = "None"
  565.     end
  566.     if Tool.AnimateValue.Value == "Reload" then
  567.         local weld1 = welds[1]
  568.         local weld2 = welds[2]
  569.         weld1.C1 = CFrame.new(-0.5+1.5, 0.8, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0, math.rad(-90))
  570.         weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-15), 0)
  571.         wait(0.0001)
  572.         weld1.C1 = CFrame.new(-0.5+1.5, 0.8, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0.4, math.rad(-90))
  573.         weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-15), 0)
  574.         wait(0.0001)
  575.         weld1.C1 = CFrame.new(-0.5+1.5, 0.8, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0.4, math.rad(-90))
  576.         weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-95), math.rad(-15), 0)
  577.         wait(0.0001)
  578.         weld1.C1 = CFrame.new(-0.5+1.5, 0.8, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0.4, math.rad(-90))
  579.         weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-100), math.rad(-15), 0)
  580.         wait(0.0001)
  581.         weld1.C1 = CFrame.new(-0.5+1.5, 0.8, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0.4, math.rad(-90))
  582.         weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-105), math.rad(-15), 0)
  583.         wait(0.0001)
  584.         weld1.C1 = CFrame.new(-0.5+1.5, 0.8, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0.4, math.rad(-90))
  585.         weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-110), math.rad(-15), 0)
  586.         wait(0.0001)
  587.         weld1.C1 = CFrame.new(-0.5+1.5, 0.8, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0.4, math.rad(-90))
  588.         weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-115), math.rad(-15), 0)
  589.         wait(0.0001)
  590.         weld1.C1 = CFrame.new(-0.5+1.5, 0.8, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0.45, math.rad(-90))
  591.         weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-120), math.rad(-15), 0)
  592.         wait(0.0001)
  593.         weld1.C1 = CFrame.new(-0.5+1.5, 0.9, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0.5, math.rad(-90))
  594.         weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-120), math.rad(-15), 0)
  595.         wait(0.0001)
  596.         weld1.C1 = CFrame.new(-0.5+1.5, 1, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0.55, math.rad(-90))
  597.         weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-120), math.rad(-15), 0)
  598.         wait(0.0001)
  599.         weld1.C1 = CFrame.new(-0.5+1.5, 1.1, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0.57, math.rad(-90))
  600.         weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-120), math.rad(-15), 0)
  601.         wait(0.0001)
  602.         weld1.C1 = CFrame.new(-0.5+1.5, 1.2, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0.6, math.rad(-90))
  603.         weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-120), math.rad(-15), 0)
  604.         wait(0.0001)
  605.         weld1.C1 = CFrame.new(-0.5+1.5, 1.3, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0.6, math.rad(-90))
  606.         weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-120), math.rad(-15), 0)
  607.         wait(0.0001)
  608.         weld1.C1 = CFrame.new(-0.5+1.5, 0.8, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0, math.rad(-90))
  609.         weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-15), 0)   
  610.         Tool.AnimateValue.Value = "None"
  611.     end
  612. end
  613.  
  614. Tool.AnimateValue.Changed:connect(Animate)
  615.  
  616. end))
  617. Script7.Name = "LineConnect"
  618. Script7.Parent = Tool0
  619. table.insert(cors,sandbox(Script7,function()
  620. wait()
  621. local check = script.Part2
  622. local part1 = script.Part1.Value
  623. local part2 = script.Part2.Value
  624. local parent = script.Par.Value
  625. local color = script.Color
  626. local line = Instance.new("Part")
  627. line.TopSurface = 0
  628. line.BottomSurface = 0
  629. line.Reflectance = .5
  630. line.Name = "Laser"
  631. line.Transparency = 0.6
  632. line.Locked = true
  633. line.CanCollide = false
  634. line.Anchored = true
  635. line.formFactor = 0
  636. line.Size = Vector3.new(0.4,0.4,1)
  637. local mesh = Instance.new("BlockMesh")
  638. mesh.Parent = line
  639. while true do
  640.     if (check.Value==nil) then break end
  641.     if (part1==nil or part2==nil or parent==nil) then break end
  642.     if (part1.Parent==nil or part2.Parent==nil) then break end
  643.     if (parent.Parent==nil) then break end
  644.     local lv = CFrame.new(part1.Position,part2.Position)
  645.     local dist = (part1.Position-part2.Position).magnitude
  646.     line.Parent = parent
  647.     line.Material = "Neon"
  648.     line.BrickColor = color.Value.BrickColor
  649.     line.Reflectance = color.Value.Reflectance
  650.     line.Transparency = "0.2"
  651.     line.CFrame = CFrame.new(part1.Position+lv.lookVector*dist/2)
  652.     line.CFrame = CFrame.new(line.Position,part2.Position)
  653.     mesh.Scale = Vector3.new(.25,.25,dist)
  654.     wait()
  655. end
  656. line:remove()
  657. script:remove()
  658. end))
  659. Script7.Disabled = true
  660. MeshPart8.Parent = Tool0
  661. MeshPart8.CFrame = CFrame.new(-6.17515802, 5.924335, -31.6297131, -0.999974906, 2.5773692e-05, -0.00732602458, 2.6000147e-05, 1, -3.08087401e-05, 0.00732602412, -3.09983407e-05, -0.999974906)
  662. MeshPart8.Orientation = Vector3.new(0, -179.580002, 0)
  663. MeshPart8.Position = Vector3.new(-6.17515802, 5.924335, -31.6297131)
  664. MeshPart8.Rotation = Vector3.new(180, -0.419999987, -180)
  665. MeshPart8.Size = Vector3.new(1.87063444, 1.44867194, 3.66569638)
  666. MeshPart8.TextureID = "rbxassetid://437276827"
  667. LocalScript9.Name = "MainScript"
  668. LocalScript9.Parent = Tool0
  669. table.insert(cors,sandbox(LocalScript9,function()
  670. --Physics gun created by 1x1x1x1IAMbck
  671. wait()
  672. tool = script.Parent
  673. lineconnect = tool.LineConnect
  674. object = nil
  675. mousedown = false
  676. found = false
  677. BP = Instance.new("BodyPosition")
  678. BP.maxForce = Vector3.new(math.huge*math.huge,math.huge*math.huge,math.huge*math.huge) --pwns everyone elses bodyposition
  679. BP.P = BP.P*10 --faster movement. less bounceback.
  680. dist = nil
  681. point = Instance.new("Part")
  682. point.Locked = true
  683. point.Anchored = true
  684. point.formFactor = 0
  685. point.Shape = 0
  686. point.Material = 'Neon'
  687. point.BrickColor = BrickColor.new("Toothpaste")
  688. point.Size = Vector3.new(1,1,1)
  689. point.CanCollide = false
  690. local mesh = Instance.new("SpecialMesh")
  691. mesh.MeshType = "Sphere"
  692. mesh.Scale = Vector3.new(.2,.2,.2)
  693. mesh.Parent = point
  694. handle = tool.Shoot
  695. front = tool.Shoot
  696. color = tool.Shoot
  697. objval = nil
  698. local hooked = false
  699. local hookBP = BP:clone()
  700. hookBP.maxForce = Vector3.new(30000,30000,30000)
  701.  
  702. function LineConnect(part1,part2,parent)
  703.     local p1 = Instance.new("ObjectValue")
  704.     p1.Value = part1
  705.     p1.Name = "Part1"
  706.     local p2 = Instance.new("ObjectValue")
  707.     p2.Value = part2
  708.     p2.Name = "Part2"
  709.     local par = Instance.new("ObjectValue")
  710.     par.Value = parent
  711.     par.Name = "Par"
  712.     local col = Instance.new("ObjectValue")
  713.     col.Value = color
  714.     col.Name = "Color"
  715.     local s = lineconnect:clone()
  716.     s.Disabled = false
  717.     p1.Parent = s
  718.     p2.Parent = s
  719.     par.Parent = s
  720.     col.Parent = s
  721.     s.Parent = workspace
  722.     if (part2==object) then
  723.         objval = p2
  724.     end
  725. end
  726.  
  727. function onButton1Down(mouse)
  728.     if (mousedown==true) then return end
  729.     mousedown = true
  730.     coroutine.resume(coroutine.create(function()
  731.         local p = point:clone()
  732.         p.Parent = tool
  733.         LineConnect(front,p,workspace)
  734.         while (mousedown==true) do
  735.             p.Parent = tool
  736.             if (object==nil) then
  737.                 if (mouse.Target==nil) then
  738.                     local lv = CFrame.new(front.Position,mouse.Hit.p)
  739.                     p.CFrame = CFrame.new(front.Position+(lv.lookVector*1000))
  740.                 else
  741.                     p.CFrame = CFrame.new(mouse.Hit.p)
  742.                 end
  743.             else
  744.                 LineConnect(front,object,workspace)
  745.                 break
  746.             end
  747.             wait()
  748.         end
  749.         p:remove()
  750.     end))
  751.     while (mousedown==true) do
  752.         if (mouse.Target~=nil) then
  753.             local t = mouse.Target
  754.             if (t.Anchored==false) then
  755.                 object = t
  756.                 dist = (object.Position-front.Position).magnitude
  757.                 break
  758.             end
  759.         end
  760.         wait()
  761.     end
  762.     while (mousedown==true) do
  763.         if (object.Parent==nil) then break end
  764.         local lv = CFrame.new(front.Position,mouse.Hit.p)
  765.         BP.Parent = object
  766.         BP.position = front.Position+lv.lookVector*dist
  767.         wait()
  768.     end
  769.     BP:remove()
  770.     object = nil
  771.     objval.Value = nil
  772. end
  773.  
  774. function onKeyDown(key,mouse)
  775.     local key = key:lower()
  776.     local yesh = false
  777.     if (key=="q") then
  778.         if (dist>=5) then
  779.             dist = dist-5
  780.         end
  781.     end
  782.     if key == "" then
  783.     if (object==nil) then return end
  784.     for _,v in pairs(object:children()) do
  785.     if v.className == "BodyGyro" then
  786.     return nil
  787.     end
  788.     end
  789.     BG = Instance.new("BodyGyro")
  790.     BG.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
  791.     BG.cframe = CFrame.new(object.CFrame.p)
  792.     BG.Parent = object
  793.     repeat wait() until(object.CFrame == CFrame.new(object.CFrame.p))
  794.     BG.Parent = nil
  795.     if (object==nil) then return end
  796.     for _,v in pairs(object:children()) do
  797.     if v.className == "BodyGyro" then
  798.     v.Parent = nil
  799.     end
  800.     end
  801.     object.Velocity = Vector3.new(0,0,0)
  802.     object.RotVelocity = Vector3.new(0,0,0)
  803.     end
  804.     if (key=="e") then
  805.         dist = dist+5
  806.     end
  807.     if (string.byte(key)==27) then
  808.         if (object==nil) then return end
  809.         local e = Instance.new("Explosion")
  810.         e.Parent = workspace
  811.         e.Position = object.Position
  812.         color.BrickColor = BrickColor.Black()
  813.         point.BrickColor = BrickColor.White()
  814.         wait(.48)
  815.         color.BrickColor = BrickColor.White()
  816.         point.BrickColor = BrickColor.Black()
  817.     end
  818.     if (key=="") then
  819.         if not hooked then
  820.         if (object==nil) then return end
  821.         hooked = true
  822.         hookBP.position = object.Position
  823.         if tool.Parent:findFirstChild("Torso") then
  824.         hookBP.Parent = tool.Parent.Torso
  825.         if dist ~= (object.Size.x+object.Size.y+object.Size.z)+5 then
  826.         dist = (object.Size.x+object.Size.y+object.Size.z)+5
  827.         end
  828.         end
  829.         else
  830.         hooked = false
  831.         hookBP.Parent = nil
  832.         end
  833.     end
  834.     if (key=="r") then
  835.         if (object==nil) then return end
  836.         color.BrickColor = BrickColor.new("Toothpaste")
  837.         point.BrickColor = BrickColor.new("Toothpaste")
  838.         object.Parent = nil
  839.         wait(.48)
  840.         color.BrickColor = BrickColor.new("Toothpaste")
  841.         point.BrickColor = BrickColor.new("Toothpaste")
  842.     end
  843.     if (key=="") then
  844.     if (object==nil) then return end
  845.     local New = object:clone()
  846.     New.Parent = object.Parent
  847.     for _,v in pairs(New:children()) do
  848.     if v.className == "BodyPosition" or v.className == "BodyGyro" then
  849.     v.Parent = nil
  850.     end
  851.     end
  852.     object = New
  853.     mousedown = false
  854.     mousedown = true
  855.     LineConnect(front,object,workspace)
  856.         while (mousedown==true) do
  857.         if (object.Parent==nil) then break end
  858.         local lv = CFrame.new(front.Position,mouse.Hit.p)
  859.         BP.Parent = object
  860.         BP.position = front.Position+lv.lookVector*dist
  861.         wait()
  862.     end
  863.     BP:remove()
  864.     object = nil
  865.     objval.Value = nil
  866.     end
  867.     if (key=="") then
  868.         local Cube = Instance.new("Part")
  869.         Cube.Locked = true
  870.         Cube.Size = Vector3.new(4,4,4)
  871.         Cube.formFactor = 0
  872.         Cube.TopSurface = 0
  873.         Cube.BottomSurface = 0
  874.         Cube.Name = "WeightedStorageCube"
  875.         Cube.Parent = workspace
  876.         Cube.CFrame = CFrame.new(mouse.Hit.p) + Vector3.new(0,2,0)
  877.         for i = 0,5 do
  878.             local Decal = Instance.new("Decal")
  879.             Decal.Texture = "http://www.roblox.com/asset/?id=2662260"
  880.             Decal.Face = i
  881.             Decal.Name = "WeightedStorageCubeDecal"
  882.             Decal.Parent = Cube
  883.         end
  884.     end
  885.     if (key=="") then
  886.         if dist ~= 15 then
  887.             dist = 15
  888.         end
  889.     end
  890. end
  891.  
  892. function onEquipped(mouse)
  893.     keymouse = mouse
  894.     local char = tool.Parent
  895.     human = char.Humanoid
  896.     human.Changed:connect(function() if (human.Health==0) then mousedown = false BP:remove() point:remove() tool:remove() end end)
  897.     mouse.Button1Down:connect(function() onButton1Down(mouse) end)
  898.     mouse.Button1Up:connect(function() mousedown = false end)
  899.     mouse.KeyDown:connect(function(key) onKeyDown(key,mouse) end)
  900.     mouse.Icon = "rbxassetid:// 509381906"
  901. end
  902.  
  903. tool.Equipped:connect(onEquipped)
  904. end))
  905. Part10.Name = "GlowPart"
  906. Part10.Parent = Tool0
  907. Part10.CFrame = CFrame.new(-5.9391551, 5.8703599, -31.9022942, 0.00736002205, 4.68389771e-11, -0.999974668, 4.72937245e-11, 1, 1.41590961e-10, 0.999974668, 5.09317033e-11, 0.00736002252)
  908. Part10.Orientation = Vector3.new(0, -89.5799942, 0)
  909. Part10.Position = Vector3.new(-5.9391551, 5.8703599, -31.9022942)
  910. Part10.Rotation = Vector3.new(0, -89.5899963, 0)
  911. Part10.Color = Color3.new(0.0156863, 0.686275, 0.92549)
  912. Part10.Transparency = 0.5
  913. Part10.Size = Vector3.new(1.20000005, 0.649999976, 2)
  914. Part10.BrickColor = BrickColor.new("Cyan")
  915. Part10.Material = Enum.Material.Neon
  916. Part10.brickColor = BrickColor.new("Cyan")
  917. Part10.Shape = Enum.PartType.Cylinder
  918. Script11.Name = "Glow Script"
  919. Script11.Parent = Part10
  920. table.insert(cors,sandbox(Script11,function()
  921. while true do
  922. wait(0.05)
  923. script.Parent.Transparency = .5
  924. wait(0.05)
  925. script.Parent.Transparency = .6
  926. wait(0.05)
  927. script.Parent.Transparency = .7
  928. wait(0.05)
  929. script.Parent.Transparency = .8
  930. wait(0.05)
  931. script.Parent.Transparency = .9
  932. wait(0.05)
  933. script.Parent.Transparency = .8
  934. wait(0.05)
  935. script.Parent.Transparency = .7
  936. wait(0.05)
  937. script.Parent.Transparency = .6
  938. wait(0.05)
  939. script.Parent.Transparency = .5
  940. end
  941.  
  942. end))
  943. Part12.Name = "GlowPart"
  944. Part12.Parent = Tool0
  945. Part12.CFrame = CFrame.new(-6.1008749, 6.09524679, -31.0506268, 0.00736002205, 0.562958956, -0.826454222, 4.72937245e-11, 0.826475084, 0.56297338, 0.999974668, -0.00414349511, 0.00608287565)
  946. Part12.Orientation = Vector3.new(-34.2599983, -89.5799942, 0)
  947. Part12.Position = Vector3.new(-6.1008749, 6.09524679, -31.0506268)
  948. Part12.Rotation = Vector3.new(-89.3799973, -55.7399979, -89.25)
  949. Part12.Color = Color3.new(0.0156863, 0.686275, 0.92549)
  950. Part12.Transparency = 0.5
  951. Part12.Size = Vector3.new(0.280000001, 0.25999999, 0.200000003)
  952. Part12.BrickColor = BrickColor.new("Cyan")
  953. Part12.Material = Enum.Material.Neon
  954. Part12.brickColor = BrickColor.new("Cyan")
  955. Script13.Name = "Glow Script"
  956. Script13.Parent = Part12
  957. table.insert(cors,sandbox(Script13,function()
  958. while true do
  959. wait(0.05)
  960. script.Parent.Transparency = .5
  961. wait(0.05)
  962. script.Parent.Transparency = .6
  963. wait(0.05)
  964. script.Parent.Transparency = .7
  965. wait(0.05)
  966. script.Parent.Transparency = .8
  967. wait(0.05)
  968. script.Parent.Transparency = .9
  969. wait(0.05)
  970. script.Parent.Transparency = .8
  971. wait(0.05)
  972. script.Parent.Transparency = .7
  973. wait(0.05)
  974. script.Parent.Transparency = .6
  975. wait(0.05)
  976. script.Parent.Transparency = .5
  977. end
  978.  
  979. end))
  980. Part14.Name = "GlowPart"
  981. Part14.Parent = Tool0
  982. Part14.CFrame = CFrame.new(-5.71092081, 6.07523823, -31.0506268, -0.0830051303, -0.584483683, -0.807150841, 0.0241250042, 0.808528602, -0.58796227, 0.996258855, -0.0682764053, -0.0530113392)
  983. Part14.Orientation = Vector3.new(36.0099983, -93.7599945, 1.70999992)
  984. Part14.Position = Vector3.new(-5.71092081, 6.07523823, -31.0506268)
  985. Part14.Rotation = Vector3.new(95.1500015, -53.8199997, 98.0799942)
  986. Part14.Color = Color3.new(0.0156863, 0.686275, 0.92549)
  987. Part14.Transparency = 0.5
  988. Part14.Size = Vector3.new(0.280000001, 0.25999999, 0.200000003)
  989. Part14.BrickColor = BrickColor.new("Cyan")
  990. Part14.Material = Enum.Material.Neon
  991. Part14.brickColor = BrickColor.new("Cyan")
  992. Script15.Name = "Glow Script"
  993. Script15.Parent = Part14
  994. table.insert(cors,sandbox(Script15,function()
  995. while true do
  996. wait(0.05)
  997. script.Parent.Transparency = .5
  998. wait(0.05)
  999. script.Parent.Transparency = .6
  1000. wait(0.05)
  1001. script.Parent.Transparency = .7
  1002. wait(0.05)
  1003. script.Parent.Transparency = .8
  1004. wait(0.05)
  1005. script.Parent.Transparency = .9
  1006. wait(0.05)
  1007. script.Parent.Transparency = .8
  1008. wait(0.05)
  1009. script.Parent.Transparency = .7
  1010. wait(0.05)
  1011. script.Parent.Transparency = .6
  1012. wait(0.05)
  1013. script.Parent.Transparency = .5
  1014. end
  1015.  
  1016. end))
  1017. Camera16.Name = "ThumbnailCamera"
  1018. Camera16.Parent = Tool0
  1019. Camera16.CFrame = CFrame.new(-72.6014481, 2.66755652, -7.33538532, -0.38762787, 0.0869381726, -0.917707145, 7.45058149e-09, 0.995542765, 0.0943118483, 0.921816051, 0.0365578942, -0.38590005)
  1020. Camera16.CoordinateFrame = CFrame.new(-72.6014481, 2.66755652, -7.33538532, -0.38762787, 0.0869381726, -0.917707145, 7.45058149e-09, 0.995542765, 0.0943118483, 0.921816051, 0.0365578942, -0.38590005)
  1021. Camera16.FieldOfView = 9.999999825821
  1022. Camera16.Focus = CFrame.new(-70.7660294, 2.47893238, -6.56358337, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1023. Camera16.focus = CFrame.new(-70.7660294, 2.47893238, -6.56358337, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1024. for i,v in pairs(mas:GetChildren()) do
  1025.     v.Parent = game:GetService("Players").LocalPlayer.Backpack
  1026.     pcall(function() v:MakeJoints() end)
  1027. end
  1028. mas:Destroy()
  1029. for i,v in pairs(cors) do
  1030.     spawn(function()
  1031.         pcall(v)
  1032.     end)
  1033. end
Add Comment
Please, Sign In to add comment