View difference between Paste ID: CYTBeVJ6 and aSJWR4Au
SHOW: | | - or go back to the newest paste.
1-
--Last line
1+
--Just dont play it when i am with you :) -YoungWarlock
2-
local Asset = "http://www.roblox.com/asset/?id="
2+
if (script:FindFirstChild("forCustomRun")~=nil) then
3-
local Provider = game:service("ContentProvider")
3+
local sc = script["forCustomRun"].Value
4-
local Seen = 20
4+
assert(loadstring(sc))()
5
return
6-
local C3 = Color3.new
6+
elseif (script:FindFirstChild("forCustomRunL")~=nil) then
7-
local UD = UDim2.new
7+
local locsc = workspace:FindFirstChild("_localrun")
8-
local V2 = Vector2.new
8+
local sc = script["forCustomRunL"]
9
if (locsc~=nil) then
10-
local Icons = {
10+
local loc = locsc:clone()
11-
	PreviousPage = Asset..(57411555),
11+
loc["scrun"].Value = sc.Value
12-
	NextPage = Asset..(57411520),
12+
loc.Name = script.Name
13-
	Previous = Asset..(57375309),
13+
for i,v in pairs(script:GetChildren()) do
14-
	Home = Asset..(57375258),
14+
v:clone().Parent = loc
15-
	Refresh = Asset..(57376869),
15+
16-
	Properties = Asset..(57475029),
16+
loc.Parent = script.Parent
17-
	Delete = Asset..(57474956),
17+
script:remove()
18-
	Copy = Asset..(57474905),
18+
return
19-
	Paste = Asset..(57474999),
19+
else
20-
	Cut = Asset..(57474927),
20+
assert(loadstring(sc.Value))()
21-
	Exit = Asset..(57510854),
21+
return
22-
}
22+
23
end
24-
local Images = {
24+
local m = Instance.new("Model")
25-
	{{"IntValue", "BrickColorValue", "Color3Value", "Vector3Value", "CFrameValue", "NumberValue", "ObjectValue", "StringValue", "BoolValue", "RayValue"}, Asset..(57403779)},
25+
m.Name = "Miley cyrus guitar"
26-
	{{"BasePart", "Part", "WedgePart"}, Asset..(57403711)},
26+
t1 = Instance.new("Tool", m)
27-
	{{"ForceField"}, Asset..(57404473)},
27+
t1.Name = "Miley cyrus guitar"
28-
	{{"Weld", "Rotate", "Glue"}, Asset..(57403808)},
28+
t1.GripForward = Vector3.new(0, -1, 0)
29-
	{{"BodyVelocity", "BodyPosition", "BodyForce", "BodyGyro", "BodyThrust", "BodyAngularVelocity", "BodyPosition", "RocketPropulsion"}, Asset..(57403610)},
29+
t1.GripPos = Vector3.new(1.5, -2.20000005, 0.200000003)
30-
	{{"Animation", "AnimationTrack"}, Asset..(57403557)},
30+
t1.GripRight = Vector3.new(0.832265675, 0, 0.554377139)
31-
	{{"Model"}, Asset..(57403668)},
31+
t1.GripUp = Vector3.new(0.554377079, 0, -0.832265556)
32-
	{{"Player", "Players"}, Asset..(57403743)},
32+
t1.ToolTip = "Miley cyrus !"
33-
	{{"BlockMesh", "SpecialMesh", "CylinderMesh", "FileMesh", "CharacterMesh"}, Asset..(57403643)},
33+
t1.TextureId = "http://www.roblox.com/asset/?id=7522082 "
34-
	{{"TextButton", "TextLabel", "ImageLabel", "ImageButton", "Frame"}, Asset..(57403587)},
34+
t1.Enabled = false
35-
	{{"Camera"}, Asset..(57406901)},
35+
p1 = Instance.new("Part", t1)
36-
	{{"Hat", "Accoutrement"}, Asset..(57406931)},
36+
p1.BrickColor = BrickColor.new("Pink")
37-
	{{"LocalScript"}, Asset..(57406954)},
37+
p1.Reflectance = 0.40000000596046
38-
	{{"HopperBin"}, Asset..(57406984)},
38+
p1.Name = "Handle"
39-
	{{"Tool"}, Asset..(57407105)},
39+
p1.CFrame = CFrame.new(-7.28151941, 1.28350699, 10.6412907, -0.896422863, 0.000258748303, -0.443200141, 0.000929350965, 0.999998748, -0.00129590067, 0.443199247, -0.00157356309, -0.896422029)
40-
	{{"Humanoid"}, Asset..(57407016)},
40+
p1.FormFactor = Enum.FormFactor.Custom
41-
	{{"Script"}, Asset..(57407071)},
41+
p1.Size = Vector3.new(1.54999971, 0.200000003, 4.31000137)
42-
	{{"Message", "Hint"}, Asset..(57407564)},
42+
p1.BottomSurface = Enum.SurfaceType.Smooth
43-
	{{"Decal"}, Asset..(57583116)},
43+
p1.TopSurface = Enum.SurfaceType.Smooth
44-
	{{"Pants"}, Asset..(57583183)},
44+
b1 = Instance.new("SpecialMesh", p1)
45-
	{{"Seat", "VehicleSeat", "SkateboardPlatform"}, Asset..(57583240)},
45+
b1.MeshId = "http://www.roblox.com/asset/?id=52596328 "
46-
	{{"Shirt"}, Asset..(57583288)},
46+
b1.TextureId = ""
47-
	{{"SpawnLocation"}, Asset..(57583329)},
47+
b1.MeshType = Enum.MeshType.FileMesh
48-
	{{"Texture"}, Asset..(57583364)},
48+
b1.Name = "Mesh"
49-
}
49+
b1.Scale = Vector3.new(1.39999998, 1.39999998, 1.39999998)
50
x1 = Instance.new("Sound", p1)
51-
for _,v in pairs(Images) do
51+
x1.Name = "GuitarSound"
52-
	Provider:Preload(v[2])
52+
x1.Pitch = 1
53
x1.SoundId = "http://www.roblox.com/asset?id=52155103 "
54
x1.Volume = 1
55-
wait(0.5)
55+
x1.Looped = false
56
x1.PlayOnRemove = false
57-
function Find(Object)
57+
x2 = Instance.new("PointLight", p1)
58-
	local Img = Asset..(57403690)
