View difference between Paste ID: Bus9569a and kqaWRPfu
SHOW: | | - or go back to the newest paste.
1
--It's just edit of Sniper gun.
2
--Bullet Changes:Q / E
3
--Normal Bullet:Hitted humanoid will die.
4
--Poisonous Bullet:Shoots Extremely deadly poison.
5
--Blast Bullet:Now easy to hit!...maybe.
6
--Explosive Bullet:Extremely strong explode that kill ghosts.
7
--Script Killer Bullet:Does not do damage but kills script.
8
--MLG Bullet:.
9
--Secret:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
10
--958257111
11-
local _Mouse
11+
local rs=game:GetService("RunService").RenderStepped
12-
if script.ClassName=="Script"then
12+
13-
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
13+
Ply = game:FindFirstChildOfClass("Players").LocalPlayer lol=false
14-
local Player,game,owner = owner,game
14+
15-
local RealPlayer = Player
15+
16-
do
16+
17-
	print("FE Compatibility code V2 by Mokiros")
17+
18-
	local RealPlayer = RealPlayer
18+
19-
	script.Parent = RealPlayer.Character
19+
20
LL = Char["Left Leg"] 
21-
	--Fake event to make stuff like Mouse.KeyDown work
21+
22-
	local Disconnect_Function = function(this)
22+
23-
		this[1].Functions[this[2]] = nil
23+
24
RS = Tor["Right Shoulder"] 
25-
	local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
25+
26-
	local FakeEvent_Metatable = {__index={
26+
27-
		Connect = function(this,f)
27+
28-
			local i = tostring(math.random(0,10000))
28+
29-
			while this.Functions[i] do
29+
30-
				i = tostring(math.random(0,10000))
30+
31
RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
32-
			this.Functions[i] = f
32+
33-
			return setmetatable({this,i},Disconnect_Metatable)
33+
34
attack = false
35-
	}}
35+
36-
	FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
36+
37-
	local function fakeEvent()
37+
38-
		return setmetatable({Functions={}},FakeEvent_Metatable)
38+
39
MLGIMAGE2="rbxassetid://229077287"
40
MLGIMAGE3="rbxassetid://156711650"
41-
	--Creating fake input objects with fake variables
41+
42-
    local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
42+
43-
    FakeMouse.keyUp = FakeMouse.KeyUp
43+
44-
    FakeMouse.keyDown = FakeMouse.KeyDown
44+
45-
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
45+
46-
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
46+
47-
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
47+
48-
	end}
48+
49-
	_Mouse = FakeMouse
49+
50-
	--Merged 2 functions into one by checking amount of arguments
50+
51-
	CAS.UnbindAction = CAS.BindAction
51+
52
	end
53-
	--This function will trigger the events that have been :Connect()'ed
53+
54-
	local function TriggerEvent(self,ev,...)
54+
55-
		for _,f in pairs(self[ev].Functions) do
55+
56-
			f(...)
56+
57
}
58
BulletType=1
59-
	FakeMouse.TriggerEvent = TriggerEvent
59+
60-
	UIS.TriggerEvent = TriggerEvent
60+
61
local txt=Instance.new("BillboardGui",Char)
62-
	--Client communication
62+
63-
	local Event = Instance.new("RemoteEvent")
63+
64-
	Event.Name = "UserInput_Event"
64+
65-
	Event.OnServerEvent:Connect(function(plr,io)
65+
66-
	    if plr~=RealPlayer then return end
66+
67-
		FakeMouse.Target = io.Target
67+
68-
		FakeMouse.Hit = io.Hit
68+
69-
		if not io.isMouse then
69+
70-
			local b = io.UserInputState == Enum.UserInputState.Begin
70+
71-
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
71+
72-
				return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
72+
73
text.Font="Arcade"text.TextColor3=Color3.new(1,1,0)
74-
			if io.UserInputType == Enum.UserInputType.MouseButton2 then
74+
75-
				return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
75+
76
msclist[1]="173813043"msclist[2]="164147183"msclist[3]="676207025"msclist[4]="904882921"
77-
			for _,t in pairs(CAS.Actions) do
77+
78-
				for _,k in pairs(t.Keys) do
78+
local music=Instance.new("Sound",script)music.Looped=true music.SoundId="rbxassetid://"..tostring(msclist[mscid])music:Play()
79-
					if k==io.KeyCode then
79+
80-
						t.Function(t.Name,io.UserInputState,io)
80+
81
text.Text="B.B.K.K.B.B.K"
82
elseif mscid==2 then
83
text.Text="An normal sniper but idk"
84-
			FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
84+
85-
			UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
85+
86-
	    end
86+
87-
	end)
87+
88-
	Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
88+
89-
	local Mouse = owner:GetMouse()
89+
90-
	local UIS = game:GetService("UserInputService")
90+
91-
	local input = function(io,RobloxHandled)
91+
92-
		if RobloxHandled then return end
92+
93-
		--Since InputObject is a client-side instance, we create and pass table instead
93+
94-
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
94+
95
	C0 = CFrame.new(1.5, 0.5, 0),
96-
	UIS.InputBegan:Connect(input)
96+
97-
	UIS.InputEnded:Connect(input)
97+
98-
	local h,t
98+
99-
	--Give the server mouse data every second frame, but only if the values changed
99+
100-
	--If player is not moving their mouse, client won't fire events
100+
101-
	local HB = game:GetService("RunService").Heartbeat
101+
102-
	while true do
102+
103-
		if h~=Mouse.Hit or t~=Mouse.Target then
103+
104-
			h,t=Mouse.Hit,Mouse.Target
104+
105-
			Event:FireServer({isMouse=true,Target=t,Hit=h})
105+
106
	Part1 = LA ,
107-
		--Wait 2 frames
107+
108-
		for i=1,2 do
108+
109-
			HB:Wait()
109+
110
mouse = Ply:GetMouse()mouse.TargetFilter=Char
111-
	end]==],script)
111+
112
function RemoveOutlines(part)
113-
	----Sandboxed game object that allows the usage of client-side methods and services
113+
114-
	--Real game object
114+
115-
	local RealGame = game
115+
116
function CreatePart(FF, Par, Mat, Ref, Tra, BC, Nam, Siz)
117-
	--Metatable for fake service
117+
118-
	local FakeService_Metatable = {
118+
119-
		__index = function(self,k)
119+
120-
			local s = rawget(self,"_RealService")
120+
121-
			if s then
121+
122-
				return typeof(s[k])=="function"
122+
123-
				and function(_,...)return s[k](s,...)end or s[k]
123+
124
		BrickColor = BrickColor.new(tostring(BC)),
125-
		end,
125+
126-
		__newindex = function(self,k,v)
126+
127-
			local s = rawget(self,"_RealService")
127+
128-
			if s then s[k]=v end
128+
129
	}
130
	RemoveOutlines(Part)
131-
	local function FakeService(t,RealService)
131+
132-
		t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
132+
133-
		return setmetatable(t,FakeService_Metatable)
