ControlC
· Pastebin
Login
Register
ControlC
/
Create paste
Paste content
Up to 100 KB of text. BBCode formatting is supported.
Title
- optional
Content
B
I
U
S
</>
Colors ↓
Sizes ↓
Size 1
Size 2
Size 3
Size 4
Size 5
Size 6
Size 7
--Physics gun\r\nfunction sandbox(var,func)\r\n local env = getfenv(func)\r\n local newenv = setmetatable({},{\r\n __index = function(self,k)\r\n if k==\"script\" then\r\n return var\r\n else\r\n return env[k]\r\n end\r\n end,\r\n })\r\n setfenv(func,newenv)\r\n return func\r\nend\r\ncors = {}\r\nmas = Instance.new(\"Model\",game:GetService(\"Lighting\"))\r\nTool0 = Instance.new(\"Tool\")\r\nPart1 = Instance.new(\"Part\")\r\nCylinderMesh2 = Instance.new(\"CylinderMesh\")\r\nPart3 = Instance.new(\"Part\")\r\nLocalScript4 = Instance.new(\"LocalScript\")\r\nScript5 = Instance.new(\"Script\")\r\nLocalScript6 = Instance.new(\"LocalScript\")\r\nScript7 = Instance.new(\"Script\")\r\nLocalScript8 = Instance.new(\"LocalScript\")\r\nPart9 = Instance.new(\"Part\")\r\nScript10 = Instance.new(\"Script\")\r\nPart11 = Instance.new(\"Part\")\r\nScript12 = Instance.new(\"Script\")\r\nPart13 = Instance.new(\"Part\")\r\nScript14 = Instance.new(\"Script\")\r\nTool0.Name = \"Physics Gun\"\r\nTool0.Parent = mas\r\nTool0.CanBeDropped = false\r\nPart1.Name = \"Handle\"\r\nPart1.Parent = Tool0\r\nPart1.Material = Enum.Material.Neon\r\nPart1.BrickColor = BrickColor.new(\"Cyan\")\r\nPart1.Transparency = 1\r\nPart1.Rotation = Vector3.new(0, 15.4200001, 0)\r\nPart1.CanCollide = false\r\nPart1.FormFactor = Enum.FormFactor.Custom\r\nPart1.Size = Vector3.new(1, 0.400000036, 0.300000012)\r\nPart1.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)\r\nPart1.BottomSurface = Enum.SurfaceType.Smooth\r\nPart1.TopSurface = Enum.SurfaceType.Smooth\r\nPart1.Color = Color3.new(0.0156863, 0.686275, 0.92549)\r\nPart1.Position = Vector3.new(-55.2695465, 0.696546972, 0.383156985)\r\nPart1.Orientation = Vector3.new(0, 15.4200001, 0)\r\nPart1.Color = Color3.new(0.0156863, 0.686275, 0.92549)\r\nCylinderMesh2.Parent = Part1\r\nCylinderMesh2.Scale = Vector3.new(0.100000001, 0.100000001, 0.100000001)\r\nCylinderMesh2.Scale = Vector3.new(0.100000001, 0.100000001, 0.100000001)\r\nPart3.Name = \"Shoot\"\r\nPart3.Parent = Tool0\r\nPart3.Material = Enum.Material.Neon\r\nPart3.BrickColor = BrickColor.new(\"Cyan\")\r\nPart3.Reflectance = 0.30000001192093\r\nPart3.Transparency = 1\r\nPart3.Rotation = Vector3.new(90.9799957, 0.25999999, -91.409996)\r\nPart3.CanCollide = false\r\nPart3.FormFactor = Enum.FormFactor.Custom\r\nPart3.Size = Vector3.new(0.200000003, 0.25, 0.310000032)\r\nPart3.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)\r\nPart3.BottomSurface = Enum.SurfaceType.Smooth\r\nPart3.TopSurface = Enum.SurfaceType.Smooth\r\nPart3.Color = Color3.new(0.0156863, 0.686275, 0.92549)\r\nPart3.Position = Vector3.new(-54.7998123, 0.774299085, -0.757350147)\r\nPart3.Orientation = Vector3.new(88.9899979, 164.87999, 73.4700012)\r\nPart3.Color = Color3.new(0.0156863, 0.686275, 0.92549)\r\nLocalScript4.Parent = Tool0\r\ntable.insert(cors,sandbox(LocalScript4,function()\r\n-- Variables for services\r\nlocal render = game:GetService(\"RunService\").RenderStepped\r\nlocal contextActionService = game:GetService(\"ContextActionService\")\r\nlocal userInputService = game:GetService(\"UserInputService\")\r\n\r\nlocal player = game.Players.LocalPlayer\r\nlocal mouse = player:GetMouse()\r\nlocal Tool = script.Parent\r\n\r\n-- Variables for Module Scripts\r\nlocal screenSpace = require(Tool:WaitForChild(\"ScreenSpace\"))\r\n\r\nlocal connection\r\n-- Variables for character joints\r\n\r\nlocal neck, shoulder, oldNeckC0, oldShoulderC0 \r\n\r\nlocal mobileShouldTrack = true\r\n\r\n-- Thourough check to see if a character is sitting\r\nlocal function amISitting(character)\r\n local t = character.Torso\r\n for _, part in pairs(t:GetConnectedParts(true)) do\r\n if part:IsA(\"Seat\") or part:IsA(\"VehicleSeat\") then\r\n return true\r\n end\r\n end\r\nend\r\n\r\n-- Function to call on renderstepped. Orients the character so it is facing towards\r\n-- the player mouse's position in world space. If character is sitting then the torso\r\n-- should not track\r\nlocal function frame(mousePosition)\r\n -- Special mobile consideration. We don't want to track if the user was touching a ui\r\n -- element such as the movement controls. Just return out of function if so to make sure\r\n -- character doesn't track\r\n if not mobileShouldTrack then return end\r\n \r\n -- Make sure character isn't swiming. If the character is swimming the following code will\r\n -- not work well; the character will not swim correctly. Besides, who shoots underwater?\r\n if player.Character.Humanoid:GetState() ~= Enum.HumanoidStateType.Swimming then\r\n local torso = player.Character.Torso\r\n local head = player.Character.Head\r\n \r\n local toMouse = (mousePosition - head.Position).unit\r\n local angle = math.acos(toMouse:Dot(Vector3.new(0,1,0)))\r\n \r\n local neckAngle = angle\r\n \r\n -- Limit how much the head can tilt down. Too far and the head looks unnatural\r\n if math.deg(neckAngle) > 110 then\r\n neckAngle = math.rad(110)\r\n end\r\n neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.pi - neckAngle,math.pi,0)\r\n \r\n -- Calculate horizontal rotation\r\n local arm = player.Character:FindFirstChild(\"Right Arm\")\r\n local fromArmPos = torso.Position + torso.CFrame:vectorToWorldSpace(Vector3.new(\r\n torso.Size.X/2 + arm.Size.X/2, torso.Size.Y/2 - arm.Size.Z/2, 0))\r\n local toMouseArm = ((mousePosition - fromArmPos) * Vector3.new(1,0,1)).unit\r\n local look = (torso.CFrame.lookVector * Vector3.new(1,0,1)).unit\r\n local lateralAngle = math.acos(toMouseArm:Dot(look)) \r\n \r\n -- Check for rogue math\r\n if tostring(lateralAngle) == \"-1.#IND\" then\r\n lateralAngle = 0\r\n end \r\n \r\n -- Handle case where character is sitting down\r\n if player.Character.Humanoid:GetState() == Enum.HumanoidStateType.Seated then \r\n \r\n local cross = torso.CFrame.lookVector:Cross(toMouseArm)\r\n if lateralAngle > math.pi/2 then\r\n lateralAngle = math.pi/2\r\n end\r\n if cross.Y < 0 then\r\n lateralAngle = -lateralAngle\r\n end\r\n end \r\n \r\n -- Turn shoulder to point to mouse\r\n shoulder.C0 = CFrame.new(1,0.5,0) * CFrame.Angles(math.pi/2 - angle,math.pi/2 + lateralAngle,0) \r\n \r\n -- If not sitting then aim torso laterally towards mouse\r\n if not amISitting(player.Character) then\r\n torso.CFrame = CFrame.new(torso.Position, torso.Position + (Vector3.new(\r\n mousePosition.X, torso.Position.Y, mousePosition.Z)-torso.Position).unit)\r\n else\r\n --print(\"sitting\") \r\n end \r\n end\r\nend\r\n\r\n-- Function to bind to render stepped if player is on PC\r\nlocal function pcFrame()\r\n frame(mouse.Hit.p)\r\nend\r\n\r\n-- Function to bind to touch moved if player is on mobile\r\nlocal function mobileFrame(touch, processed)\r\n -- Check to see if the touch was on a UI element. If so, we don't want to update anything\r\n if not processed then\r\n -- Calculate touch position in world space. Uses Stravant's ScreenSpace Module script\r\n -- to create a ray from the camera.\r\n local test = screenSpace.ScreenToWorld(touch.Position.X, touch.Position.Y, 1)\r\n local nearPos = game.Workspace.CurrentCamera.CoordinateFrame:vectorToWorldSpace(screenSpace.ScreenToWorld(touch.Position.X, touch.Position.Y, 1))\r\n nearPos = game.Workspace.CurrentCamera.CoordinateFrame.p - nearPos\r\n local farPos = screenSpace.ScreenToWorld(touch.Position.X, touch.Position.Y,50) \r\n farPos = game.Workspace.CurrentCamera.CoordinateFrame:vectorToWorldSpace(farPos) * -1\r\n if farPos.magnitude > 900 then\r\n farPos = farPos.unit * 900\r\n end\r\n local ray = Ray.new(nearPos, farPos)\r\n local part, pos = game.Workspace:FindPartOnRay(ray, player.Character)\r\n \r\n -- if a position was found on the ray then update the character's rotation\r\n if pos then\r\n frame(pos)\r\n end\r\n end\r\nend\r\n\r\nlocal oldIcon = nil\r\n-- Function to bind to equip event\r\nlocal function equip()\r\n local torso = player.Character.Torso\r\n \r\n -- Setup joint variables\r\n neck = torso.Neck \r\n oldNeckC0 = neck.C0\r\n shoulder = torso:FindFirstChild(\"Right Shoulder\")\r\n oldShoulderC0 = shoulder.C0\r\n \r\n -- Remember old mouse icon and update current\r\n oldIcon = mouse.Icon\r\n mouse.Icon = \"rbxassetid:// 509381906\"\r\n \r\n -- Bind TouchMoved event if on mobile. Otherwise connect to renderstepped\r\n if userInputService.TouchEnabled then\r\n connection = userInputService.TouchMoved:connect(mobileFrame)\r\n else\r\n connection = render:connect(pcFrame)\r\n end\r\n \r\n -- Bind TouchStarted and TouchEnded. Used to determine if character should rotate\r\n -- during touch input\r\n userInputService.TouchStarted:connect(function(touch, processed)\r\n mobileShouldTrack = not processed\r\n end) \r\n userInputService.TouchEnded:connect(function(touch, processed)\r\n mobileShouldTrack = false\r\n end)\r\n \r\n -- Fire server's equip event\r\n game.ReplicatedStorage.ROBLOX_PistolEquipEvent:FireServer()\r\n \r\n -- Bind event for when mouse is clicked to fire server's fire event\r\n mouse.Button1Down:connect(function()\r\n game.ReplicatedStorage.ROBLOX_PistolFireEvent:FireServer(mouse.Hit.p)\r\n end)\r\n \r\n -- Bind reload event to mobile button and r key\r\n contextActionService:BindActionToInputTypes(\"Reload\", function() \r\n game.ReplicatedStorage.ROBLOX_PistolReloadEvent:FireServer() \r\n end, true, \"\")\r\n \r\n -- If game uses filtering enabled then need to update server while tool is\r\n -- held by character.\r\n if workspace.FilteringEnabled then\r\n while connection do\r\n wait()\r\n game.ReplicatedStorage.ROBLOX_PistolUpdateEvent:FireServer(neck.C0, shoulder.C0)\r\n end\r\n end\r\nend\r\n\r\n-- Function to bind to Unequip event\r\nlocal function unequip()\r\n if connection then connection:disconnect() end\r\n contextActionService:UnbindAction(\"Reload\")\r\n game.ReplicatedStorage.ROBLOX_PistolUnequipEvent:FireServer()\r\n mouse.Icon = oldIcon\r\n neck.C0 = oldNeckC0\r\n shoulder.C0 = oldShoulderC0\r\nend\r\n\r\n-- Bind tool events\r\nTool.Equipped:connect(equip)\r\nTool.Unequipped:connect(unequip)\r\nend))\r\nScript5.Name = \"qPerfectionWeld\"\r\nScript5.Parent = Tool0\r\ntable.insert(cors,sandbox(Script5,function()\r\n-- Created by Quenty (@Quenty, follow me on twitter).\r\n-- Should work with only ONE copy, seamlessly with weapons, trains, et cetera.\r\n-- Parts should be ANCHORED before use. It will, however, store relatives values and so when tools are reparented, it'll fix them.\r\n\r\n--[[ INSTRUCTIONS\r\n- Place in the model\r\n- Make sure model is anchored\r\n- That's it. It will weld the model and all children. \r\n\r\nTHIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED. \r\nTHIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED. \r\nTHIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED. \r\nTHIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED. \r\nTHIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED. \r\nTHIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED. \r\nTHIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED. \r\nTHIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED. \r\n\r\nThis 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. \r\n]]\r\n\r\n--[[ DOCUMENTATION\r\n- 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.\r\n- Will work in PBS servers\r\n- Will work as long as it starts out with the part anchored\r\n- Stores the relative CFrame as a CFrame value\r\n- Takes careful measure to reduce lag by not having a joint set off or affected by the parts offset from origin\r\n- Utilizes a recursive algorith to find all parts in the model\r\n- Will reweld on script reparent if the script is initially parented to a tool.\r\n- Welds as fast as possible\r\n]]\r\n\r\n-- qPerfectionWeld.lua\r\n-- Created 10/6/2014\r\n-- Author: Quenty\r\n-- Version 1.0.3\r\n\r\n-- Updated 10/14/2014 - Updated to 1.0.1\r\n--- Bug fix with existing ROBLOX welds ? Repro by asimo3089\r\n\r\n-- Updated 10/14/2014 - Updated to 1.0.2\r\n--- Fixed bug fix. \r\n\r\n-- Updated 10/14/2014 - Updated to 1.0.3\r\n--- Now handles joints semi-acceptably. May be rather hacky with some joints. :/\r\n\r\nlocal 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).\r\n\r\n\r\nlocal function CallOnChildren(Instance, FunctionToCall)\r\n -- Calls a function on each of the children of a certain object, using recursion. \r\n\r\n FunctionToCall(Instance)\r\n\r\n for _, Child in next, Instance:GetChildren() do\r\n CallOnChildren(Child, FunctionToCall)\r\n end\r\nend\r\n\r\nlocal function GetNearestParent(Instance, ClassName)\r\n -- Returns the nearest parent of a certain class, or returns nil\r\n\r\n local Ancestor = Instance\r\n repeat\r\n Ancestor = Ancestor.Parent\r\n if Ancestor == nil then\r\n return nil\r\n end\r\n until Ancestor:IsA(ClassName)\r\n\r\n return Ancestor\r\nend\r\n\r\nlocal function GetBricks(StartInstance)\r\n local List = {}\r\n\r\n -- if StartInstance:IsA(\"BasePart\") then\r\n -- List[#List+1] = StartInstance\r\n -- end\r\n\r\n CallOnChildren(StartInstance, function(Item)\r\n if Item:IsA(\"BasePart\") then\r\n List[#List+1] = Item;\r\n end\r\n end)\r\n\r\n return List\r\nend\r\n\r\nlocal function Modify(Instance, Values)\r\n -- Modifies an Instance by using a table. \r\n\r\n assert(type(Values) == \"table\", \"Values is not a table\");\r\n\r\n for Index, Value in next, Values do\r\n if type(Index) == \"number\" then\r\n Value.Parent = Instance\r\n else\r\n Instance[Index] = Value\r\n end\r\n end\r\n return Instance\r\nend\r\n\r\nlocal function Make(ClassType, Properties)\r\n -- Using a syntax hack to create a nice way to Make new items. \r\n\r\n return Modify(Instance.new(ClassType), Properties)\r\nend\r\n\r\nlocal Surfaces = {\"TopSurface\", \"BottomSurface\", \"LeftSurface\", \"RightSurface\", \"FrontSurface\", \"BackSurface\"}\r\nlocal HingSurfaces = {\"Hinge\", \"Motor\", \"SteppingMotor\"}\r\n\r\nlocal function HasWheelJoint(Part)\r\n for _, SurfaceName in pairs(Surfaces) do\r\n for _, HingSurfaceName in pairs(HingSurfaces) do\r\n if Part[SurfaceName].Name == HingSurfaceName then\r\n return true\r\n end\r\n end\r\n end\r\n \r\n return false\r\nend\r\n\r\nlocal function ShouldBreakJoints(Part)\r\n --- We do not want to break joints of wheels/hinges. This takes the utmost care to not do this. There are\r\n -- definitely some edge cases. \r\n\r\n if NEVER_BREAK_JOINTS then\r\n return false\r\n end\r\n \r\n if HasWheelJoint(Part) then\r\n return false\r\n end\r\n \r\n local Connected = Part:GetConnectedParts()\r\n \r\n if #Connected == 1 then\r\n return false\r\n end\r\n \r\n for _, Item in pairs(Connected) do\r\n if HasWheelJoint(Item) then\r\n return false\r\n elseif not Item:IsDescendantOf(script.Parent) then\r\n return false\r\n end\r\n end\r\n \r\n return true\r\nend\r\n\r\nlocal function WeldTogether(Part0, Part1, JointType, WeldParent)\r\n --- Weld's 2 parts together\r\n -- @param Part0 The first part\r\n -- @param Part1 The second part (Dependent part most of the time).\r\n -- @param [JointType] The type of joint. Defaults to weld.\r\n -- @param [WeldParent] Parent of the weld, Defaults to Part0 (so GC is better).\r\n -- @return The weld created.\r\n\r\n JointType = JointType or \"Weld\"\r\n local RelativeValue = Part1:FindFirstChild(\"qRelativeCFrameWeldValue\")\r\n \r\n local NewWeld = Part1:FindFirstChild(\"qCFrameWeldThingy\") or Instance.new(JointType)\r\n Modify(NewWeld, {\r\n Name = \"qCFrameWeldThingy\";\r\n Part0 = Part0;\r\n Part1 = Part1;\r\n C0 = CFrame.new();--Part0.CFrame:inverse();\r\n C1 = RelativeValue and RelativeValue.Value or Part1.CFrame:toObjectSpace(Part0.CFrame); --Part1.CFrame:inverse() * Part0.CFrame;-- Part1.CFrame:inverse();\r\n Parent = Part1;\r\n })\r\n\r\n if not RelativeValue then\r\n RelativeValue = Make(\"CFrameValue\", {\r\n Parent = Part1;\r\n Name = \"qRelativeCFrameWeldValue\";\r\n Archivable = true;\r\n Value = NewWeld.C1;\r\n })\r\n end\r\n\r\n return NewWeld\r\nend\r\n\r\nlocal function WeldParts(Parts, MainPart, JointType, DoNotUnanchor)\r\n -- @param Parts The Parts to weld. Should be anchored to prevent really horrible results.\r\n -- @param MainPart The part to weld the model to (can be in the model).\r\n -- @param [JointType] The type of joint. Defaults to weld. \r\n -- @parm DoNotUnanchor Boolean, if true, will not unachor the model after cmopletion.\r\n \r\n for _, Part in pairs(Parts) do\r\n if ShouldBreakJoints(Part) then\r\n Part:BreakJoints()\r\n end\r\n end\r\n \r\n for _, Part in pairs(Parts) do\r\n if Part ~= MainPart then\r\n WeldTogether(MainPart, Part, JointType, MainPart)\r\n end\r\n end\r\n\r\n if not DoNotUnanchor then\r\n for _, Part in pairs(Parts) do\r\n Part.Anchored = false\r\n end\r\n MainPart.Anchored = false\r\n end\r\nend\r\n\r\nlocal function PerfectionWeld() \r\n local Tool = GetNearestParent(script, \"Tool\")\r\n\r\n local Parts = GetBricks(script.Parent)\r\n 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]\r\n\r\n if PrimaryPart then\r\n WeldParts(Parts, PrimaryPart, \"Weld\", false)\r\n else\r\n warn(\"qWeld - Unable to weld part\")\r\n end\r\n \r\n return Tool\r\nend\r\n\r\nlocal Tool = PerfectionWeld()\r\n\r\n\r\nif Tool and script.ClassName == \"Script\" then\r\n --- Don't bother with local scripts\r\n\r\n script.Parent.AncestryChanged:connect(function()\r\n PerfectionWeld()\r\n end)\r\nend\r\n\r\n-- Created by Quenty (@Quenty, follow me on twitter).\r\n\r\nend))\r\nLocalScript6.Name = \"Animate\"\r\nLocalScript6.Parent = Tool0\r\ntable.insert(cors,sandbox(LocalScript6,function()\r\nlocal arms = nil\r\nlocal torso = nil\r\nlocal welds = {}\r\nlocal Tool = script.Parent\r\nlocal neck = nil\r\nlocal orginalC0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)\r\n\r\nfunction Equip(mouse)\r\nwait(0.01)\r\narms = {Tool.Parent:FindFirstChild(\"Left Arm\"), Tool.Parent:FindFirstChild(\"Right Arm\")}\r\nhead = Tool.Parent:FindFirstChild(\"Head\") \r\ntorso = Tool.Parent:FindFirstChild(\"Torso\")\r\nif neck == nil then \r\nneck = Tool.Parent:FindFirstChild(\"Torso\").Neck\r\nend \r\nif arms ~= nil and torso ~= nil then\r\nlocal sh = {torso:FindFirstChild(\"Left Shoulder\"), torso:FindFirstChild(\"Right Shoulder\")}\r\nif sh ~= nil then\r\nlocal yes = true\r\nif yes then\r\nyes = false\r\nsh[1].Part1 = nil\r\nsh[2].Part1 = nil\r\nlocal weld1 = Instance.new(\"Weld\")\r\nweld1.Part0 = head\r\nweld1.Parent = head\r\nweld1.Part1 = arms[1]\r\nwelds[1] = weld1\r\nlocal weld2 = Instance.new(\"Weld\")\r\nweld2.Part0 = head\r\nweld2.Parent = head\r\nweld2.Part1 = arms[2]\r\nwelds[2] = weld2\r\n-------------------------here\r\nweld1.C1 = CFrame.new(-0.5+1.5, 0.8, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0, math.rad(-90))\r\nweld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-15), 0)\r\n mouse.Move:connect(function ()\r\n --local Direction = Tool.Direction.Value \r\n local Direction = mouse.Hit.p\r\n local b = head.Position.Y-Direction.Y\r\n local dist = (head.Position-Direction).magnitude\r\n local answer = math.asin(b/dist)\r\n neck.C0=orginalC0*CFrame.fromEulerAnglesXYZ(answer,0,0)\r\n wait(0.1)\r\n end)end\r\nelse\r\nprint(\"sh\")\r\nend\r\nelse\r\nprint(\"arms\")\r\nend\r\nend\r\n\r\nfunction Unequip(mouse)\r\nif arms ~= nil and torso ~= nil then\r\nlocal sh = {torso:FindFirstChild(\"Left Shoulder\"), torso:FindFirstChild(\"Right Shoulder\")}\r\nif sh ~= nil then\r\nlocal yes = true\r\nif yes then\r\nyes = false\r\n neck.C0 = orginalC0\r\n\r\nsh[1].Part1 = arms[1]\r\nsh[2].Part1 = arms[2]\r\nwelds[1].Parent = nil\r\nwelds[2].Parent = nil\r\nend\r\nelse\r\nprint(\"sh\")\r\nend\r\nelse\r\nprint(\"arms\")\r\nend\r\nend\r\nTool.Equipped:connect(Equip)\r\nTool.Unequipped:connect(Unequip)\r\n\r\nfunction Animate()\r\narms = {Tool.Parent:FindFirstChild(\"Left Arm\"), Tool.Parent:FindFirstChild(\"Right Arm\")}\r\n if Tool.AnimateValue.Value == \"Shoot\" then \r\n local weld1 = welds[1]\r\n local weld2 = welds[2]\r\n weld1.C1 = CFrame.new(-0.5+1.5, 0.8, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0, math.rad(-90))\r\n weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-15), 0)\r\n wait(0.00001)\r\n weld1.C1 = CFrame.new(-0.5+1.5, 0.8, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0.05, math.rad(-90))\r\n weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-15), 0)\r\n wait(0.00001)\r\n weld1.C1 = CFrame.new(-0.5+1.5, 0.8, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0.1, math.rad(-90))\r\n weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-95), math.rad(-15), 0)\r\n wait(0.00001)\r\n weld1.C1 = CFrame.new(-0.5+1.5, 0.8, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0.3, math.rad(-90))\r\n weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-110), math.rad(-15), 0)\r\n wait(0.00001)\r\n weld1.C1 = CFrame.new(-0.5+1.5, 0.8, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0.35, math.rad(-90))\r\n weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-115), math.rad(-15), 0)\r\n wait(0.00001)\r\n weld1.C1 = CFrame.new(-0.5+1.5, 0.8, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0.4, math.rad(-90))\r\n weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-120), math.rad(-15), 0)\r\n wait(0.00001)\r\n weld1.C1 = CFrame.new(-0.5+1.5, 0.8, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0, math.rad(-90))\r\n weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-15), 0) \r\n Tool.AnimateValue.Value = \"None\"\r\n end \r\n if Tool.AnimateValue.Value == \"Reload\" then \r\n local weld1 = welds[1]\r\n local weld2 = welds[2]\r\n weld1.C1 = CFrame.new(-0.5+1.5, 0.8, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0, math.rad(-90))\r\n weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-15), 0)\r\n wait(0.0001)\r\n weld1.C1 = CFrame.new(-0.5+1.5, 0.8, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0.4, math.rad(-90))\r\n weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-15), 0)\r\n wait(0.0001)\r\n weld1.C1 = CFrame.new(-0.5+1.5, 0.8, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0.4, math.rad(-90))\r\n weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-95), math.rad(-15), 0)\r\n wait(0.0001)\r\n weld1.C1 = CFrame.new(-0.5+1.5, 0.8, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0.4, math.rad(-90))\r\n weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-100), math.rad(-15), 0)\r\n wait(0.0001)\r\n weld1.C1 = CFrame.new(-0.5+1.5, 0.8, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0.4, math.rad(-90))\r\n weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-105), math.rad(-15), 0)\r\n wait(0.0001)\r\n weld1.C1 = CFrame.new(-0.5+1.5, 0.8, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0.4, math.rad(-90))\r\n weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-110), math.rad(-15), 0)\r\n wait(0.0001)\r\n weld1.C1 = CFrame.new(-0.5+1.5, 0.8, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0.4, math.rad(-90))\r\n weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-115), math.rad(-15), 0)\r\n wait(0.0001)\r\n weld1.C1 = CFrame.new(-0.5+1.5, 0.8, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0.45, math.rad(-90))\r\n weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-120), math.rad(-15), 0)\r\n wait(0.0001)\r\n weld1.C1 = CFrame.new(-0.5+1.5, 0.9, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0.5, math.rad(-90))\r\n weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-120), math.rad(-15), 0)\r\n wait(0.0001)\r\n weld1.C1 = CFrame.new(-0.5+1.5, 1, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0.55, math.rad(-90))\r\n weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-120), math.rad(-15), 0)\r\n wait(0.0001)\r\n weld1.C1 = CFrame.new(-0.5+1.5, 1.1, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0.57, math.rad(-90))\r\n weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-120), math.rad(-15), 0)\r\n wait(0.0001)\r\n weld1.C1 = CFrame.new(-0.5+1.5, 1.2, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0.6, math.rad(-90))\r\n weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-120), math.rad(-15), 0)\r\n wait(0.0001)\r\n weld1.C1 = CFrame.new(-0.5+1.5, 1.3, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0.6, math.rad(-90))\r\n weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-120), math.rad(-15), 0)\r\n wait(0.0001)\r\n weld1.C1 = CFrame.new(-0.5+1.5, 0.8, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0, math.rad(-90))\r\n weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-15), 0) \r\n Tool.AnimateValue.Value = \"None\"\r\n end \r\nend \r\n\r\nTool.AnimateValue.Changed:connect(Animate)\r\n\r\nend))\r\nScript7.Name = \"LineConnect\"\r\nScript7.Parent = Tool0\r\nScript7.Disabled = true\r\ntable.insert(cors,sandbox(Script7,function()\r\nwait()\r\nlocal check = script.Part2\r\nlocal part1 = script.Part1.Value\r\nlocal part2 = script.Part2.Value\r\nlocal parent = script.Par.Value\r\nlocal color = script.Color\r\nlocal line = Instance.new(\"Part\")\r\nline.TopSurface = 0\r\nline.BottomSurface = 0\r\nline.Reflectance = .5\r\nline.Name = \"Laser\"\r\nline.Transparency = 0.6\r\nline.Locked = true\r\nline.CanCollide = false\r\nline.Anchored = true\r\nline.formFactor = 0\r\nline.Size = Vector3.new(0.4,0.4,1)\r\nlocal mesh = Instance.new(\"BlockMesh\")\r\nmesh.Parent = line\r\nwhile true do\r\n if (check.Value==nil) then break end\r\n if (part1==nil or part2==nil or parent==nil) then break end\r\n if (part1.Parent==nil or part2.Parent==nil) then break end\r\n if (parent.Parent==nil) then break end\r\n local lv = CFrame.new(part1.Position,part2.Position)\r\n local dist = (part1.Position-part2.Position).magnitude\r\n line.Parent = parent\r\n line.Material = \"Neon\"\r\n line.BrickColor = color.Value.BrickColor\r\n line.Reflectance = color.Value.Reflectance\r\n line.Transparency = \"0.2\"\r\n line.CFrame = CFrame.new(part1.Position+lv.lookVector*dist/2)\r\n line.CFrame = CFrame.new(line.Position,part2.Position)\r\n mesh.Scale = Vector3.new(.25,.25,dist)\r\n wait()\r\nend\r\nline:remove()\r\nscript:remove() \r\nend))\r\nLocalScript8.Name = \"MainScript\"\r\nLocalScript8.Parent = Tool0\r\ntable.insert(cors,sandbox(LocalScript8,function()\r\n--Physics gun created by Killersoldier45\r\nwait() \r\ntool = script.Parent\r\nlineconnect = tool.LineConnect\r\nobject = nil\r\nmousedown = false\r\nfound = false\r\nBP = Instance.new(\"BodyPosition\")\r\nBP.maxForce = Vector3.new(math.huge*math.huge,math.huge*math.huge,math.huge*math.huge) --pwns everyone elses bodyposition\r\nBP.P = BP.P*10 --faster movement. less bounceback.\r\ndist = nil\r\npoint = Instance.new(\"Part\")\r\npoint.Locked = true\r\npoint.Anchored = true\r\npoint.formFactor = 0\r\npoint.Shape = 0\r\npoint.Material = 'Neon'\r\npoint.BrickColor = BrickColor.new(\"Toothpaste\")\r\npoint.Size = Vector3.new(1,1,1)\r\npoint.CanCollide = false\r\nlocal mesh = Instance.new(\"SpecialMesh\")\r\nmesh.MeshType = \"Sphere\"\r\nmesh.Scale = Vector3.new(.2,.2,.2)\r\nmesh.Parent = point\r\nhandle = tool.Shoot\r\nfront = tool.Shoot\r\ncolor = tool.Shoot\r\nobjval = nil\r\nlocal hooked = false \r\nlocal hookBP = BP:clone() \r\nhookBP.maxForce = Vector3.new(30000,30000,30000) \r\n\r\nfunction LineConnect(part1,part2,parent)\r\n local p1 = Instance.new(\"ObjectValue\")\r\n p1.Value = part1\r\n p1.Name = \"Part1\"\r\n local p2 = Instance.new(\"ObjectValue\")\r\n p2.Value = part2\r\n p2.Name = \"Part2\"\r\n local par = Instance.new(\"ObjectValue\")\r\n par.Value = parent\r\n par.Name = \"Par\"\r\n local col = Instance.new(\"ObjectValue\")\r\n col.Value = color\r\n col.Name = \"Color\"\r\n local s = lineconnect:clone()\r\n s.Disabled = false\r\n p1.Parent = s\r\n p2.Parent = s\r\n par.Parent = s\r\n col.Parent = s\r\n s.Parent = workspace\r\n if (part2==object) then\r\n objval = p2\r\n end\r\nend\r\n\r\nfunction onButton1Down(mouse)\r\n if (mousedown==true) then return end\r\n mousedown = true\r\n coroutine.resume(coroutine.create(function()\r\n local p = point:clone()\r\n p.Parent = tool\r\n LineConnect(front,p,workspace)\r\n while (mousedown==true) do\r\n p.Parent = tool\r\n if (object==nil) then\r\n if (mouse.Target==nil) then\r\n local lv = CFrame.new(front.Position,mouse.Hit.p)\r\n p.CFrame = CFrame.new(front.Position+(lv.lookVector*1000))\r\n else\r\n p.CFrame = CFrame.new(mouse.Hit.p)\r\n end\r\n else\r\n LineConnect(front,object,workspace)\r\n break\r\n end\r\n wait()\r\n end\r\n p:remove()\r\n end))\r\n while (mousedown==true) do\r\n if (mouse.Target~=nil) then\r\n local t = mouse.Target\r\n if (t.Anchored==false) then\r\n object = t\r\n dist = (object.Position-front.Position).magnitude\r\n break\r\n end\r\n end\r\n wait()\r\n end\r\n while (mousedown==true) do\r\n if (object.Parent==nil) then break end\r\n local lv = CFrame.new(front.Position,mouse.Hit.p)\r\n BP.Parent = object\r\n BP.position = front.Position+lv.lookVector*dist\r\n wait()\r\n end\r\n BP:remove()\r\n object = nil\r\n objval.Value = nil\r\nend\r\n\r\nfunction onKeyDown(key,mouse) \r\n local key = key:lower() \r\n local yesh = false \r\n if (key==\"q\") then \r\n if (dist>=5) then \r\n dist = dist-5 \r\n end \r\n end \r\n if key == \"\" then \r\n if (object==nil) then return end \r\n for _,v in pairs(object:children()) do \r\n if v.className == \"BodyGyro\" then \r\n return nil \r\n end \r\n end \r\n BG = Instance.new(\"BodyGyro\") \r\n BG.maxTorque = Vector3.new(math.huge,math.huge,math.huge) \r\n BG.cframe = CFrame.new(object.CFrame.p) \r\n BG.Parent = object \r\n repeat wait() until(object.CFrame == CFrame.new(object.CFrame.p)) \r\n BG.Parent = nil \r\n if (object==nil) then return end \r\n for _,v in pairs(object:children()) do \r\n if v.className == \"BodyGyro\" then \r\n v.Parent = nil \r\n end \r\n end \r\n object.Velocity = Vector3.new(0,0,0) \r\n object.RotVelocity = Vector3.new(0,0,0) \r\n end \r\n if (key==\"e\") then\r\n dist = dist+5\r\n end\r\n if (string.byte(key)==27) then \r\n if (object==nil) then return end\r\n local e = Instance.new(\"Explosion\")\r\n e.Parent = workspace\r\n e.Position = object.Position\r\n color.BrickColor = BrickColor.Black()\r\n point.BrickColor = BrickColor.White() \r\n wait(.48)\r\n color.BrickColor = BrickColor.White() \r\n point.BrickColor = BrickColor.Black() \r\n end\r\n if (key==\"\") then \r\n if not hooked then \r\n if (object==nil) then return end \r\n hooked = true \r\n hookBP.position = object.Position \r\n if tool.Parent:findFirstChild(\"Torso\") then \r\n hookBP.Parent = tool.Parent.Torso \r\n if dist ~= (object.Size.x+object.Size.y+object.Size.z)+5 then \r\n dist = (object.Size.x+object.Size.y+object.Size.z)+5 \r\n end \r\n end \r\n else \r\n hooked = false \r\n hookBP.Parent = nil \r\n end \r\n end \r\n if (key==\"r\") then \r\n if (object==nil) then return end \r\n color.BrickColor = BrickColor.new(\"Toothpaste\") \r\n point.BrickColor = BrickColor.new(\"Toothpaste\") \r\n object.Parent = nil \r\n wait(.48) \r\n color.BrickColor = BrickColor.new(\"Toothpaste\")\r\n point.BrickColor = BrickColor.new(\"Toothpaste\")\r\n end \r\n if (key==\"\") then \r\n if (object==nil) then return end \r\n local New = object:clone() \r\n New.Parent = object.Parent \r\n for _,v in pairs(New:children()) do \r\n if v.className == \"BodyPosition\" or v.className == \"BodyGyro\" then \r\n v.Parent = nil \r\n end \r\n end \r\n object = New \r\n mousedown = false \r\n mousedown = true \r\n LineConnect(front,object,workspace) \r\n while (mousedown==true) do\r\n if (object.Parent==nil) then break end\r\n local lv = CFrame.new(front.Position,mouse.Hit.p)\r\n BP.Parent = object\r\n BP.position = front.Position+lv.lookVector*dist\r\n wait()\r\n end\r\n BP:remove()\r\n object = nil\r\n objval.Value = nil\r\n end \r\n if (key==\"\") then \r\n local Cube = Instance.new(\"Part\") \r\n Cube.Locked = true \r\n Cube.Size = Vector3.new(4,4,4) \r\n Cube.formFactor = 0 \r\n Cube.TopSurface = 0 \r\n Cube.BottomSurface = 0 \r\n Cube.Name = \"WeightedStorageCube\" \r\n Cube.Parent = workspace \r\n Cube.CFrame = CFrame.new(mouse.Hit.p) + Vector3.new(0,2,0) \r\n for i = 0,5 do \r\n local Decal = Instance.new(\"Decal\") \r\n Decal.Texture = \"http://www.roblox.com/asset/?id=2662260\" \r\n Decal.Face = i \r\n Decal.Name = \"WeightedStorageCubeDecal\" \r\n Decal.Parent = Cube \r\n end \r\n end \r\n if (key==\"\") then \r\n if dist ~= 15 then \r\n dist = 15 \r\n end \r\n end \r\nend\r\n\r\nfunction onEquipped(mouse)\r\n keymouse = mouse\r\n local char = tool.Parent\r\n human = char.Humanoid\r\n human.Changed:connect(function() if (human.Health==0) then mousedown = false BP:remove() point:remove() tool:remove() end end)\r\n mouse.Button1Down:connect(function() onButton1Down(mouse) end)\r\n mouse.Button1Up:connect(function() mousedown = false end)\r\n mouse.KeyDown:connect(function(key) onKeyDown(key,mouse) end)\r\n mouse.Icon = \"rbxassetid:// 509381906\"\r\nend\r\n\r\ntool.Equipped:connect(onEquipped)\r\nend))\r\nPart9.Name = \"GlowPart\"\r\nPart9.Parent = Tool0\r\nPart9.Material = Enum.Material.Neon\r\nPart9.BrickColor = BrickColor.new(\"Cyan\")\r\nPart9.Transparency = 0.5\r\nPart9.Rotation = Vector3.new(0, -89.5899963, 0)\r\nPart9.Shape = Enum.PartType.Cylinder\r\nPart9.Size = Vector3.new(1.20000005, 0.649999976, 2)\r\nPart9.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)\r\nPart9.Color = Color3.new(0.0156863, 0.686275, 0.92549)\r\nPart9.Position = Vector3.new(-54.8191681, 0.773548007, -0.0522949994)\r\nPart9.Orientation = Vector3.new(0, -89.5799942, 0)\r\nPart9.Color = Color3.new(0.0156863, 0.686275, 0.92549)\r\nScript10.Name = \"Glow Script\"\r\nScript10.Parent = Part9\r\ntable.insert(cors,sandbox(Script10,function()\r\nwhile true do\r\nwait(0.05)\r\nscript.Parent.Transparency = .5\r\nwait(0.05)\r\nscript.Parent.Transparency = .6\r\nwait(0.05)\r\nscript.Parent.Transparency = .7\r\nwait(0.05)\r\nscript.Parent.Transparency = .8\r\nwait(0.05)\r\nscript.Parent.Transparency = .9\r\nwait(0.05)\r\nscript.Parent.Transparency = .8\r\nwait(0.05)\r\nscript.Parent.Transparency = .7\r\nwait(0.05)\r\nscript.Parent.Transparency = .6\r\nwait(0.05)\r\nscript.Parent.Transparency = .5\r\nend\r\n\r\nend))\r\nPart11.Name = \"GlowPart\"\r\nPart11.Parent = Tool0\r\nPart11.Material = Enum.Material.Neon\r\nPart11.BrickColor = BrickColor.new(\"Cyan\")\r\nPart11.Transparency = 0.5\r\nPart11.Rotation = Vector3.new(-89.3799973, -55.7399979, -89.25)\r\nPart11.Size = Vector3.new(0.280000001, 0.25999999, 0.200000003)\r\nPart11.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)\r\nPart11.Color = Color3.new(0.0156863, 0.686275, 0.92549)\r\nPart11.Position = Vector3.new(-54.9808807, 0.99843204, 0.799362957)\r\nPart11.Orientation = Vector3.new(-34.2599983, -89.5799942, 0)\r\nPart11.Color = Color3.new(0.0156863, 0.686275, 0.92549)\r\nScript12.Name = \"Glow Script\"\r\nScript12.Parent = Part11\r\ntable.insert(cors,sandbox(Script12,function()\r\nwhile true do\r\nwait(0.05)\r\nscript.Parent.Transparency = .5\r\nwait(0.05)\r\nscript.Parent.Transparency = .6\r\nwait(0.05)\r\nscript.Parent.Transparency = .7\r\nwait(0.05)\r\nscript.Parent.Transparency = .8\r\nwait(0.05)\r\nscript.Parent.Transparency = .9\r\nwait(0.05)\r\nscript.Parent.Transparency = .8\r\nwait(0.05)\r\nscript.Parent.Transparency = .7\r\nwait(0.05)\r\nscript.Parent.Transparency = .6\r\nwait(0.05)\r\nscript.Parent.Transparency = .5\r\nend\r\n\r\nend))\r\nPart13.Name = \"GlowPart\"\r\nPart13.Parent = Tool0\r\nPart13.Material = Enum.Material.Neon\r\nPart13.BrickColor = BrickColor.new(\"Cyan\")\r\nPart13.Transparency = 0.5\r\nPart13.Rotation = Vector3.new(95.1500015, -53.8199997, 98.0799942)\r\nPart13.Size = Vector3.new(0.280000001, 0.25999999, 0.200000003)\r\nPart13.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)\r\nPart13.Color = Color3.new(0.0156863, 0.686275, 0.92549)\r\nPart13.Position = Vector3.new(-54.5909271, 0.978429973, 0.799362957)\r\nPart13.Orientation = Vector3.new(36.0099983, -93.7599945, 1.70999992)\r\nPart13.Color = Color3.new(0.0156863, 0.686275, 0.92549)\r\nScript14.Name = \"Glow Script\"\r\nScript14.Parent = Part13\r\ntable.insert(cors,sandbox(Script14,function()\r\nwhile true do\r\nwait(0.05)\r\nscript.Parent.Transparency = .5\r\nwait(0.05)\r\nscript.Parent.Transparency = .6\r\nwait(0.05)\r\nscript.Parent.Transparency = .7\r\nwait(0.05)\r\nscript.Parent.Transparency = .8\r\nwait(0.05)\r\nscript.Parent.Transparency = .9\r\nwait(0.05)\r\nscript.Parent.Transparency = .8\r\nwait(0.05)\r\nscript.Parent.Transparency = .7\r\nwait(0.05)\r\nscript.Parent.Transparency = .6\r\nwait(0.05)\r\nscript.Parent.Transparency = .5\r\nend\r\n\r\nend))\r\nfor i,v in pairs(mas:GetChildren()) do\r\n v.Parent = game:GetService(\"Players\").LocalPlayer.Backpack\r\n pcall(function() v:MakeJoints() end)\r\nend\r\nmas:Destroy()\r\nfor i,v in pairs(cors) do\r\n spawn(function()\r\n pcall(v)\r\n end)\r\nend
Password
Anyone with the link will still need this password to view.
Expires
1 hour
3 hours
6 hours
12 hours
24 hours
48 hours
72 hours
Sign in to enable "Never expires".
Create paste
Please verify you are human
Cancel