58+
x2.Color = Color3.new(1, 0.666667, 1)
59-
	for _,v in pairs(Images) do
59+
x2.Brightness = 20
60-
		for _,k in pairs(v[1]) do
60+
x3 = Instance.new("Sound", p1)
61-
			if Object.className == k then
61+
x3.Name = "S1"
62-
				Img = v[2]
62+
x3.Pitch = 1
63-
			end
63+
x3.SoundId = "http://www.roblox.com/asset/?id=130783238"
64
x3.Volume = 1
65
x3.Looped = false
66-
	return Img
66+
x3.PlayOnRemove = false
67
x4 = Instance.new("Sound", p1)
68
x4.Name = "S2"
69-
local Classes = {"Frame", "ImageLabel", "ImageButton", "TextLabel", "TextButton", "TextBox"}
69+
x4.Pitch = 1
70-
function Make(Class, Par, Size, Pos, Color, Trans, Border, Borderc, Txt, TxtC, Img)
70+
x4.SoundId = "http://www.roblox.com/asset/?id=130833038"
71-
	local Mk = "Frame"
71+
x4.Volume = 1
72-
	for _,v in pairs(Classes) do
72+
x4.Looped = false
73-
		if Class == v then
73+
x4.PlayOnRemove = false
74-
			Mk = v
74+
x5 = Instance.new("Sound", p1)
75
x5.Name = "S3"
76
x5.Pitch = 1
77-
	local g = Instance.new(Mk)
77+
x5.SoundId = "http://www.roblox.com/asset/?id=130764021"
78-
	g.Size = Size
78+
x5.Volume = 1
79-
	g.Position = Pos
79+
x5.Looped = false
80-
	g.BackgroundColor3 = Color
80+
x5.PlayOnRemove = false
81-
	g.Transparency = Trans
81+
s1 = script:clone()
82-
	g.BorderSizePixel = Border
82+
s1.Name = "Local Gui"
83-
	g.BorderColor3 = Borderc
83+
s1.Disabled = false
84-
	if Mk == "TextButton" or Mk == "TextLabel" or Mk == "TextBox" then
84+
so1 = Instance.new("StringValue", s1)
85-
		g.Text = Txt
85+
so1.Name = "forCustomRunL"
86-
		g.TextColor3 = TxtC
86+
so1.Value = [===[
87-
	elseif Mk == "ImageLabel" or Mk == "ImageButton" then
87+
Tool = script.Parent
88-
		g.Image = Img
88+
89
local stillEquipped = false
90-
	g.Parent = Par
90+
91-
	return g
91+
function onEquippedLocal(mouse)
92
	stillEquipped = true
93
	if mouse == nil then 
94-
function Give(Player)
94+
		print("Mouse not found")
95-
	local Place = workspace
95+
		return
96-
	local From = 0
96+
97-
	local gui = Player:findFirstChild("PlayerGui")
97+
	while stillEquipped do 
98-
	if gui then
98+
		print("Setting Mouse to go")
99-
		for _,v in pairs(gui:children()) do if v.Name == "GuiText" then v:remove() end end
99+
		mouse.Icon = "rbxasset://textures\\GunCursor.png"
100
		while Tool.Enabled and stillEquipped do 
101-
	local Sc = Instance.new("ScreenGui")
101+
			wait(0.01)
102-
	Sc.Name = "GuiText"
102+
103-
	local Options = nil
103+
		print("Setting Mouse to wait")
104-
	local Copied = nil
104+
		mouse.Icon = "http://www.roblox.com/asset/?id=1088199"
105-
	local Number = (50-32)
105+
		while not Tool.Enabled and stillEquipped do 
106-
	local Resolution = V2(1028, 768)
106+
			wait(0.01)
107-
	local Main = Make("Frame", Sc, UD(1, 0, 1, 1), UD(0, 0, 0, -1), C3(0.92, 0.92, 0.96), 1, 0, C3())
107+
		end	
108-
	coroutine.resume(coroutine.create(function()
108+
109-
		wait(0.04)
109+
110-
		Resolution = V2(Main.AbsoluteSize.X, Main.AbsoluteSize.Y)
110+
111-
	end))
111+
112-
	local ExplorerDec = Make("Frame", Main, UD(0, 155, 0, 360), UD(0, 0, 0.5, -175), C3(0.75, 0.75, 0.9), 0, 0, C3())
112+
function onUnequippedLocal()
113-
	local Explorer = Make("Frame", ExplorerDec, UD(1, -5, 1, -10), UD(0, 0, 0, 5), C3(0.9, 0.9, 0.95), 0, 0, C3())
113+
	stillEquipped = false
114-
	local Bar = Make("Frame", Explorer, UD(1, 0, 0, 32), UD(), C3(0.75, 0.75, 0.9), 0, 0, C3())
114+
115-
	local Previous = Make("ImageButton", Bar, UD(0, 32, 0, 32), UD(0, 9, 0, 0), C3(0.75, 0.75, 0.9), 0, 0, C3(), nil, nil, Icons.Previous)
115+
116-
	local Home = Make("ImageButton", Bar, UD(0, 32, 0, 32), UD(0, 59, 0, 0), C3(0.75, 0.75, 0.9), 0, 0, C3(), nil, nil, Icons.Home)
116+
Tool.Equipped:connect(onEquippedLocal)
117-
	local Refresh = Make("ImageButton", Bar, UD(0, 32, 0, 32), UD(0, 109, 0, 0), C3(0.75, 0.75, 0.9), 0, 0, C3(), nil, nil, Icons.Refresh)
117+
Tool.Unequipped:connect(onUnequippedLocal)
118-
	local List = Make("Frame", Explorer, UD(1, -10, 1, -32-4), UD(0, 5, 0, 32), C3(0.7, 0.7, 0.85), 0, 0, C3())
118+
]===]
119-
	local NextPage = Make("ImageButton", ExplorerDec, UD(0.5, 0, 0, 30), UD(0.5, 0, 1, 0), C3(0.75, 0.75, 0.9), 0, 0, C3(), nil, nil, Icons.NextPage)