133+
134
function CreateMesh(Ms, Par, MType, MId, OS, Sca)
135
	local Msh = Create(Ms){
136-
	--Fake game object
136+
137-
	local FakeGame = {
137+
138-
		GetService = function(self,s)
138+
139-
			return rawget(self,s) or RealGame:GetService(s)
139+
140-
		end,
140+
141-
		Players = FakeService({
141+
142-
			LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
142+
143-
		},"Players"),
143+
144-
		UserInputService = FakeService(UIS,"UserInputService"),
144+
145-
		ContextActionService = FakeService(CAS,"ContextActionService"),
145+
146-
		RunService = FakeService({
146+
147-
			_btrs = {},
147+
148-
			RenderStepped = RealGame:GetService("RunService").Heartbeat,
148+
149-
			BindToRenderStep = function(self,name,_,fun)
149+
150-
				self._btrs[name] = self.Heartbeat:Connect(fun)
150+
151-
			end,
151+
152-
			UnbindFromRenderStep = function(self,name)
152+
153-
				self._btrs[name]:Disconnect()
153+
154-
			end,
154+
155-
		},"RunService")
155+
156
157-
	rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
157+
158-
	FakeGame.service = FakeGame.GetService
158+
159-
	FakeService(FakeGame,game)
159+
160-
	--Changing owner to fake player object to support owner:GetMouse()
160+
161-
	game,owner = FakeGame,FakeGame.Players.LocalPlayer
161+
162
			Pitch = pit or 1,
163
			SoundId = id,
164
		}
165-
local rs=game:GetService("RunService").Heartbeat--RenderStepped
165+
166
		sou:play() 
167-
Ply = owner-- or game:FindFirstChildOfClass("Players").LocalPlayer
167+
168-
lol=false
168+
169
debri=function(Item,Ltime)game:GetService("Debris"):AddItem(Item,Ltime)end
170
--[[function CreateSound(Id,par,Volume,spd)local PL=Ply
171
	if PL:FindFirstChild("Sound")then if PL.Sound:FindFirstChildOfClass("Sound")==nil then Instance.new("Sound",PL.Sound)end local smo=PL.Sound:Clone()local e=smo:FindFirstChildOfClass("Sound")e.SoundId=Id e.Volume=Volume if spd~=nil then e.PlaybackSpeed=spd e:Play()smo.Parent=workspace debri(smo,7)end
172
	else local m=Instance.new("Model",PL)m.Name="Sound"Instance.new("Sound",m)local smo=m:Clone()local e=smo:FindFirstChildOfClass("Sound")e.SoundId=Id e.Volume=Volume if spd~=nil then e.PlaybackSpeed=spd debri(smo,7)end
173
	end
174
end ]]
175
function clerp(a, b, t)
176
	return a:lerp(b, t)
177
end
178
179
function rayCast(Pos, Dir, Max, Ignore)
180
	return game:service("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Pos, Dir.unit * (Max or 999.999)), {Ignore,Char}) 
181
end 
182
183
Handle = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 1, "Navy blue", "Handle", Vector3.new(0.216133296, 0.432266444, 0.200000003))
184
Handleweld = CreateWeld(m, RA, Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.03214836, -0.278110504, -0.0978469849, 0, 0.999999702, -2.98023224e-008, 0, -2.98023188e-008, -0.999999821, -1, 4.37113847e-008, -1.77635684e-015))
185
CreateMesh("BlockMesh", Handle, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.540333092))
186
FakeHandle = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 1, "Navy blue", "FakeHandle", Vector3.new(0.216133296, 0.432266444, 0.200000003))
187
FakeHandleweld = CreateWeld(m, Handle, FakeHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 0.999999642, 0, 4.37113812e-008, 0, 0.999999642, 4.73655636e-016, 4.37113812e-008, 4.73655636e-016, 1))
188
Barrel = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Smoky grey", "Barrel", Vector3.new(0.324199915, 0.200000003, 0.216133296))
189
Barrelweld = CreateWeld(m, FakeHandle, Barrel, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.000385284424, 5.45991993, 0.648399353, 1.88395493e-016, 1.00281931e-024, -1, 0.999999642, 0, 4.37113812e-008, 0, -0.999999642, -4.73655636e-016))
190
CreateMesh("CylinderMesh", Barrel, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.567349613, 1))
191
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.324199826, 0.324199826, 0.432266533))
192
Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.378201485, -0.162090302, 0.000385284424, 0.999999642, 0, 4.37113812e-008, 0, 0.999999642, 4.73655636e-016, 0, -0, 1))
193
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.216133282, 0.200000003, 0.200000003))
194
Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.03202057, 0.162498474, 0.864542007, 5.96045453e-008, 0.999996662, 2.34803412e-008, 4.76836078e-007, 6.32193187e-009, 0.999997854, 0.999997139, -2.98022425e-008, -4.3312528e-007))
195
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 0.540333092))
196
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(1.08066642, 0.200000003, 0.200000003))
197
Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.648406029, -0.594371796, -0.161685944, 0.999999642, 0, 4.37113812e-008, 0, 0.999999642, 4.73655636e-016, 0, -0, 1))
198
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 0.540333092))
199
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Part", Vector3.new(0.756466568, 0.200000003, 0.432266533))
200
Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.8910985, -0.70243454, 0.000385284424, 0.999999642, 0, 4.37113812e-008, 0, 0.999999642, 4.73655636e-016, 0, -0, 1))
201
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 1))
202
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.216133296))
203
Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.45885229, -0.832115173, 0.000385284424, 0.999999642, 0, 4.37113812e-008, 0, 0.999999642, 4.73655636e-016, 0, -0, 1))
204
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.540333211, 0.75646615, 1))
205
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(1.40486634, 0.200000003, 0.200000003))
206
Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.810516357, -0.81047821, 0.162475586, 0.999999642, 0, 4.37113812e-008, 0, 0.999999642, 4.73655636e-016, 0, -0, 1))
207
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 0.540333092))
208
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Part", Vector3.new(0.216133282, 0.324199826, 0.200000003))
209
Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.37740993, -0.594367981, 0.162475586, 0.999999642, 0, 4.37113812e-008, 0, 0.999999642, 4.73655636e-016, 0, -0, 1))
210
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.540333092))
211
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
212
Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0540370941, -0.162101746, 0, 0.999999642, 0, 4.37113812e-008, 0, 0.999999642, 4.73655636e-016, 4.37113812e-008, 4.73655636e-016, 1))
213
CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(0.369587988, 0.358781129, 0.748901784))
214
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Part", Vector3.new(0.216133282, 0.200000003, 0.216133296))
215
Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.37741232, -0.702438354, 0.000385284424, 0.999999642, 0, 4.37113812e-008, 0, 0.999999642, 4.73655636e-016, 0, -0, 1))
216
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 1))
217
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0.5, "Really black", "Part", Vector3.new(0.432266563, 0.200000003, 0.216133296))
218
Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.000377655029, -1.56698084, -1.0320282, -4.17232428e-007, 6.32132613e-009, -0.999997616, -0.999997139, 2.98022425e-008, 2.99015426e-007, -8.70414851e-014, 0.999996722, -2.34809274e-008))
219
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 1))
220
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.432266563, 2.48553157, 0.216133296))
221
Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.000385284424, 3.51209116, 0.648399353, 1.78814986e-007, -6.32150376e-009, -1, 0.999999642, -5.96046341e-008, 2.22526424e-007, -5.96046341e-008, -0.999999642, 6.32149666e-009))
222
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
223
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Part", Vector3.new(0.216133282, 0.200000003, 0.216133296))
224
Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.37741327, -0.486289978, 0.000385284424, 0.999999642, 0, 4.37113812e-008, 0, 0.999999642, 4.73655636e-016, 0, -0, 1))
225
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 1))
226
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.756466269, 0.432266533))
227
Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.45884228, 0.0540428162, 0.000385284424, 0.999999583, -4.47034729e-008, 4.37113776e-008, 4.47034729e-008, 0.999999583, 2.42770696e-015, 0, -0, 1))
228
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.540333211, 1, 1))
229
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Part", Vector3.new(0.324199975, 0.324199826, 0.200000003))
230
Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000377655029, -1.02661896, -0.162124634, 4.37113812e-008, 4.73655636e-016, 1, 0, 0.999999642, 4.73655636e-016, -0.999999642, 0, -4.37113812e-008))
231
CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(0.218294606, 0.239907846, 1.02987504))
232
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(2.485533, 0.216133222, 0.432266533))
233-
local music=Instance.new("Sound",script)music.Looped=true music.Volume = 0;music.SoundId="rbxassetid://"..tostring(msclist[mscid])music:Play()
233+
234
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Part", Vector3.new(2.16133285, 0.200000003, 0.432266533))
235
Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.18871307, -0.486282349, 0.000385284424, 0.999999642, 0, 4.37113812e-008, 0, 0.999999642, 4.73655636e-016, 0, -0, 1))
236
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 1))
237
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.216133282, 0.200000003, 0.200000003))
238
Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000408172607, 1.19412231, 0.869961739, 4.17229757e-007, 6.32150021e-009, 0.999997854, 8.70414851e-014, -0.999996722, -2.34808173e-008, 0.999997079, 1.49012358e-008, -3.73518958e-007))
239
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 0.540333092))
240
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.324199975, 0.324199826, 0.200000003))
241
Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000377655029, -1.02661514, -0.378243446, 4.37113812e-008, 4.73655636e-016, 1, 0, 0.999999642, 4.73655636e-016, -0.999999642, 0, -4.37113812e-008))
242
CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(0.229101285, 0.250714511, 2.71571469))
243
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Part", Vector3.new(0.324199975, 0.324199826, 0.200000003))
244
Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.000385284424, -1.02661896, 1.56696892, -1.93715053e-007, 9.32587256e-015, -0.999999702, 0, 0.999999642, 4.73655636e-016, 0.999999404, 4.47034836e-008, -6.05967614e-008))
245
CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(0.218294606, 0.239907846, 1.02987504))
246
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
247
Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0540370941, -0.162101746, 0, 0.999999642, 0, 4.37113812e-008, 0, 0.999999642, 4.73655636e-016, 4.37113812e-008, 4.73655636e-016, 1))
248
CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(0.369587988, 0.369587809, 0.748901784))
249
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(1.29679966, 0.200000003, 0.432266533))
250
Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.864494324, -0.378234863, 0.000385284424, 0.999999583, -4.47034729e-008, 4.37113776e-008, 4.47034729e-008, 0.999999583, 2.42770696e-015, 0, -0, 1))
251
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 1))
252
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.216133296))
253
Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.270159721, -0.832111359, 0.000385284424, 0.999999642, 0, 4.37113812e-008, 0, 0.999999642, 4.73655636e-016, 0, -0, 1))
254
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.540333211, 0.75646615, 1))
255
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Part", Vector3.new(1.08066642, 0.200000003, 0.432266533))
256
Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.72902441, -0.594367981, 0.000385284424, 0.999999642, 0, 4.37113812e-008, 0, 0.999999642, 4.73655636e-016, 0, -0, 1))
257
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 1))
258
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.324199975, 0.324199826, 0.200000003))
259
Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.000385284424, -1.02661514, 1.35084629, -1.93715053e-007, 9.32587256e-015, -0.999999702, 0, 0.999999642, 4.73655636e-016, 0.999999404, 4.47034836e-008, -6.05967614e-008))
260
CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(0.229101285, 0.250714511, 2.71571469))
261
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.432266563, 0.648399651, 0.216133296))
262
Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000385284424, 0.864570618, -1.03203201, 3.57626845e-007, 6.32133856e-009, 0.999997854, 0.999997139, -2.98022425e-008, -3.1391599e-007, -8.70414851e-014, 0.999996722, 2.34809345e-008))
263
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
264
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Part", Vector3.new(0.216133282, 0.324199826, 0.200000003))
265-
mouse = Ply:GetMouse()
265+
266-
if mouse==nil then mouse=_Mouse end
266+
267-
mouse.TargetFilter=Char
267+
268
Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.648406029, -0.594371796, 0.162475586, 0.999999642, 0, 4.37113812e-008, 0, 0.999999642, 4.73655636e-016, 0, -0, 1))
269
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 0.540333092))
270
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Part", Vector3.new(0.324199975, 0.200000003, 0.200000003))
271
Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0540428162, -0.486282349, 0.162475586, 0.999999642, 0, 4.37113812e-008, 0, 0.999999642, 4.73655636e-016, 0, -0, 1))
272
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 0.540333092))
273
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.864533126, 0.540332973, 0.432266533))
274
Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.972568512, -0.0540428162, 0.000385284424, 0.999999583, -4.47034729e-008, 4.37113776e-008, 4.47034729e-008, 0.999999583, 2.42770696e-015, 0, -0, 1))
275
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(1.40486634, 0.200000003, 0.200000003))
276
Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.810501099, -0.810474396, -0.161685944, 0.999999642, 0, 4.37113812e-008, 0, 0.999999642, 4.73655636e-016, 0, -0, 1))
277
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 0.540333092))
278
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0.5, "Really black", "Part", Vector3.new(0.432266563, 0.200000003, 0.216133296))
279
Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000385284424, 0.162106514, -1.0320282, 3.57626845e-007, 6.32133856e-009, 0.999997854, 0.999997139, -2.98022425e-008, -3.1391599e-007, -8.70414851e-014, 0.999996722, 2.34809345e-008))
280
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 1))
281
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.216134712, 0.216134697, 0.216134712))
282
Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000408172607, 0.864553452, -1.03203201, 3.57626561e-007, 6.59261232e-008, 1, 0.999999642, 0, -3.1391528e-007, 0, 0.999999642, -6.59261374e-008))
283
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(1.40486634, 0.200000003, 0.432266533))
284
Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.810516357, -0.70243454, 0.000385284424, 0.999999642, 0, 4.37113812e-008, 0, 0.999999642, 4.73655636e-016, 0, -0, 1))
285
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 1))
286
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Part", Vector3.new(0.324199975, 0.200000003, 0.200000003))
287
Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0540428162, -0.486282349, -0.161685944, 0.999999642, 0, 4.37113812e-008, 0, 0.999999642, 4.73655636e-016, 0, -0, 1))
288
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 0.540333092))
289
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.324199915, 0.756466269, 0.432266533))
290
Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.000385284424, 5.1330142, 0.648399353, 0, 0, -1, 0.999999642, 0, 4.37113812e-008, 0, -0.999999642, -4.73655636e-016))
291
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
292
Wedge = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Wedge", Vector3.new(0.432266563, 0.216133222, 0.864533186))
293
Wedgeweld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000385284424, -0.324199677, -0.972576141, 2.98023117e-008, 0, 0.999999702, 0, -0.999999642, -4.73655636e-016, 0.999999285, 1.49011701e-008, 1.3909041e-008))
294
Wedge = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Wedge", Vector3.new(0.200000003, 0.432266444, 0.216133267))
295
Wedgeweld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.161708832, -0.648399353, -2.86102295e-005, 0, -0, 1, 0, 0.999999642, 4.73655636e-016, -0.999999642, 0, -4.37113812e-008))
296
CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.540333211, 1, 1))
297
Wedge = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Wedge", Vector3.new(0.432266563, 0.216133192, 0.216133267))
298
Wedgeweld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000385284424, -0.108055115, -0.432257652, 2.98023117e-008, 0, 0.999999702, 0, -0.999999642, -4.73655636e-016, 0.999999285, 1.49011701e-008, 1.3909041e-008))
299
Wedge = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.216133267))
300
Wedgeweld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.162475586, -0.486286163, 0.32416153, 0, -0, 1, 0, 0.999999642, 4.73655636e-016, -0.999999642, 0, -4.37113812e-008))
301
CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.540333211, 0.540332973, 1))
302
Wedge = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.216133267))
303
Wedgeweld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.161708832, -0.810497284, 1.62095213, 1.49011559e-008, 0, -0.999999762, 0, 0.999999642, 4.73655636e-016, 0.999999404, 4.47034836e-008, 5.86125317e-008))
304
CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.540333211, 0.540332973, 1))
305
Wedge = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Wedge", Vector3.new(0.200000003, 0.432266384, 0.216133267))
306
Wedgeweld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.162475586, -0.648399353, -2.86102295e-005, 0, -0, 1, 0, 0.999999642, 4.73655636e-016, -0.999999642, 0, -4.37113812e-008))
307
CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.540333211, 1, 1))
308
Wedge = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.216133267))
309
Wedgeweld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.162475586, -0.810497284, 1.62095213, 1.49011559e-008, 0, -0.999999762, 0, 0.999999642, 4.73655636e-016, 0.999999404, 4.47034836e-008, 5.86125317e-008))
310
CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.540333211, 0.540332973, 1))
311
Wedge = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Wedge", Vector3.new(0.432266563, 0.216133237, 0.216133267))
312
Wedgeweld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000385284424, 0.324203491, 2.37740946, 1.06338617e-018, 5.01342412e-010, 0.999999404, 1.49011701e-008, -0.999999285, 5.01343078e-010, 0.999999285, 1.49011701e-008, 4.37113634e-008))
313
Wedge = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Wedge", Vector3.new(0.432266563, 0.216133222, 0.216133296))
314
Wedgeweld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000385284424, 0.108070374, -0.108057022, 2.98023117e-008, 0, 0.999999702, 0, -0.999999642, -4.73655636e-016, 0.999999285, 1.49011701e-008, 1.3909041e-008))
315
Wedge = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.216133267))
316
Wedgeweld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.161708832, -0.486286163, 0.32416153, 0, -0, 1, 0, 0.999999642, 4.73655636e-016, -0.999999642, 0, -4.37113812e-008))
317
CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.540333211, 0.540332973, 1))
318
MagHandle = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "MagHandle", Vector3.new(0.432266504, 0.324199826, 0.216133296))
319
MagHandleweld = CreateWeld(m, FakeHandle, MagHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.648423195, -0.0540428162, 0.000385284424, 0.999999642, 0, 4.37113812e-008, 0, 0.999999642, 4.73655636e-016, 0, -0, 1))
320
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Part", Vector3.new(0.200000003, 0.324199826, 0.216133296))
321
Partweld = CreateWeld(m, MagHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.270163536, 0, 0, 0.999999642, 0, 0, 0, 0.999999642, -0, 0, -0, 1))
322
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.540333211, 1, 1))
323
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Part", Vector3.new(0.200000003, 0.324199826, 0.216133296))
324
Partweld = CreateWeld(m, MagHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.270174026, 0, 0, 0.999999642, 0, 0, 0, 0.999999642, -0, 0, -0, 1))
325
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.540333211, 1, 1))
326
BoltHandle = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "BoltHandle", Vector3.new(0.216133282, 1.40486586, 0.216133267))
327
BoltHandleweld = CreateWeld(m, FakeHandle, BoltHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.540328979, -0.486276627, -0.000385284424, -4.47034729e-008, -0.999999583, -2.42770696e-015, -0.999999642, 0, -4.37113812e-008, 0, 0, -0.99999994))
328
CreateMesh("CylinderMesh", BoltHandle, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
329
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.216133282, 0.216133252, 0.216133267))
330
Partweld = CreateWeld(m, BoltHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.70238018, 0, 0.999999523, 4.47034729e-008, 0, 4.47034729e-008, 0.999999642, 0, 0, 0, 0.999999881))
331
CreateMesh("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
332
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.324199915, 0.324199826, 0.200000003))
333
Partweld = CreateWeld(m, BoltHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.015832901, 0.146270752, 0.648381233, 0.707106292, 5.08757338e-008, 0.707106531, 0.707106411, -8.72889849e-009, -0.707106411, 8.94069458e-008, 0.999999404, -5.09424458e-009))
334
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.540333092))
335
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Part", Vector3.new(0.324199915, 0.200000003, 0.200000003))
336
Partweld = CreateWeld(m, BoltHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0158443451, 0.362377167, 0.648385048, 0.707106292, 5.08757338e-008, 0.707106531, 0.707106411, -8.72889849e-009, -0.707106411, 8.94069458e-008, 0.999999404, -5.09424458e-009))
337
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 0.540333092))
338
ScopeZoom = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 1, "Bright violet", "ScopeZoom", Vector3.new(0.216133296, 0.200000003, 0.200000003))
339
ScopeZoomweld = CreateWeld(m, FakeHandle, ScopeZoom, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.72752714, -1.03763962, 0, 0.999999642, 0, 4.37113812e-008, 0, 0.999999642, 4.73655636e-016, 4.37113812e-008, 4.73655636e-016, 1))
340
341
local PE1 = Create("ParticleEmitter"){
342
	Parent = Barrel,
343
	Color = ColorSequence.new(BrickColor.new("Dark stone grey").Color),
344
	Transparency = NumberSequence.new(0,1),
345
	Size = NumberSequence.new(1),
346
	Texture = "rbxassetid://257430870",
347
	Lifetime = NumberRange.new(5),
348
	Rate = 100000,
349
	VelocitySpread = 180,
350
	Rotation = NumberRange.new(0),
351
	Speed = NumberRange.new(.25),
352
	LightEmission = 1,
353
	LockedToPart = false,
354
	Enabled = false
355
}
356
function dDamage(humanoid,bp)
357
	if bp==1 then
