The text below is selected, press Ctrl+C to copy to your clipboard. (⌘+C on Mac) No line numbers will be copied.
Guest
Fe Gravity Gun script pastebin roblox
By Fe Gravity Gun on 2024-11-27 08:00 am | Syntax: LUA | Views: 18



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



  • Recent Roblox Scripts