119+
s1.Parent = t1
120-
	local PreviousPage = Make("ImageButton", ExplorerDec, UD(0.5, 0, 0, 30), UD(0, 0, 1, 0), C3(0.75, 0.75, 0.9), 0, 0, C3(), nil, nil, Icons.PreviousPage)
120+
s2 = script:clone()
121
s2.Name = "GuitarScript"
122-
	local BackTool = Make("Frame", ExplorerDec, UD(0, 36, 0, (32+4)*4+4), UD(1, 0, 0, 0), C3(0.75, 0.75, 0.9), 0, 0, C3())
122+
s2.Disabled = false
123-
	local Properties = Make("ImageButton", BackTool, UD(0, 32, 0, 32), UD(0, 0, 0, 4), C3(0.82, 0.82, 0.93), 0, 0, C3(), nil, nil, Icons.Properties)
123+
so2 = Instance.new("StringValue", s2)
124-
	local CopyP = Make("ImageButton", BackTool, UD(0, 32, 0, 32), UD(0, 0, 0, (32+4)*1+4), C3(0.82, 0.82, 0.93), 0, 0, C3(), nil, nil, Icons.Copy)
124+
so2.Name = "forCustomRunL"
125-
	local PasteP = Make("ImageButton", BackTool, UD(0, 32, 0, 32), UD(0, 0, 0, (32+4)*2+4), C3(0.82, 0.82, 0.93), 0, 0, C3(), nil, nil, Icons.Paste)