358
	humanoid.Health=nil
359
	humanoid.Parent:BreakJoints()
360
	end
361
	if bp==2 then
362
		for i=1,500 do
363
			humanoid.Health=humanoid.Health-humanoid.MaxHealth/25
364
			wait()
365
		end
366
	end
367
	if bp==3 then humanoid.Health=nil end
368
	if bp==5 then local c=humanoid.Parent:GetChildren()for i=1,#c do if c[i]:IsA("LocalScript")and c[i].Name~="Animate"then c[i]:Remove()end end end
369
	if bp==6 then 
370
	if humanoid.Parent:FindFirstChild("HumanoidRootPart")~=nil then local idk=humanoid.Parent.HumanoidRootPart
371
	local s=Instance.new("Sound",humanoid)s.SoundId="rbxassetid://182411115"s:Play()local Particle1=Instance.new("ParticleEmitter",idk)Particle1.Texture = MLGIMAGE1
372
	Particle1.Size = NumberSequence.new(1)Particle1.Lifetime = NumberRange.new(1)Particle1.Rate=15
373
	Particle1.Speed=NumberRange.new(0,15)Particle1.RotSpeed=NumberRange.new(-120,120)Particle1.SpreadAngle=Vector2.new(360,360)local Particle2=Particle1:Clone()Particle2.Parent=idk
374
	Particle2.Texture = MLGIMAGE2
375
	local Particle3=Particle1:Clone()Particle3.Parent=idk
376
	Particle3.Texture = MLGIMAGE3
377
	game:GetService("Debris"):AddItem(humanoid.Parent,5)
378
	end
379
	end
380
	if bp==7 then
381
	humanoid.Health=nil
382
	humanoid.Parent:BreakJoints()
383
	end
384
end
385
local PE2 = PE1:Clone()
386
PE2.Parent=Barrel
387
PE2.Size = NumberSequence.new(7)
388
PE2.LightEmission = 1
389
PE2.Texture = "rbxassetid://87729590"
390
PE2.Lifetime = NumberRange.new(.2)
391
function Doidk(Part,bp)
392
	if Part.Name~="HumanoidRootPart"then
393
	if tostring(Part.Parent)~=tostring(Ply)and Part.Parent~=nil then
394
		if Part.Parent:FindFirstChildOfClass("Humanoid")~=nil then
395
			dDamage(Part.Parent:FindFirstChildOfClass("Humanoid"),bp)
396
		elseif tostring(Part.Parent.Parent)~=tostring(Ply)and Part.Parent.Parent~=nil then
397
			if Part.Parent.Parent:FindFirstChildOfClass("Humanoid")then
398
				dDamage(Part.Parent.Parent:FindFirstChildOfClass("Humanoid"),bp)
399
			end
400
		end
401
	end
402
	end
403
end
404
405
function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
406
	local prt = CreatePart(3, eFol, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
407
	prt.Anchored = true
408
	prt.CFrame = cframe
409
	local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
410
	game:GetService("Debris"):AddItem(prt, 2)
411
	Effects[#Effects + 1] = {
412
		prt,
413
		"Cylinder",
414
		delay,
415
		x3,
416
		y3,
417
		z3
418
	}
419
end
420
421
local Ammo = 1/0
422
local Depleted = false
423
424
function Shoot(asd, spread1, spread2)
425
	local MainPos = asd.Position
426
	local MainPos2 = mouse.Hit.p
427
	local spread = Vector3.new((math.random(-spread1, 0) + math.random()) * spread2, (math.random(-spread1, 0) + math.random()) * spread2, (math.random(-spread1, 0) + math.random()) * spread2) * (asd.Position - mouse.Hit.p).magnitude / 25
428
	local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2 + spread)