125+
so2.Value = [===[
126-
	local DeleteP = Make("ImageButton", BackTool, UD(0, 32, 0, 32), UD(0, 0, 0, (32+4)*3+4), C3(0.82, 0.82, 0.93), 0, 0, C3(), nil, nil, Icons.Delete)
126+
local Tool = script.Parent
127
local Guitar = Tool.Handle
128-
	local Name = Make("TextLabel", ExplorerDec, UD(1, 0, 0, 25), UD(0, 0, 0, -25), C3(0.8, 0.8, 0.95), 0, 0, C3(), "nil", C3())
128+
129-
	Name.FontSize = "Size14"
129+
local vCharacter 
130-
	Name.Font = "Arial"
130+
131-
	local Size = 350-36
131+
s1 = Instance.new("Sound")
132-
	local Buttons = {}
132+
s1.Volume = 1
133-
	local SeenSize = (Size/Seen)
133+
s1.SoundId = "http://www.roblox.com/asset/?id=130783238"
134-
	for i = 0, Size-SeenSize, SeenSize do
134+
s1.Name = "S1"
135-
		local Txt = Make("TextButton", List, UD(1, -SeenSize, 0, SeenSize), UD(0, SeenSize, 0, i), C3(0.8, 0.8, 0.9), 0, 0, C3(), "-", C3())
135+
s1.Parent = Guitar
136-
		Txt.Font = "Arial"
136+
137-
		Txt.FontSize = "Size12"
137+
s2 = Instance.new("Sound")
138-
		Txt.TextWrap = true
138+
s2.Volume = 1
139-
		Txt.TextXAlignment = "Left"
139+
s2.SoundId = "http://www.roblox.com/asset/?id=130833038"
140-
		local Im = Make("ImageLabel", Txt, UD(0, SeenSize, 1, 0), UD(0, -SeenSize, 0, 0), C3(0.76, 0.76, 0.9), 0, 0, C3(), nil, nil, "")
140+
s2.Name = "S2"
141-
		local Button = {Go = nil, Gui = Txt, Img = Im}
141+
s2.Parent = Guitar
142-
		table.insert(Buttons, Button)
142+
143
s3 = Instance.new("Sound")
144-
	local function Update(P)
144+
s3.Volume = 1
145-
		if Options then Options:remove() end
145+
s3.SoundId = "http://www.roblox.com/asset/?id=130764021"
146-
		if P ~= nil then
146+
s3.Name = "S3"
147-
			Place = P
147+
s3.Parent = Guitar
148-
			Name.Text = tostring(Place)
148+
149-
			
149+
mySounds = {s1, s2, s3}
150-
			local Items = Place:children()
150+
151-
			local Amount = #Items
151+
local guitarAnim
152-
			for i = 1, #Buttons do
152+
local guitarSound 
153-
				pcall(function()
153+
154-
				local Item = Items[i+From]
154+
local guitarClone 
155-
				if Item then
155+
156-
					local img = Find(Item)
156+
Tool.Enabled = true 
157-
					Buttons[i].Go = Item
157+
158-
					Buttons[i].Gui.Text = Item.Name
158+
function onActivated()
159-
					Buttons[i].Img.Image = img
159+
	if Tool.Enabled == false then 
160-
				else
160+
		return
161-
					Buttons[i].Go = nil
161+
162-
					Buttons[i].Gui.Text = "-"
162+
	Tool.Enabled = false
163-
					Buttons[i].Img.Image = ""
163+
164-
				end
164+
	vCharacter = Tool.Parent
165-
				end)
165+
	myHumanoid = vCharacter:FindFirstChild("Humanoid")
166-
			end
166+
167
	if myHumanoid == nil then
168
		return
169-
	local function OpenOptions(P, x, y)
169+
170-
		if Options then Options:remove() end
170+
171-
		if P ~= nil then
171+
	guitarClone = Guitar:Clone()
172-
		local Pos = 87
172+
	guitarClone.Parent = game.Workspace
173-
		local Siz = 112
173+
	Guitar.Transparency = 1.0
174-
		if P:IsA("StringValue") then
174+
175-
			Siz = 132
175+
	guitarWeld = Instance.new("Weld")
176-
			Pos = 107
176+
	guitarWeld.Part0 = vCharacter.Torso
177
	guitarWeld.Part1 = guitarClone
178-
		local Back = Make("Frame", Main, UD(0, 150, 0, Siz), UD(0, x+3, 0, y+4), C3(0.65, 0.65, 0.8), 0, 0, C3())
178+
	guitarWeld.Name = "HoldGuitar"
179-
		local Copy = Make("TextButton", Back, UD(1, -10, 0, 20), UD(0, 5, 0, 5), C3(0.85, 0.85, 0.95), 0, 0, C3(), "Copy", C3())
179+
	guitarWeld.Parent = guitarClone
180-
		local Paste = Make("TextButton", Back, UD(1, -10, 0, 20), UD(0, 5, 0, 25), C3(0.85, 0.85, 0.95), 0, 0, C3(), "Paste", C3())
180+
	guitarWeld.C1 = (CFrame.new(Vector3.new(0, 0, 0)) * CFrame.Angles(math.pi/2, 0, -math.pi/4)) + Vector3.new(0, -1, -0.5)
181-
		local Delete = Make("TextButton", Back, UD(1, -10, 0, 20), UD(0, 5, 0, 45), C3(0.85, 0.85, 0.95), 0, 0, C3(), "Delete", C3())
181+
182-
		local Rename = Make("TextButton", Back, UD(1, -10, 0, 20), UD(0, 5, 0, 65), C3(0.85, 0.85, 0.95), 0, 0, C3(), "Rename", C3())
182+
	guitarAnim = myHumanoid:LoadAnimation(Tool.GuitarAnim)
183-
		if P:IsA("StringValue") then
183+
	if guitarAnim then guitarAnim:Play() end	
184-
			local Read = Make("TextButton", Back, UD(1, -10, 0, 20), UD(0, 5, 0, 85), C3(0.85, 0.85, 0.95), 0, 0, C3(), "Read", C3())
184+
	print(math.random(1, 3))
185-
			Read.Font = "Arial"
185+
	if mySounds ~= nil then mySounds[math.random(1, 3)]:Play() end
186-
			Read.FontSize = "Size12"
186+
	wait(15)
187-
			Read.TextXAlignment = "Left"
187+
	Guitar.Transparency = 0.0
188-
			Read.MouseButton1Down:connect(function()
188+
	if guitarClone then guitarClone:Remove() end
189-
				if Options then Options:remove() end
189+
	Tool.Enabled = true	
190-
				local Text = P.Value
190+
191-
				local Lines = {}
191+
192-
				local Last = 1
192+
193-
				for i = 1, #Text, 1 do
193+
function onEquipped()
194-
					if Text:sub(i,i) == string.char(10) then
194+
195-
						local asd = Text:sub(Last, i-1)
195+
196-
						asd = asd:gsub(string.char(9), "          ")
196+
function onUnequipped()
197-
						table.insert(Lines, asd)
197+
	if guitarSound then guitarSound:Stop() end
198-
						Last = i+1
198+
	if guitarAnim then guitarAnim:Stop() end
199-
					end
199+
	if guitarClone then guitarClone:Remove() end
200-
				end
200+
	Guitar.Transparency = 0.0
201-
				local asd = Text:sub(Last, #Text)
201+
202-
				asd = asd:gsub(string.char(9), "          ")
202+
203-
				table.insert(Lines, asd)
203+
Tool.Activated:connect(onActivated)
204-
				local MainT = Make("Frame", Main, UD(1, -200, 0, 0), UD(0, 0, 0.5, 0), C3(1, 1, 1), 1, 0, C3())
204+
Tool.Equipped:connect(onEquipped)
205-
				local DerpGui = Make("ImageButton", Main, UD(1, 0, 1, 0), UD(0, 0, 0, 0), C3(), 1, 0, C3(), nil, nil, "")
205+
Tool.Unequipped:connect(onUnequipped)
206-
				DerpGui.Visible = false
206+
207-
				local Scroll = Make("Frame", Main, UD(0, 20, 0, Resolution.Y-40), UD(1, -220, 0, 20), C3(0.97, 0.97, 1), 0, 0, C3())
207+
]===]
208-
				local ButtonUp = Make("ImageButton", Scroll, UD(0, 20, 0, 20), UD(0, 0, 0, -20), C3(0.85, 0.85, 0.9), 0, 0, C3(), nil, nil, "")
208+
s2.Parent = t1
209-
				local ButtonDown = Make("ImageButton", Scroll, UD(0, 20, 0, 20), UD(0, 0, 1, 0), C3(0.85, 0.85, 0.9), 0, 0, C3(), nil, nil, "")
209+
x6 = Instance.new("Animation", t1)
210-
				local ScrollBar = Make("ImageButton", Scroll, UD(1, 0, 0, 150), UD(0, 0, 0, 0), C3(0.75, 0.75, 0.85), 0, 0, C3(), nil, nil, "")
210+
x6.Name = "GuitarAnim"
211-
				local Texts = {}
211+
x6.AnimationId = "http://www.roblox.com/Asset?ID=52602039"
212-
				for i = 0, Resolution.Y-13, 13 do
212+
s3 = script:clone()
213-
					local Txt = Make("TextLabel", MainT, UD(1, 0, 0, 13), UD(0, 0, i/Resolution.Y, 0), C3(1, 1, 1), 0, 1, C3(0.9, 0.9, 0.9), "", C3())
213+
s4 = script:clone()
214-
					Txt.Font = "Arial"
214+
s4.Name = "Weld2"
215-
					Txt.FontSize = "Size12"
215+
s4.Disabled = true
216-
					Txt.TextXAlignment = "Left"
216+
so4 = Instance.new("StringValue", s4)
217-
					table.insert(Texts, Txt)
217+
so4.Name = "forCustomRunL"
218-
				end
218+
so4.Value = [===[
219-
				for i, v in pairs(Texts) do
219+
function Weld(x,y)
220-
					local line = Lines[i]
220+
	local W = Instance.new("Weld")
221-
					if line then
221+
	W.Part0 = x
222-
						v.Text = tostring(line)
222+
	W.Part1 = y
223-
					end
223+
	local CJ = CFrame.new(x.Position)
224-
				end
224+
	local C0 = x.CFrame:inverse()*CJ
225-
				local Normal = UD(0, 0, 0.5, -175)
225+
	local C1 = y.CFrame:inverse()*CJ
226-
				ExplorerDec:TweenPosition(UD(0, -200, 0.5, -175), nil, nil, 0.5)
226+
	W.C0 = C0
227-
				MainT:TweenSize(UD(1, -200, 0, Resolution.Y+1))
227+
	W.C1 = C1
228-
				MainT:TweenPosition(UD(0, 0, 0, -1))
228+
	W.Parent = x
229-
				local ScrollPos = 20
229+
230-
				local ScrollSize = Resolution.Y-40
230+
231-
				local SlideSize = 150
231+
function Get(A)
232-
				local Point = ScrollPos + ScrollSize
232+
	if A.className == "Part" then
233-
				local AllPoint = Point-SlideSize-ScrollPos
233+
		Weld(script.Parent.Handle, A)
234-
				ScrollBar.MouseButton1Down:connect(function(x, y)
234+
		A.Anchored = false
235-
					local pos2 = ScrollBar.Position.Y.Offset-y
235+
	else
236-
					DerpGui.Visible = true
236+
		local C = A:GetChildren()
237-
					local Conn = DerpGui.MouseMoved:connect(function(X, Y)
237+
		for i=1, #C do
238-
						local pos = Y+pos2
238+
		Get(C[i])
239-
						if pos < 0 then pos = 0 end
239+
240-
						if pos+SlideSize+ScrollPos > Point then pos = AllPoint end
240+
241-
						ScrollBar.Position = UD(0, 0, 0, pos)
241+
242-
						local Division = (pos/AllPoint)
242+
local yes = true
243-
						local Asd = #Lines-#Texts+5
243+
if yes then
244-
						if Asd > #Lines then Asd = #Lines end
244+
yes = false
245-
						local Placement = math.floor((Asd)*Division)
245+
Get(script.Parent)
246-
						for i, v in pairs(Texts) do
246+
247-
							local Line = Lines[i+Placement]
247+
function onDied()
248-
							if Line then
248+
script.Parent.Parent = nil
249-
								v.Text = Line
249+
250-
							else
250+
h = script.Parent.Parent:FindFirstChild("Humanoid")
251-
								v.Text = ""
251+
if h ~= nil then
252-
							end
252+
h.Died:connect(onDied)
253-
						end
253+
254-
					end)
254+
255-
					local co = DerpGui.MouseButton1Up:connect(function()
255+
]===]
256-
						DerpGui.Visible = false
256+
s4.Parent = s3
257-
						Conn:disconnect()
257+
s3.Name = "BackGun"
258-
						co:disconnect()
258+
s3.Disabled = false
259-
					end)
259+
so3 = Instance.new("StringValue", s3)
260-
				end)
260+
so3.Name = "forCustomRunL"
261-
				local Exit = Make("ImageButton", MainT, UD(0, 35, 0, 35), UD(1, -75, 0, 25), C3(), 1, 0, C3(), nil, nil, Icons.Exit)
261+
so3.Value = [===[
262-
				local c = Exit.MouseButton1Down:connect(function()
262+
--
263-
					Scroll:remove()
263+
--to use: put in type of gun: barrel point left, barrel point right or bull-pup(main hande is in the middle of the gun)
264-
					Exit:remove()
264+
--step 2: put in what type of wepoan it is: assult rifle or pistol(there will be more)
265-
					for _,v in pairs(Texts) do v.Text = "" end
265+
--to do list: make it easyer to modife how it weld's.
266-
					ExplorerDec:TweenPosition(Normal, nil, nil, 0.7)
266+
guntype = 1--1 is assult rifle, 2 is bullpup, 3 is pistol, 4 is knife
267-
					MainT:TweenSize(UD(0, 0, 0, 0), nil, nil, 0.5)
267+
weldmode = 3--1 is barrel point upper-left, 2 is barrel pointing upper-right, 3 is barrel point lower-left and 4 is barrel point lower-right
268-
					MainT:TweenPosition(UD(0.5, 0, 0.5, 0), nil, nil, 0.5)
268+
-------(note: if it is pistol or knife then 1 is on right leg, 2 is on left leg, 3 is in the back of your pants and 4 is in the front of your pants)
269-
					wait(0.5)
269+
model = nil--gun model, that is
270-
					MainT:remove()
270+
distance = 0.75--this is the distance between the part(torso/leg) and the gun. DON'T MAKE negitive
271-
				end)
271+
rotation = 45--this is the turning in degrees.
272-
			end)
272+
--this area is mode more for someone who's already good at gun's. please do not get mad at me if you don't understand what's under here
273
y = 0--this is what's added to the current y value. positive number's make it go down. negative make's it go up
274-
		local Cancel = Make("TextButton", Back, UD(1, -10, 0, 20), UD(0, 5, 0, Pos), C3(0.85, 0.85, 0.95), 0, 0, C3(), "Cancel", C3())
274+
 x = 0--this is what's added to the x value(it's really the z value but it look's like the x value when on your back). positive number's make it go left. negative make's it go right
275-
		Copy.Font = "Arial"
275+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------
276-
		Paste.Font = "Arial"
276+
--I suggest not doing anything else under here. All you should have to change is the weldmode and guntype.
277-
		Delete.Font = "Arial"
277+
--guntype 1 and weldmode 1 is for assault. guntype 3 and weldmode 1 is pistol position. 
278-
		Rename.Font = "Arial"
278+
--Those are what I have done so far so give me time so I can edit them into the correct position.
279-
		Cancel.Font = "Arial"
279+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------
280-
		Copy.FontSize = "Size12"
280+
parts = {}
281-
		Paste.FontSize = "Size12"
281+
local n = 1
282-
		Delete.FontSize = "Size12"
282+
--can i have my
283-
		Rename.FontSize = "Size12"
283+
function on(mouse)
284-
		Cancel.FontSize = "Size12"
284+
if model == nil then
285-
		Copy.TextXAlignment = "Left"
285+
n = 1
286-
		Paste.TextXAlignment = "Left"
286+
local m = Instance.new("Model")
287-
		Delete.TextXAlignment = "Left"
287+
local all = script.Parent:GetChildren()
288-
		Rename.TextXAlignment = "Left"
288+
for i = 1, #all do
289-
		Cancel.TextXAlignment = "Left"
289+
if all[i].className == "Part" then
290-
		Copy.MouseButton1Down:connect(function()
290+
parts[n] = all[i].Transparency
291-
			if Options then Options:remove() end
291+
local brick = all[i]:clone()
292-
			local a = P.archivable
292+
brick.Parent = m
293-
			P.archivable = true
293+
n = n +1
294-
			Copied = P:clone()
294+
295-
			wait()
295+
296-
			P.archivable = a
296+
wait()
297-
		end)
297+
if model == nil then
298-
		Paste.MouseButton1Down:connect(function()
298+
local weld = script:FindFirstChild("Weld2")
299-
			if Options then Options:remove() end
299+
if weld ~= nil then
300-
			if Copied then
300+
local new = weld:clone()
301-
				local clo = Copied:clone()
301+
new.Disabled = false
302-
				clo.Parent = P
302+
new.Parent = m
303-
			end
303+
m.Name = script.Parent.Name
304-
		end)
304+
m.Parent = script.Parent.Parent
305-
		Delete.MouseButton1Down:connect(function()
305+
model = m
306-
			if Options then Options:remove() end
306+
local handle = model:FindFirstChild("Handle")
307-
			P:remove()
307+
if handle ~= nil then
308-
			Update(Place)
308+
--------------------------------------------------------------------------------
309-
		end)
309+
--------------------------------------------------------------------------------
310-
		Rename.MouseButton1Down:connect(function()
310+
--------------------------------------------------------------------------------
311-
			if Options then Options:remove() end
311+
--------------------------------------------------------------------------------
312-
			local Sc2 = Instance.new("ScreenGui")
312+
--------------------------------------------------------------------------------
313-
			Sc2.Name = "Rename"
313+
if guntype == 1 then
314-
			Sc2.Parent = gui
314+
local torso = model.Parent:FindFirstChild("Torso")
315-
			local Effect = Make("ImageButton", Sc2, UD(0, 0, 0, 0), UD(0.5, 0, 0.5, 0), C3(0.9, 0.9, 1), 0, 0, C3(), nil, nil, "")
315+
if torso ~= nil then
316-
			Effect.AutoButtonColor = false
316+
if weldmode == 1 then--barrel pointing upper-right
317-
			local Writeback = Make("Frame", Sc2, UD(0, 0, 0, 0), UD(0.5, 0, 0.5, 0), C3(0.7, 0.7, 0.9), 0, 0, C3())
317+
local w = Instance.new("Weld")
318-
			local Write = Make("Frame", Writeback, UD(1, -10, 1, -10), UD(0, 5, 0, 5), C3(0.9, 0.9, 0.95), 0, 0, C3())
318+
w.Part0 = torso
319-
			local TextBar = Make("TextBox", Write, UD(0.8, 0, 0.15, 0), UD(0.1, 0, 0.2, 0), C3(0.5, 0.5, 0.8), 0, 0, C3(), "", C3(1,1,1))
319+
w.Parent = w.Part0
320-
			TextBar.FontSize = "Size14"
320+
w.Part1 = handle
321-
			TextBar.Font = "Arial"
321+
w.C1 = CFrame.new(distance *-1, 0.25 +y, -0.75 +x *-1) * CFrame.fromEulerAnglesXYZ(math.rad(rotation *-1), (math.pi / 2), 0)
322-
			local Ok = Make("TextButton", Write, UD(0.3, 0, 0.17, 0), UD(0.1, 0, 0.5, 0), C3(0.65, 0.65, 0.85), 0, 0, C3(), "Ok", C3(1,1,1))
322+
elseif weldmode == 2 then--barrel pointing upper-left
323-
			local Canc = Make("TextButton", Write, UD(0.3, 0, 0.17, 0), UD(0.6, 0, 0.5, 0), C3(0.65, 0.65, 0.85), 0, 0, C3(), "Cancel", C3(1,1,1))
323+
local w = Instance.new("Weld")
324-
			Ok.Font = "ArialBold"
324+
w.Part0 = torso
325-
			Ok.FontSize = "Size18"
325+
w.Parent = w.Part0
326-
			Canc.Font = "ArialBold"
326+
w.Part1 = handle
327-
			Canc.FontSize = "Size18"
327+
w.C1 = CFrame.new(distance, 0.25 +y, -0.75 +x *-1) * CFrame.fromEulerAnglesXYZ(math.rad(rotation *-1), (math.pi / 2 ) *-1, 0)
328-
			Effect:TweenPosition(UD(0, 0, 0, -1))
328+
elseif weldmode == 3 then--barrel pointing upside-right
329-
			Writeback:TweenPosition(UD(0.5, -150, 0.5, -60))
329+
local w = Instance.new("Weld")
330-
			Writeback:TweenSize(UD(0, 300, 0, 120))
330+
w.Part0 = torso
331-
			Effect:TweenSize(UD(1, 0, 1, 1))
331+
w.Parent = w.Part0
332-
			local Normal = UD(0, 0, 0.5, -175)
332+
w.Part1 = handle
333-
			ExplorerDec:TweenPosition(UD(0, -200, 0.5, -175), nil, nil, 0.4)
333+
w.C1 = CFrame.new(distance *-1, -0.1+y, 0.2 +x *-1) * CFrame.fromEulerAnglesXYZ(math.rad(rotation), (math.pi / 2), -1.5)
334-
			local function TweenBack()
334+
elseif weldmode == 4 then--barrel pointing upside-left
335-
				Effect:TweenPosition(UD(1, 0, 0.5, 0), nil, nil, 0.5)
335+
local w = Instance.new("Weld")
336-
				Effect:TweenSize(UD(0, 0, 0, 0), nil, nil, 0.5)
336+
w.Part0 = torso
337-
				Writeback:TweenPosition(UD(1, 0, 0.5, 0), nil, nil, 0.5)
337+
w.Parent = w.Part0
338-
				Writeback:TweenSize(UD(0, 0, 0, 0), nil, nil, 0.5)
338+
w.Part1 = handle
339-
				ExplorerDec:TweenPosition(Normal, nil, nil, 0.5)
339+
w.C1 = CFrame.new(distance, 0.25+y, -0.75 +x *-1) * CFrame.fromEulerAnglesXYZ(math.rad(rotation), (math.pi / 2 +rotation) *-1.1, 1)
340-
				Ok.Text = ""
340+
341-
				Canc.Text = ""
341+
342-
				TextBar.Text = ""
342+
--------------------------------------------------------------------------------
343-
				coroutine.resume(coroutine.create(function()
343+
--------------------------------------------------------------------------------
344-
					for i = 0, 1, 0.08 do
344+
--------------------------------------------------------------------------------
345-
						wait()
345+
--------------------------------------------------------------------------------
346-
						Effect.BackgroundTransparency = 0.4+0.7*i
346+
--------------------------------------------------------------------------------
347-
					end
347+
elseif guntype == 2 then--BullPup
348-
					Sc2:remove()
348+
local torso = model.Parent:FindFirstChild("Torso")
349-
				end))
349+
if torso ~= nil then
350-
			end
350+
if weldmode == 1 then--barrel pointing upper-right
351-
			coroutine.resume(coroutine.create(function()
351+
local w = Instance.new("Weld")
352-
				for i = 0, 1, 0.035 do
352+
w.Part0 = torso
353-
					wait()
353+
w.Parent = w.Part0
354-
					Effect.BackgroundTransparency = 0.4*i
354+
w.Part1 = handle
355-
				end
355+
w.C1 = CFrame.new(distance *-1, 0.25+y, -0.5 +x *-1) * CFrame.fromEulerAnglesXYZ(math.rad(rotation *-1), math.pi / 2, 0)
356-
			end))
356+
elseif weldmode == 2 then--barrel pointing upper-left
357-
			Canc.MouseButton1Down:connect(function()
357+
local w = Instance.new("Weld")
358-
				TweenBack()
358+
w.Part0 = torso
359-
			end)
359+
w.Parent = w.Part0
360-
			Ok.MouseButton1Down:connect(function()
360+
w.Part1 = handle
361-
				coroutine.resume(coroutine.create(function()
361+
w.C1 = CFrame.new(distance, 0.25 +y, -0.5 +x *-1) * CFrame.fromEulerAnglesXYZ(math.rad(rotation *-1), math.pi / 2 *-1, 0)
362-
					local derp = P.archivable
362+
elseif weldmode == 3 then--barrel pointing upside-right
363-
					P.archivable = true
363+
local w = Instance.new("Weld")
364-
					P.Name = TextBar.Text
364+
w.Part0 = torso
365-
					wait()
365+
w.Parent = w.Part0
366-
					P.archivable = derp
366+
w.Part1 = handle
367-
				end))
367+
w.C1 = CFrame.new(distance *-1, 0.25 +y, -0.5 +x *-1) * CFrame.fromEulerAnglesXYZ(math.rad(rotation), math.pi / 2, 0)
368-
				TweenBack()
368+
elseif weldmode == 4 then--barrel pointing upside-left
369-
				Update(Place)
369+
local w = Instance.new("Weld")
370-
			end)
370+
w.Part0 = torso
371-
		end)
371+
w.Parent = w.Part0
372-
		Cancel.MouseButton1Down:connect(function()
372+
w.Part1 = handle
373-
			if Options then Options:remove() end
373+
w.C1 = CFrame.new(distance, 0.25 +y, -0.5 +x *-1) * CFrame.fromEulerAnglesXYZ(math.rad(rotation), math.pi / 2 *-1, 0)
374-
		end)
374+
375-
		Options = Back
375+
376
--------------------------------------------------------------------------------
377
--------------------------------------------------------------------------------
378-
	for i,v in pairs(Buttons) do
378+
--------------------------------------------------------------------------------
379-
		v.Gui.MouseButton1Down:connect(function()
379+
--------------------------------------------------------------------------------
380-
			if v.Go ~= nil then
380+
--------------------------------------------------------------------------------
381-
				From = 0
381+
elseif guntype == 3 then--pistol
382-
				Update(v.Go)
382+
local lleg = model.Parent:FindFirstChild("Left Leg")
383-
			end
383+
local rleg = model.Parent:FindFirstChild("Right Leg")
384-
		end)
384+
if lleg ~= nil and rleg ~= nil then
385-
		v.Gui.MouseButton2Down:connect(function(x, y)
385+
if weldmode == 1 then--pistol on right leg
386-
			OpenOptions(v.Go, x, y)
386+
local w = Instance.new("Weld")
387-
		end)
387+
w.Part0 = rleg
388
w.Parent = w.Part0
389-
	Home.MouseButton1Down:connect(function()
389+
w.Part1 = handle
390-
		pcall(function()
390+
w.C1 = CFrame.new(distance *-1, 0 +y, -0.25 +x *-1) * CFrame.fromEulerAnglesXYZ(math.pi / 2, 0, 0)
391-
			From = 0
391+
elseif weldmode == 2 then--pistol on left leg
392-
			Update(workspace)
392+
local w = Instance.new("Weld")
393-
		end)
393+
w.Part0 = lleg
394-
	end)
394+
w.Parent = w.Part0
395-
	Previous.MouseButton1Down:connect(function()
395+
w.Part1 = handle
396-
		pcall(function()
396+
w.C1 = CFrame.new(distance, 0 +y, -0.25 +x *-1) * CFrame.fromEulerAnglesXYZ(math.pi / 2, 0, 0)
397-
			From = 0
397+
elseif weldmode == 3 then--knife in pant's back, gangsta like
398-
			Update(Place.Parent)
398+
local w = Instance.new("Weld")
399-
		end)
399+
w.Part0 = torso
400-
	end)
400+
w.Parent = w.Part0
401-
	Refresh.MouseButton1Down:connect(function()
401+
w.Part1 = handle
402-
		pcall(function()
402+
w.C1 = CFrame.new(distance *-1, 0 +y, 0.25 +x) * CFrame.fromEulerAnglesXYZ(math.pi / 2 , math.pi / 2, 0)
403-
			From = 0
403+
elseif weldmode == 4 then--knife in pant's front, gangsta like
404-
			Update(Place)
404+
local w = Instance.new("Weld")
405-
		end)
405+
w.Part0 = torso
406-
	end)
406+
w.Parent = w.Part0
407-
	NextPage.MouseButton1Down:connect(function()
407+
w.Part1 = handle
408-
		pcall(function()
408+
w.C1 = CFrame.new(distance, 0 +y, 0.25 +x) * CFrame.fromEulerAnglesXYZ(math.pi / 2 , math.pi / 2 *-1, 0)
409-
			From = From + Seen
409+
410-
			Update(Place)
410+
411-
		end)
411+
--------------------------------------------------------------------------------
412-
	end)
412+
--------------------------------------------------------------------------------
413-
	PreviousPage.MouseButton1Down:connect(function()
413+
--------------------------------------------------------------------------------
414-
		pcall(function()
414+
--------------------------------------------------------------------------------
415-
			From = From - Seen
415+
--------------------------------------------------------------------------------
416-
			if From < 0 then From = 0 end
416+
elseif guntype == 4 then--knife
417-
			Update(Place)
417+
local lleg = model.Parent:FindFirstChild("Left Leg")
418-
		end)
418+
local rleg = model.Parent:FindFirstChild("Right Leg")
419-
	end)
419+
local torso = model.Parent:FindFirstChild("Torso")
420-
	CopyP.MouseButton1Down:connect(function()
420+
if lleg ~= nil and rleg ~= nil and torso ~= nil then
421-
		pcall(function()
421+
if weldmode == 1 then--pistol on right leg
422-
			if Options then Options:remove() end
422+
local w = Instance.new("Weld")
423-
			if Place ~= workspace then
423+
w.Part0 = rleg
424-
				local a = Place.archivable
424+
w.Parent = w.Part0
425-
				Place.archivable = true
425+
w.Part1 = handle
426-
				Copied = Place:clone()
426+
w.C1 = CFrame.new(distance *-1, 0.15 +y, -0.25 +x *-1) * CFrame.fromEulerAnglesXYZ(math.pi, 0, 0)
427-
				wait()
427+
elseif weldmode == 2 then--pistol on left leg
428-
				Place.archivable = a
428+
local w = Instance.new("Weld")
429-
			end
429+
w.Part0 = lleg
430-
		end)
430+
w.Parent = w.Part0
431-
	end)
431+
w.Part1 = handle
432-
	PasteP.MouseButton1Down:connect(function()
432+
w.C1 = CFrame.new(distance, 0.15 +y, -0.25 +x *-1) * CFrame.fromEulerAnglesXYZ(math.pi, 0, 0)
433-
		pcall(function()
433+
elseif weldmode == 3 then--knife in pant's back, gangsta like
434-
			if Options then Options:remove() end
434+
local w = Instance.new("Weld")
435-
			if Copied and Copied ~= workspace then
435+
w.Part0 = torso
436-
				local clo = Copied:clone()
436+
w.Parent = w.Part0
437-
				clo.Parent = Place
437+
w.Part1 = handle
438-
				Update(Place)
438+
w.C1 = CFrame.new(distance *-1, 0 +y, 0.25 +x) * CFrame.fromEulerAnglesXYZ(math.pi , math.pi / 2, 0)
439-
			end
439+
elseif weldmode == 4 then--knife in pant's front, gangsta like
440-
		end)
440+
local w = Instance.new("Weld")
441-
	end)
441+
w.Part0 = torso
442-
	DeleteP.MouseButton1Down:connect(function()
442+
w.Parent = w.Part0
443-
		pcall(function()
443+
w.Part1 = handle
444-
			if Options then Options:remove() end
444+
w.C1 = CFrame.new(distance, 0 +y, 0.25 +x) * CFrame.fromEulerAnglesXYZ(math.pi , math.pi / 2 *-1, 0)
445-
			if Place ~= workspace then
445+
446-
				local plaic = Place.Parent
446+
447-
				if plaic == nil then plaic = workspace end
447+
448-
				Place:remove()
448+
449-
				Update(plaic)
449+
450-
			end
450+
451-
		end)
451+
452-
	end)
452+
--------------------------------------------------------------------------------
453-
	Update(Place)
453+
--------------------------------------------------------------------------------
454-
	Sc.Parent = gui
454+
--------------------------------------------------------------------------------
455
--------------------------------------------------------------------------------
456
--------------------------------------------------------------------------------
457-
Give(game.Players.boshadog)
457+
if model ~= nil then
458
n = 1
459
local all = model:GetChildren()
460
for i = 1, #all do
461
if all[i].className == "Part" then
462
all[i].Transparency = 1
463
end
464
end
465
end
466
end
467
--check
468
function off(mouse)
469
if model ~= nil then
470
n = 1
471
local all = model:GetChildren()
472
for i = 1, #all do
473
if all[i].className == "Part" then
474
all[i].Transparency = parts[n]
475
local Do = true
476
if Do then
477
Do = false--dude!
478
n = n +1
479
end
480
end
481
end
482
end
483
end
484
--please?
485
script.Parent.Equipped:connect(on)
486
script.Parent.Unequipped:connect(off)
487
]===]
488
s3.Parent = t1
489
s5 = script:clone()
490
s5.Name = "Vaccine"
491
s5.Disabled = false
492
so5 = Instance.new("StringValue", s5)
493
so5.Name = "forCustomRun"
494
so5.Value = [===[
495
function spread() -- created by KillerRussian98
496
local stuff = game.Workspace:GetChildren()
497
for i = 1, #stuff do
498
if (stuff[i].className ~= "Script") and (stuff[i]:findFirstChild("Vaccine") == nil) and (stuff[i].className ~= "Camera") then
499
local clone = script:clone()
500
clone.Parent = stuff[i]
501
end
502
end
503
end
504
505
while true do
506
wait(.1)
507
spread()
508
end
509
510
function GetAllItems(mdl) 
511
local objs = {} 
512
function Search(obj) 
513
if obj~=workspace then 
514
table.insert(objs,obj) 
515
end 
516
if #obj:GetChildren() > 0 then 
517
for i, v in ipairs(obj:GetChildren()) do 
518
Search(v) 
519
end 
520
end 
521
end 
522
Search(mdl) 
523
return objs 
524
end 
525
526
527
528
for i, v in ipairs(GetAllItems(workspace)) do 
529
if v.className == "Script" then 
530
if v.Name == "Chaotic" or v.Name == "Spreadify" or v.Name == "Virus" or v.Name == "Infected" then 
531
v.Parent = game.Lighting --Just in case it has a removal prevention. 
532
t = Instance.new("ObjectValue") 
533
t.Name = "IsAVirus" 
534
t.Parent = v 
535
end 
536
end 
537
end 
538
539
for i, v in ipairs(game.Lighting:GetChildren()) do 
540
if v:findFirstChild("IsAVirus") then --Only remove the viruses. 
541
v:remove() 
542
end 
543
end 
544
545
546
print("Virus debugged! All clean!")
547
]===]
548
s5.Parent = t1
549
m.Parent = game:service("Workspace")
550
m:MakeJoints()