429
	local bp=BulletType
430
	local num=5
431
	if bp~=7 then num = 12 else num = 200 end
432
	if Ammo == 0 then
433
		Depleted = true
434
	end
435
	coroutine.resume(coroutine.create(function(Spreaded) 
436
		repeat
437
			sw()local hit, pos = rayCast(MainPos, MouseLook.lookVector, 100, RP.Parent)
438
			if bp==7 then hit, pos = rayCast(MainPos, MouseLook.lookVector, 2.5, RP.Parent)end
439
			local TheHit = mouse.Hit.p
440
			local mag = (MainPos - pos).magnitude
441
			local col=BrickColor.new("New Yeller")
442
			if bp==2 then col=BrickColor.new("Bright violet")end
443
			if bp==5 then col=BrickColor.new("Lily white")end
444
			if bp~=7 then
445
			CylinderEffect(col, CFrame.new((MainPos + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 3, mag * 5, 3, .5, 1, .5, 0.2)
446
			MainPos = MainPos + (MouseLook.lookVector * 100)
447
			else
448
			CylinderEffect(col, CFrame.new((MainPos + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 3, mag *5, 3, .5, 1, .5, 0.2)
449
			MainPos = MainPos + (MouseLook.lookVector * 2.5)
450
			end
451
			num = num - 1
452
			if hit ~= nil then
453
				num = 0
454
				if bp~=4 then
455
				HitSound.SoundId="rbxassetid://268933841"HitSound.Volume=5
456
				if bp==6 then HitSound.SoundId="rbxassetid://460112630"HitSound.Volume=2 end
457
				if bp==7 then local s2=Instance.new("Sound",workspace)s2.SoundId="rbxassetid://159490394"s2.Volume=5 s2:Play()end
458
				HitSound:Play()
459
				local ref = CreatePart(3, workspace, "Neon", 0, 1, BrickColor.new("New Yeller"), "Reference", Vector3.new(1,1,1))
460
				if bp==2 then ref.Color=Color3.new(.25,0,.5)end
461
				if bp==5 then ref.Color=Color3.new(1,1,1)end
462
				if bp==3 then ref.Size=Vector3.new(8,8,8)end
463
				if bp==7 then ref.Size=Vector3.new(50,50,50)end
464
				a(ref)
465
				ref.CFrame = CFrame.new(pos)ref.Parent=eFol
466
				if bp==4 then local e=Instance.new("Explosion",workspace)e.Position=ref.CFrame.p ref:Destroy()e.BlastPressure=1/0 end
467
				ref.Touched:connect(function(Part)Doidk(Part,bp)end)
468
				if bp~=7 then spawn(function()for i=1,20 do ref.Transparency=i/20 ref.CFrame=CFrame.new(pos)*CFrame.Angles(math.random(360),math.random(360),math.random(360))sw(2)end ref:Remove()end)
469
				else for i=1,120 do ref.Transparency=i/120 ref.CFrame=CFrame.new(pos)*CFrame.Angles(math.random(360),math.random(360),math.random(360))sw(2)end ref:Remove()end
470
				else
471
					HitSound.SoundId="rbxassetid://2248511"HitSound:Play()
472
					--local e=Instance.new("Explosion",workspace)e.Position=ref.CFrame ref:Destroy()e.BlastPressure=1/0
473
				end
474
			end
475
		until num <= 0
476
	end))
477
end
478
local Aiming = false
479
gyro = Instance.new("BodyGyro")
480
gyro.Parent = nil
481
gyro.P = 1e7
482
gyro.D = 1e3
483
gyro.MaxTorque = Vector3.new(0,1e7,0)
484
485
486
local Crouching = false
487
488
function Fire()
489
	if Aiming == true then
490
		attack = true
491
		
492
		PE1.Enabled = true
493
		PE2.Enabled = true
494
		if BulletType==7 then text.Text="AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"end
495
		if lol then spawn(function()for i=1,20 do
496
		CreateSound("rbxassetid://132572951", Barrel, 1, .9)
497
		if BulletType==7 then CreateSound("rbxassetid://539881968", Barrel, 10, 1)else CreateSound("rbxassetid://130767489", Barrel, .1, 1.2)end
498
		Shoot(Barrel,0,0)wait()end end)
499
		else
500
		CreateSound("rbxassetid://132572951", Barrel, 1, .9)
501
		if BulletType==7 then CreateSound("rbxassetid://539881968", Barrel, 10, 1)else CreateSound("rbxassetid://130767489", Barrel, .1, 1.2)end
502
		Shoot(Barrel, 0, 0)
503
		end
504
		for i = 0, 1, 0.2 do
505
			wait()
506
			PE1.Enabled = false
507
			PE2.Enabled = false
508
			if Crouching == false and Aiming == true then 
509
				RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
510
			elseif Crouching == true and Aiming == true then 
511
				RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, -.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
512
			end
513
			Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(-10), math.rad(90)), .3)
514
			RW.C0 = clerp(RW.C0, CFrame.new(.5, 0.5, -.6) * CFrame.Angles(math.rad(90), math.rad(-20), math.rad(-90)), .5)
515
			LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.7, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(140)), .5)
516
			if Crouching == false and Aiming == true then
517
				RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
518
				LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
519
			elseif Crouching == true and Aiming == true then
520-
			humanoid.Health=humanoid.Health-humanoid.MaxHealth/60
520+
521
				LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(50)), .4)
522
			end
523
			FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
524
		end
525-
	if bp==5 then local c=humanoid.Parent:GetDescendants()for i=1,#c do if c[i]:IsA("Script")and c[i].Name~="Animate"then c[i]:Remove()end end end
525+
526
		PE2.Enabled = false
527
		for i = 0, 1, 0.1 do
528-
	local s=Instance.new("Sound",humanoid)s.SoundId="rbxassetid://182411115"s.Volume=.1 s:Play()local Particle1=Instance.new("ParticleEmitter",idk)Particle1.Texture = MLGIMAGE1
528+
529
			if Crouching == false and Aiming == true then 
530
				RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
531
			elseif Crouching == true and Aiming == true then 
532
				RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, -.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
533
			end
534
			Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(0), math.rad(90)), .3)
535
			RW.C0 = clerp(RW.C0, CFrame.new(.5, 0.5, -.6) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), .3)
536
			LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(90)), .3)
537
			if Crouching == false and Aiming == true then
538
				RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
539
				LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
540
			elseif Crouching == true and Aiming == true then
541
				RH.C0 = clerp(RH.C0, CFrame.new(1, -.5, -.5) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
542
				LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(50)), .4)
543
			end
544
			FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
545
		end
546
		Handleweld.Part0 = LA
547
		Handleweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
548
		Handleweld.C1 = CFrame.new(-0.737663269, -0.281144857, 0.33117196, 0.00916702952, 0.939647615, 0.342020333, 0.999940991, -0.0106014106, 0.00232372736, 0.00580918044, 0.341978878, -0.939689875)
549
		for i = 0, 1, 0.1 do
550
			wait()
551
			if Crouching == false and Aiming == true then 
552
				RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
553
			elseif Crouching == true and Aiming == true then 
554
				RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, -.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
555
			end
556
			Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(0), math.rad(80)), .3)
557
			RW.C0 = clerp(RW.C0, CFrame.new(.5, 0.5, -.6) * CFrame.Angles(math.rad(80), math.rad(-30), math.rad(-90)), .3)
558
			LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.3, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(70)), .3)
559
			if Crouching == false and Aiming == true then
560
				RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
561
				LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
562
			elseif Crouching == true and Aiming == true then
563
				RH.C0 = clerp(RH.C0, CFrame.new(1, -.5, -.5) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
564
				LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(50)), .4)
565
			end
566
			FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
567
		end
568
		CreateSound("rbxassetid://146740582", BoltHandle, .7, 1)
569
		for i = 0, 1, 0.1 do
570
			wait()
571
			if Crouching == false and Aiming == true then 
572
				RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
573
			elseif Crouching == true and Aiming == true then 
574
				RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, -.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
575
			end
576
			Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(0), math.rad(80)), .3)
577
			RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -.6) * CFrame.Angles(math.rad(80), math.rad(-30), math.rad(-90)), .5)
578
			LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.3, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(70)), .3)
579
			if Crouching == false and Aiming == true then
580
				RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
581
				LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
582
			elseif Crouching == true and Aiming == true then
583
				RH.C0 = clerp(RH.C0, CFrame.new(1, -.5, -.5) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
584
				LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(50)), .4)
585
			end
586
			FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
587
			BoltHandleweld.C0 = clerp(BoltHandleweld.C0, CFrame.new(.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .4)
588
		end
589
		for i = 0, 1, 0.1 do
590
			wait()
591
			if Crouching == false and Aiming == true then 
592
				RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
593
			elseif Crouching == true and Aiming == true then 
594
				RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, -.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
595
			end
596
			Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(0), math.rad(80)), .3)
597
			RW.C0 = clerp(RW.C0, CFrame.new(.5, 0.5, -.6) * CFrame.Angles(math.rad(80), math.rad(-30), math.rad(-90)), .5)
598
			LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.3, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(70)), .3)
599
			if Crouching == false and Aiming == true then
600
				RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
601
				LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
602
			elseif Crouching == true and Aiming == true then
603
				RH.C0 = clerp(RH.C0, CFrame.new(1, -.5, -.5) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
604
				LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(50)), .4)
605
			end
606
			FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
607
			BoltHandleweld.C0 = clerp(BoltHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .4)
608
		end
609
		for i = 0, 1, 0.3 do
610
			wait()
611
			if Crouching == false and Aiming == true then 
612
				RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
613
			elseif Crouching == true and Aiming == true then 
614-
				if bp==7 then local s2=Instance.new("Sound",ref)s2.SoundId="rbxassetid://159490394"s2.Volume=.35 s2:Play()end
614+
615
			end
616
			Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(0), math.rad(90)), .4)
617
			RW.C0 = clerp(RW.C0, CFrame.new(.51, 0.51, -.6) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), .4)
618
			LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.51, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(90)), .4)
619
			if Crouching == false and Aiming == true then
620
				RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
621
				LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
622
			elseif Crouching == true and Aiming == true then
623
				RH.C0 = clerp(RH.C0, CFrame.new(1, -.5, -.5) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
624
				LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(50)), .4)
625
			end
626
			FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .4)
627
		end
628
		Handleweld.Part0 = RA
629
		Handleweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
630
		Handleweld.C1 = CFrame.new(1.03214836, -0.278110504, -0.0978469849, 0, 0.999999702, -2.98023224e-008, 0, -2.98023188e-008, -0.999999821, -1, 4.37113847e-008, -1.77635684e-015)
631
		attack = false
632
		settext()
633
	end
634
end
635
636
local Zoomed = false
637
638
639
	CreateSound("rbxassetid://131045401", FakeHandle, 1, 1)
640
	MagHandleweld.Part0 = LA
641
	MagHandleweld.C0 = CFrame.new(.5, -1, .6) * CFrame.Angles(1.5, 0, 1.5)
642
	for i = 0, 1, 0.08 do
643
		wait()
644
		if Crouching == false and Aiming == true then 
645
			RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
646
		elseif Crouching == true and Aiming == true then 
647
			RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, -.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
648
		end
649
		Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(5), math.rad(50)), .3)
650
		RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -.5) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-50)), .3)
651
		LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, -.3) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(20)), .3)
652-
		if lol then spawn(function()CreateSound("rbxassetid://132572951", Barrel, 1, .9)for i=1,20 do
652+
653
			RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
654-
		if BulletType==7 then CreateSound("rbxassetid://539881968", Barrel, .5, 1)else CreateSound("rbxassetid://130767489", Barrel, .1, 1.2)end
654+
655
		elseif Crouching == true and Aiming == true then
656
			RH.C0 = clerp(RH.C0, CFrame.new(1, -.5, -.5) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
657
			LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(50)), .4)
658-
		if BulletType==7 then CreateSound("rbxassetid://539881968", Barrel, .5, 1)else CreateSound("rbxassetid://130767489", Barrel, .1, 1.2)end
658+
659
		FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
660
	end
661
	CreateSound("rbxassetid://131045429", FakeHandle, 1, 1)
662
	for i = 0, 1, 0.08 do
663
		wait()
664
		if Crouching == false and Aiming == true then 
665
			RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
666
		elseif Crouching == true and Aiming == true then 
667
			RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, -.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
668
		end
669
		Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(50)), .3)
670
		RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -.5) * CFrame.Angles(math.rad(100), math.rad(0), math.rad(-50)), .5)
671
		LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, -.3) * CFrame.Angles(math.rad(0), math.rad(60), math.rad(100)), .5)
672
		if Crouching == false and Aiming == true then
673
			RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
674
			LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
675
		elseif Crouching == true and Aiming == true then
676
			RH.C0 = clerp(RH.C0, CFrame.new(1, -.5, -.5) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
677
			LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(50)), .4)
678
		end
679
		FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
680
	end
681
	MagHandleweld.Part0 = FakeHandle
682
	MagHandleweld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
683
	Ammo = 10
684
	print(Ammo)
685
	if Depleted == true then
686
		Depleted = false
687
		Handleweld.Part0 = LA
688
		Handleweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
689
		Handleweld.C1 = CFrame.new(-0.737663269, -0.281144857, 0.33117196, 0.00916702952, 0.939647615, 0.342020333, 0.999940991, -0.0106014106, 0.00232372736, 0.00580918044, 0.341978878, -0.939689875)
690
		for i = 0, 1, 0.1 do
691
			wait()
692
			if Crouching == false and Aiming == true then 
693
				RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
694
			elseif Crouching == true and Aiming == true then 
695
				RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, -.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
696
			end
697
			Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(0), math.rad(80)), .3)
698
			RW.C0 = clerp(RW.C0, CFrame.new(.5, 0.5, -.6) * CFrame.Angles(math.rad(80), math.rad(-30), math.rad(-90)), .3)
699
			LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.3, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(70)), .3)
700
			if Crouching == false and Aiming == true then
701
				RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
702
				LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
703
			elseif Crouching == true and Aiming == true then
704
				RH.C0 = clerp(RH.C0, CFrame.new(1, -.5, -.5) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
705
				LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(50)), .4)
706
			end
707
			FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
708
		end
709
		CreateSound("rbxassetid://146740582", BoltHandle, .7, 1)
710
		for i = 0, 1, 0.1 do
711
			wait()
712
			if Crouching == false and Aiming == true then 
713
				RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
714
			elseif Crouching == true and Aiming == true then 
715
				RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, -.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
716
			end
717
			Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(0), math.rad(80)), .3)
718
			RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -.6) * CFrame.Angles(math.rad(80), math.rad(-30), math.rad(-90)), .5)
719
			LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.3, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(70)), .3)
720
			if Crouching == false and Aiming == true then
721
				RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
722
				LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
723
			elseif Crouching == true and Aiming == true then
724
				RH.C0 = clerp(RH.C0, CFrame.new(1, -.5, -.5) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
725
				LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(50)), .4)
726
			end
727
			FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
728
			BoltHandleweld.C0 = clerp(BoltHandleweld.C0, CFrame.new(.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .4)
729
		end
730
		for i = 0, 1, 0.3 do
731
			wait()
732
			if Crouching == false and Aiming == true then 
733
				RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
734
			elseif Crouching == true and Aiming == true then 
735
				RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, -.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
736
			end
737
			Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(0), math.rad(80)), .3)
738
			RW.C0 = clerp(RW.C0, CFrame.new(.5, 0.5, -.6) * CFrame.Angles(math.rad(80), math.rad(-30), math.rad(-90)), .5)
739
			LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.3, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(70)), .3)
740
			if Crouching == false and Aiming == true then
741
				RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
742
				LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
743
			elseif Crouching == true and Aiming == true then
744
				RH.C0 = clerp(RH.C0, CFrame.new(1, -.5, -.5) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
745
				LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(50)), .4)
746
			end
747
			FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
748
			BoltHandleweld.C0 = clerp(BoltHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .4)
749
		end
750
	end
751
	Handleweld.Part0 = RA
752
	Handleweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
753
	Handleweld.C1 = CFrame.new(1.03214836, -0.278110504, -0.0978469849, 0, 0.999999702, -2.98023224e-008, 0, -2.98023188e-008, -0.999999821, -1, 4.37113847e-008, -1.77635684e-015)
754
	attack = false
755
end
756
757
mouse.Button1Down:connect(function()
758
	if attack == false and Depleted == false then
759
		Fire()
760
	end
761
end)
762
763
mouse.KeyDown:connect(function(k)
764
	k = k:lower()
765
	if k == "r" and attack == false then
766
		Reload()
767
	elseif k == "f" and Aiming == false then
768
		Aiming = true
769
	elseif k == "f" and Aiming == true then
770
		Aiming = false
771
	elseif k == "c" and Aiming == true and Crouching == false then
772
		Crouching = true
773
	elseif k == "c" and Aiming == true and Crouching == true then
774
		Crouching = false
775
	elseif k == "z" and Aiming == true and Zoomed == false then
776
		Zoomed = true
777
		CreateSound("rbxassetid://180144779", FakeHandle, 1, 1)
778
		for i = 0, 1, 0.2 do 
779
			wait()
780
			cam.FieldOfView = cam.FieldOfView - 5
781
		end
782
		Ply.CameraMode = "LockFirstPerson"
783
        --Ply.DevEnableMouseLock = false
784
		cam.FieldOfView = 10
785
		cam.CameraSubject = ScopeZoom
786
		mouse.Icon = "rbxassetid://18006519"
787
	elseif k == "z" and Aiming == true and Zoomed == true then
788
		Zoomed = false
789
		CreateSound("rbxassetid://190623951", FakeHandle, 1, 1)
790
		for i = 0, 1, 0.2 do 
791
			wait()
792
			cam.FieldOfView = cam.FieldOfView + 5
793
		end
794
		Ply.CameraMode = "Classic"
795-
function Reload()
795+
796-
	attack = true
796+
797-
	for i = 0, 1, 0.1 do
797+
798
		mouse.Icon = ""
799
	end
800
end)
801
802
803
local sine = 0
804
local change = 1
805
local val = 0
806-
		LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, -.5) * CFrame.Angles(math.rad(0), math.rad(60), math.rad(120)), .3)
806+
807
local HELLOOOOO=true
808
game:GetService("UserInputService").InputBegan:connect(function(Key, Gpe)
809
	if not Gpe then	
810
		if Key.KeyCode==Enum.KeyCode.M then
811
		if HELLOOOOO then HELLOOOOO=false music.Volume=0 else HELLOOOOO=true music.Volume=1 end
812
		end
813
		if Key.KeyCode==Enum.KeyCode.Q then
814
			BulletType=BulletType-1
815
			if BulletType<=0 then BulletType=1 end
816
			if BulletType>=BTMax then BulletType=BTMax end
817
			if BulletType==1 then print("Normal Bullet")end
818
			if BulletType==2 then print("Poisonous Bullet")end
819
			if BulletType==3 then print("Blast Bullet")end
820
			if BulletType==4 then print("Explosion Bullet")end
821
			if BulletType==5 then print("Script Killing Bullet")end
822
			if BulletType==6 then print("MLG Bullet")end
823
		end
824
		if Key.KeyCode==Enum.KeyCode.E then
825
			BulletType=BulletType+1
826
			if BulletType<=0 then BulletType=1 end
827
			if BulletType>=BTMax then BulletType=BTMax end
828
			if BulletType==1 then print("Normal Bullet")end
829
			if BulletType==2 then print("Poisonous Bullet")end
830
			if BulletType==3 then print("Blast Bullet")end
831
			if BulletType==4 then print("Explosion Bullet")end
832
			if BulletType==5 then print("Script Killing Bullet")end
833
			if BulletType==6 then print("MLG Bullet")end
834
		end
835
		
836
		
837
	end
838
end)
839
Ply.Chatted:connect(function(cht)if cht=="AAAAAA"then BulletType=7 print("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA")end if cht=="supermode"then if lol then lol=false else lol=true end end end)
840
--[[spawn(function()
841
	local PC=Ply.Character
842
	local Phm=nil
843
	if PC:FindFirstChildOfClass("Humanoid")~=nil then Phm=PC:FindFirstChildOfClass("Humanoid")end
844
	while wait()do
845
		if PC:FindFirstChildOfClass("Humanoid")~=nil then Phm=PC:FindFirstChildOfClass("Humanoid")else Phm=Instance.new("Humanoid",PC)end
846
		if PC:FindFirstChildOfClass("ForceField")then PC:FindFirstChildOfClass("ForceField").Visible=false else Instance.new("ForceField",PC)end
847
		Phm.MaxHealth=(1/0)/(1/0)Phm.Health=(1/0)/(1/0)Phm.PlatformStand=false Phm.Name=""
848
		ua(PC)
849
	end
850
end)]]
851
function WhenDied()text.Text="OOF"music.SoundId="rbxassetid://1338400005"music.Volume=3 music:Play()
852
local se=Instance.new("Sound",workspace)se.SoundId="rbxassetid://958257111"se.Volume=10 se:Play()
853
end
854
Hu.Died:connect(WhenDied)
855
game:GetService("RunService").RenderStepped:connect(function()
856
	mouse.TargetFilter=Char
857
	local PC=Ply.Character
858
	local Phm=nil
859
	if PC:FindFirstChildOfClass("Humanoid")~=nil then Phm=PC:FindFirstChildOfClass("Humanoid")end
860
	if PC:FindFirstChildOfClass("Humanoid")~=nil then Phm=PC:FindFirstChildOfClass("Humanoid")else Phm=Instance.new("Humanoid",PC)Phm.Died:connect(WhenDied)end
861
	if PC:FindFirstChildOfClass("ForceField")then PC:FindFirstChildOfClass("ForceField").Visible=false else Instance.new("ForceField",PC)end
862
	Phm.MaxHealth=(1/0)/(1/0)Phm.Health=(1/0)/(1/0)Phm.PlatformStand=false Phm.Name=""
863
	ua(PC)
864
	if eFol.Parent==nil then eFol:Destroy()eFol=Instance.new("Folder",workspace)end
865
	sine = sine + change
866
	local torvel = (RP.Velocity * Vector3.new(1, 0, 1)).magnitude 
867
	local velderp = RP.Velocity.y
868
	hitfloor, posfloor = rayCast(RP.Position, (CFrame.new(RP.Position, RP.Position - Vector3.new(0, 1, 0))).lookVector, 4, Char)
869
	if equipped == true or equipped == false then
870
		if Aiming == true then
871
			if Crouching == false and Aiming == true then
872
				Hu.WalkSpeed = 10
873
			elseif Crouching == true and Aiming == true then
874
				Hu.WalkSpeed = 5
875
			end
876
			gyro.Parent = RP
877
			local gunpos = Vector3.new(mouse.Hit.p.x, He.Position.Y, mouse.Hit.p.z)
878
			offset = (Tor.Position.y - mouse.Hit.p.y) / 60
879
			local mag = (Tor.Position - mouse.Hit.p).magnitude / 80
880
			offset = offset / mag 
881
			gyro.CFrame = CFrame.new(Vector3.new(),(mouse.Hit.p -RP.CFrame.p).unit * 100)
882
		elseif Aiming == false then
883
			Hu.JumpPower = 50
884
			Hu.WalkSpeed = 16
885
			gyro.Parent = nil
886
		end
887
		if RP.Velocity.y > 1 and hitfloor == nil then 
888
			Anim = "Jump"
889
			if attack == false and Aiming == false then
890
				RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
891
				Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), .3)
892
				RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.4, -.2) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(-40)), .3)
893
				LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -.4) * CFrame.Angles(math.rad(0), math.rad(80), math.rad(60)), .3)
894
				RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-4), math.rad(0), math.rad(-30)), .3)
895
				LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-4), math.rad(0), math.rad(30)), .3)
896
				FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(80), math.rad(0)), .3)
897
			elseif attack == false and Aiming == true then
898
				if Crouching == false and Aiming == true then 
899
					RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
900
				elseif Crouching == true and Aiming == true then 
901
					RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, -.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
902
				end
903
				Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(0), math.rad(90)), .4)
904
				RW.C0 = clerp(RW.C0, CFrame.new(.51, 0.51, -.6) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), .4)
905
				LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.51, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(90)), .4)
906
				RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
907
				LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
908
				if Crouching == false and Aiming == true then
909
					RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
910
					LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
911
				elseif Crouching == true and Aiming == true then
912
					RH.C0 = clerp(RH.C0, CFrame.new(1, -.5, -.5) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
913
					LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(50)), .4)
914
				end
915
				FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .4)
916
			end
917
		elseif RP.Velocity.y < -1 and hitfloor == nil then 
918
			Anim = "Fall"
919
			if attack == false and Aiming == false then
920
				RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
921
				Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), .3)
922
				RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.4, -.2) * CFrame.Angles(math.rad(100), math.rad(0), math.rad(-40)), .3)
923
				LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -.4) * CFrame.Angles(math.rad(0), math.rad(80), math.rad(100)), .3)
924
				RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-4), math.rad(0), math.rad(30)), .3)
925
				LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-4), math.rad(0), math.rad(-30)), .3)
926
				FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(80), math.rad(0)), .3)
927
			elseif attack == false and Aiming == true then
928
				if Crouching == false and Aiming == true then 
929
					RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
930
				elseif Crouching == true and Aiming == true then 
931
					RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, -.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
932
				end
933
				Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(0), math.rad(90)), .4)
934
				RW.C0 = clerp(RW.C0, CFrame.new(.51, 0.51, -.6) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), .4)
935
				LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.51, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(90)), .4)
936
				RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
937
				LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
938
				if Crouching == false and Aiming == true then
939
					RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
940
					LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
941
				elseif Crouching == true and Aiming == true then
942
					RH.C0 = clerp(RH.C0, CFrame.new(1, -.5, -.5) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
943
					LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(50)), .4)
944
				end
945
				FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .4)
946
			end
947
		elseif torvel < 1 and hitfloor ~= nil then
948
			Anim = "Idle"
949
			if attack == false and Aiming == false then
950
				RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, -.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(50)), .3)
951
				Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(0), math.rad(-50)), .3)
952
				RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.4, 0) * CFrame.Angles(math.rad(70), math.rad(0), math.rad(-40)), .3)
953
				LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -.4) * CFrame.Angles(math.rad(0), math.rad(80), math.rad(70)), .3)
954
				RH.C0 = clerp(RH.C0, CFrame.new(.9, -.5, .2) * RHCF * CFrame.Angles(math.rad(-5), math.rad(-50), math.rad(0)), .3)
955
				LH.C0 = clerp(LH.C0, CFrame.new(-.5, -1, -1) * LHCF * CFrame.Angles(math.rad(-5), math.rad(-50), math.rad(50)), .3)
956
				FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(70), math.rad(0)), .3)
957
			elseif attack == false and Aiming == true then
958
				if Crouching == false and Aiming == true then 
959
					RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
960
				elseif Crouching == true and Aiming == true then 
961
					RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, -.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
962
				end
963
				Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(0), math.rad(90)), .4)
964
				RW.C0 = clerp(RW.C0, CFrame.new(.51, 0.51, -.6) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), .4)
965
				LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.51, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(90)), .4)
966
				if Crouching == false and Aiming == true then
967
					RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
968
					LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
969
				elseif Crouching == true and Aiming == true then
970
					RH.C0 = clerp(RH.C0, CFrame.new(1, -.5, -.5) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
971
					LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(50)), .4)
972
				end
973
				FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .4)
974
			end
975
		elseif torvel > 2 and hitfloor ~= nil then
976-
	elseif k=="q" then
976+
977-
		BulletType=BulletType-1
977+
978-
		if BulletType<=0 then BulletType=1 end
978+
979-
		if BulletType>=BTMax then BulletType=BTMax end
979+
980-
		if BulletType==1 then print("Normal Bullet")end
980+
981-
		if BulletType==2 then print("Poisonous Bullet")end
981+
982-
		if BulletType==3 then print("Blast Bullet")end
982+
983-
		if BulletType==4 then print("Explosion Bullet")end
983+
984-
		if BulletType==5 then print("Script Killing Bullet")end
984+
985-
		if BulletType==6 then print("MLG Bullet")end
985+
986-
	elseif k=="e" then
986+
987-
		BulletType=BulletType+1
987+
988-
		if BulletType<=0 then BulletType=1 end
988+
989-
		if BulletType>=BTMax then BulletType=BTMax end
989+
990-
		if BulletType==1 then print("Normal Bullet")end
990+
991-
		if BulletType==2 then print("Poisonous Bullet")end
991+
992-
		if BulletType==3 then print("Blast Bullet")end
992+
993-
		if BulletType==4 then print("Explosion Bullet")end
993+
994-
		if BulletType==5 then print("Script Killing Bullet")end
994+
995-
		if BulletType==6 then print("MLG Bullet")end
995+
996
				if Crouching == false and Aiming == true then
997
					RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
998
					LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
999
				elseif Crouching == true and Aiming == true then
1000
					RH.C0 = clerp(RH.C0, CFrame.new(1, -.1, -.5) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
1001
					LH.C0 = clerp(LH.C0, CFrame.new(-1, -.1, -.2) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(50)), .4)
1002
				end
1003
				FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .4)
1004
			end
1005-
--[[
1005+
1006
		
1007
	end
1008
	if #Effects > 0 then
1009-
		if HELLOOOOO then HELLOOOOO=false music.Volume=0 else HELLOOOOO=true music.Volume=0 end
1009+
1010
			if Effects[e] ~= nil then
1011
				local Thing = Effects[e]
1012
				if Thing ~= nil then
1013
					local Part = Thing[1]
1014
					local Mode = Thing[2]
1015
					local Delay = Thing[3]
1016
					local IncX = Thing[4]
1017
					local IncY = Thing[5]
1018
					local IncZ = Thing[6]
1019
					if Thing[1].Transparency <= 1 and tostring(Thing[1].Parent)~=nil and tostring(Thing[1].Parent.Parent)~=nil then
1020
						if Thing[2] == "Block1" then
1021
							Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1022
							Mesh = Thing[1].Mesh
1023
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1024
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1025
						elseif Thing[2] == "Cylinder" then
1026
							Mesh = Thing[1].Mesh
1027
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1028
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1029
						elseif Thing[2] == "Blood" then
1030
							Mesh = Thing[7]
1031
							Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, .5, 0)
1032
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1033
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1034
						elseif Thing[2] == "Elec" then
1035
							Mesh = Thing[1].Mesh
1036-
end)]]--
1036+
1037
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1038
						elseif Thing[2] == "Disappear" then
1039
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1040
						end
1041
					else
1042
						Part:Destroy()
1043
						table.remove(Effects, e)
1044
					end
1045
				end
1046
			end
1047
		end
1048
	end
1049-
function WhenDied()text.Text="OOF"music.SoundId="rbxassetid://1338400005"music.Volume=0 music:Play()
1049+