View difference between Paste ID: bsMsKTQ8 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
10+
Ply = game:FindFirstChildOfClass("Players").LocalPlayer lol=false
11-
local _Mouse
11+
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+
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
LS = Tor["Left Shoulder"] 
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
Combo = 1
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
attack = false
32-
			this.Functions[i] = f
32+
33-
			return setmetatable({this,i},Disconnect_Metatable)
33+
34
Effects = { }
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
local RbxUtility = LoadLibrary("RbxUtility")
40
local Create = RbxUtility.Create
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
	Parent = Char,
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
LS.Parent = nil 
58
local txt=Instance.new("BillboardGui",Char)
59-
	FakeMouse.TriggerEvent = TriggerEvent
59+
60-
	UIS.TriggerEvent = TriggerEvent
60+
61
txt.Size=UDim2.new(300, 0, 3, 0)
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+
local music=Instance.new("Sound",script)music.Looped=true music.SoundId="rbxassetid://318072968"music:Play()
73
RW = Create("Weld"){
74-
			if io.UserInputType == Enum.UserInputType.MouseButton2 then
74+
75-
				return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
75+
76
	C0 = CFrame.new(1.5, 0.5, 0),
77-
			for _,t in pairs(CAS.Actions) do
77+
78-
				for _,k in pairs(t.Keys) do
78+
79-
					if k==io.KeyCode then
79+
80-
						t.Function(t.Name,io.UserInputState,io)
80+
81
82
LW = Create("Weld"){
83
	Name = "Left Shoulder",
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
end
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
		Name = Nam,
107-
		--Wait 2 frames
107+
108-
		for i=1,2 do
108+
109-
			HB:Wait()
109+
110
	}
111-
	end]==],script)
111+
112
	return 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
	local Msh = Create(Ms){
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
	end
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
		Parent = Par,
130
		Part0 = PartA,
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
	}
135
	return Weld
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+
end]]--
150-
				self._btrs[name] = self.Heartbeat:Connect(fun)
150+
151-
			end,
151+
function CreateSound(Id,par,Volume,spd)local PL=Ply
152-
			UnbindFromRenderStep = function(self,name)
152+
153-
				self._btrs[name]:Disconnect()
153+
154-
			end,
154+
155-
		},"RunService")
155+
156
function clerp(a, b, t)
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+
	return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) 
162
end 
163
164
Handle = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 1, "Navy blue", "Handle", Vector3.new(0.216133296, 0.432266444, 0.200000003))
165-
local rs=game:GetService("RunService").Heartbeat--RenderStepped
165+
166-
function sw(n)if n==nil then rs:wait()else for i=1,n do rs:wait()end end return true end
166+
167-
Ply = owner-- or game:FindFirstChildOfClass("Players").LocalPlayer
167+
168-
lol=false
168+
169
Barrel = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Smoky grey", "Barrel", Vector3.new(0.324199915, 0.200000003, 0.216133296))
170
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))
171
CreateMesh("CylinderMesh", Barrel, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.567349613, 1))
172
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.324199826, 0.324199826, 0.432266533))
173
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))
174
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.216133282, 0.200000003, 0.200000003))
175
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))
176
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 0.540333092))
177
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(1.08066642, 0.200000003, 0.200000003))
178
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))
179
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 0.540333092))
180
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Part", Vector3.new(0.756466568, 0.200000003, 0.432266533))
181
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))
182
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 1))
183
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.216133296))
184
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))
185
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.540333211, 0.75646615, 1))
186
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(1.40486634, 0.200000003, 0.200000003))
187
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))
188
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 0.540333092))
189
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Part", Vector3.new(0.216133282, 0.324199826, 0.200000003))
190
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))
191
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.540333092))
192
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
193
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))
194
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))
195
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Part", Vector3.new(0.216133282, 0.200000003, 0.216133296))
196
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))
197
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 1))
198
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0.5, "Really black", "Part", Vector3.new(0.432266563, 0.200000003, 0.216133296))
199
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))
200
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 1))
201
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.432266563, 2.48553157, 0.216133296))
202
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))
203
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
204
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Part", Vector3.new(0.216133282, 0.200000003, 0.216133296))
205
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))
206
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 1))
207
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.756466269, 0.432266533))
208
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))
209
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.540333211, 1, 1))
210
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Part", Vector3.new(0.324199975, 0.324199826, 0.200000003))
211
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))
212
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))
213
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(2.485533, 0.216133222, 0.432266533))
214
Partweld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.02665424, -0.324203491, 0.000385284424, 0.999999642, 0, 4.37113812e-008, 0, 0.999999642, 4.73655636e-016, 0, -0, 1))
215
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Part", Vector3.new(2.16133285, 0.200000003, 0.432266533))
216
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))
217
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 1))
218
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.216133282, 0.200000003, 0.200000003))
219
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))
220
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 0.540333092))
221
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.324199975, 0.324199826, 0.200000003))
222
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))
223
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))
224
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Part", Vector3.new(0.324199975, 0.324199826, 0.200000003))
225
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))
226
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))
227
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
228
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))
229
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))
230-
local msclist={}
230+
231-
msclist[1]="173813043"msclist[2]="164147183"msclist[3]="676207025"msclist[4]="904882921"
231+
232-
local mscid=math.random(#msclist)
232+
233-
local music=Instance.new("Sound",script)music.Looped=true music.Volume = 0;music.SoundId="rbxassetid://"..tostring(msclist[mscid])music:Play()
233+
234-
function settext()
234+
235-
if mscid==1 then
235+
236-
text.Text="B.B.K.K.B.B.K"
236+
237-
elseif mscid==2 then
237+
238-
text.Text="An normal sniper but idk"
238+
239-
elseif mscid==3 then
239+
240-
text.Text="this nub is filled with determination"
240+
241-
elseif mscid==4 then
241+
242-
text.Text="THE SUN IS A DEADLY BULLET lol"
242+
243
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))
244
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
245-
end settext()
245+
246-
local eFol=Instance.new("Folder",workspace)
246+
247
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.540333092))
248
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(1.08066642, 0.200000003, 0.200000003))
249
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))
250
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 0.540333092))
251
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Part", Vector3.new(0.324199975, 0.200000003, 0.200000003))
252
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))
253
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 0.540333092))
254
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.864533126, 0.540332973, 0.432266533))
255
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))
256
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(1.40486634, 0.200000003, 0.200000003))
257
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))
258
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 0.540333092))
259
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0.5, "Really black", "Part", Vector3.new(0.432266563, 0.200000003, 0.216133296))
260
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))
261
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 1))
262
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.216134712, 0.216134697, 0.216134712))
263
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))
264
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(1.40486634, 0.200000003, 0.432266533))
265
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))
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.0540428162, -0.486282349, -0.161685944, 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, "Really black", "Part", Vector3.new(0.324199915, 0.756466269, 0.432266533))
271
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))
272
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
273
Wedge = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Wedge", Vector3.new(0.432266563, 0.216133222, 0.864533186))
274
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))
275
Wedge = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Wedge", Vector3.new(0.200000003, 0.432266444, 0.216133267))
276
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))
277
CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.540333211, 1, 1))
278
Wedge = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Wedge", Vector3.new(0.432266563, 0.216133192, 0.216133267))
279
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))
280
Wedge = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.216133267))
281
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))
282
CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.540333211, 0.540332973, 1))
283
Wedge = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.216133267))
284
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))
285
CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.540333211, 0.540332973, 1))
286
Wedge = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Wedge", Vector3.new(0.200000003, 0.432266384, 0.216133267))
287
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))
288
CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.540333211, 1, 1))
289
Wedge = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.216133267))
290
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))
291
CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.540333211, 0.540332973, 1))
292
Wedge = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Wedge", Vector3.new(0.432266563, 0.216133237, 0.216133267))
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.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))
294
Wedge = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Wedge", Vector3.new(0.432266563, 0.216133222, 0.216133296))
295
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))
296
Wedge = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.216133267))
297
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))
298
CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.540333211, 0.540332973, 1))
299
MagHandle = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "MagHandle", Vector3.new(0.432266504, 0.324199826, 0.216133296))
300
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))
301
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Part", Vector3.new(0.200000003, 0.324199826, 0.216133296))
302
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))
303
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.540333211, 1, 1))
304
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Part", Vector3.new(0.200000003, 0.324199826, 0.216133296))
305
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))
306
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.540333211, 1, 1))
307
BoltHandle = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "BoltHandle", Vector3.new(0.216133282, 1.40486586, 0.216133267))
308
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))
309
CreateMesh("CylinderMesh", BoltHandle, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
310
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.216133282, 0.216133252, 0.216133267))
311
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))
312
CreateMesh("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
313
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.324199915, 0.324199826, 0.200000003))
314
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))
315
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.540333092))
316
Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Part", Vector3.new(0.324199915, 0.200000003, 0.200000003))
317
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))
318
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.540332973, 0.540333092))
319
ScopeZoom = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 1, "Bright violet", "ScopeZoom", Vector3.new(0.216133296, 0.200000003, 0.200000003))
320
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))
321
322
local PE1 = Create("ParticleEmitter"){
323
	Parent = Barrel,
324
	Color = ColorSequence.new(BrickColor.new("Dark stone grey").Color),
325
	Transparency = NumberSequence.new(0,1),
326
	Size = NumberSequence.new(1),
327-
--[[function CreateSound(Id,par,Volume,spd)local PL=Ply
327+
328
	Lifetime = NumberRange.new(5),
329
	Rate = 100000,
330
	VelocitySpread = 180,
331-
end ]]
331+
332
	Speed = NumberRange.new(.25),
333
	LightEmission = 1,
334
	LockedToPart = false,
335
	Enabled = false
336
}
337-
	return game:service("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Pos, Dir.unit * (Max or 999.999)), {Ignore,Char}) 
337+
338
	if bp==1 then
339
	humanoid.Health=nil
340
	humanoid.Parent:BreakJoints()
341
	end
342
	if bp==2 then
343
		for i=1,500 do
344
			humanoid.Health=humanoid.Health-humanoid.MaxHealth/25
345
			wait()
346
		end
347
	end
348
	if bp==3 then humanoid.Health=nil end
349
	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
350
	if bp==6 then 
351
	if humanoid.Parent:FindFirstChild("HumanoidRootPart")~=nil then local idk=humanoid.Parent.HumanoidRootPart
352
	local s=Instance.new("Sound",humanoid)s.SoundId="rbxassetid://182411115"s:Play()local Particle1=Instance.new("ParticleEmitter",idk)Particle1.Texture = MLGIMAGE1
353
	Particle1.Size = NumberSequence.new(1)Particle1.Lifetime = NumberRange.new(1)Particle1.Rate=15
354
	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
355
	Particle2.Texture = MLGIMAGE2
356
	local Particle3=Particle1:Clone()Particle3.Parent=idk
357
	Particle3.Texture = MLGIMAGE3
358
	game:GetService("Debris"):AddItem(humanoid.Parent,5)
359
	end
360
	end
361
	if bp==7 then
362
	humanoid.Health=nil
363
	humanoid.Parent:BreakJoints()
364
	end
365
end
366
local PE2 = PE1:Clone()
367
PE2.Parent=Barrel
368
PE2.Size = NumberSequence.new(7)
369
PE2.LightEmission = 1
370
PE2.Texture = "rbxassetid://87729590"
371
PE2.Lifetime = NumberRange.new(.2)
372
function Doidk(Part,bp)
373
	if Part.Name~="HumanoidRootPart"then
374
	if tostring(Part.Parent)~=tostring(Ply)and Part.Parent~=nil then
375
		if Part.Parent:FindFirstChildOfClass("Humanoid")~=nil then
376
			dDamage(Part.Parent:FindFirstChildOfClass("Humanoid"),bp)
377
		elseif tostring(Part.Parent.Parent)~=tostring(Ply)and Part.Parent.Parent~=nil then
378
			if Part.Parent.Parent:FindFirstChildOfClass("Humanoid")then
379
				dDamage(Part.Parent.Parent:FindFirstChildOfClass("Humanoid"),bp)
380
			end
381
		end
382
	end
383
	end
384
end
385
386
function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
387
	local prt = CreatePart(3, Char, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
388
	prt.Anchored = true
389
	prt.CFrame = cframe
390
	local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
391
	game:GetService("Debris"):AddItem(prt, 2)
392
	Effects[#Effects + 1] = {
393
		prt,
394
		"Cylinder",
395
		delay,
396
		x3,
397
		y3,
398
		z3
399
	}
400
end
401
402
local Ammo = 1/0
403
local Depleted = false
404
405
function Shoot(asd, spread1, spread2)
406
	local MainPos = asd.Position
407
	local MainPos2 = mouse.Hit.p
408
	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
409
	local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2 + spread)
410
	local bp=BulletType
411
	local num=5
412
	if bp~=7 then num = 12 else num = 200 end
413
	if Ammo == 0 then
414
		Depleted = true
415
	end
416
	coroutine.resume(coroutine.create(function(Spreaded) 
417
		repeat
418
			wait()local hit, pos = rayCast(MainPos, MouseLook.lookVector, 100, RP.Parent)
419
			if bp==7 then hit, pos = rayCast(MainPos, MouseLook.lookVector, 2.5, RP.Parent)end
420
			local TheHit = mouse.Hit.p
421
			local mag = (MainPos - pos).magnitude
422
			local col=BrickColor.new("New Yeller")
423
			if bp==2 then col=BrickColor.new("Bright violet")end
424
			if bp==5 then col=BrickColor.new("Lily white")end
425
			if bp~=7 then
426
			CylinderEffect(col, CFrame.new((MainPos + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 3, mag * 5, 3, .5, 1, .5, 0.2)
427
			MainPos = MainPos + (MouseLook.lookVector * 100)
428
			else
429
			CylinderEffect(col, CFrame.new((MainPos + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 3, mag *5, 3, .5, 1, .5, 0.2)
430
			MainPos = MainPos + (MouseLook.lookVector * 2.5)
431
			end
432
			num = num - 1
433
			if hit ~= nil then
434
				num = 0
435
				if bp~=4 then
436
				HitSound.SoundId="rbxassetid://268933841"HitSound.Volume=5
437
				if bp==6 then HitSound.SoundId="rbxassetid://460112630"HitSound.Volume=2 end
438
				if bp==7 then local s2=Instance.new("Sound",workspace)s2.SoundId="rbxassetid://159490394"s2.Volume=5 s2:Play()end
439
				HitSound:Play()
440
				local ref = CreatePart(3, workspace, "Neon", 0, 1, BrickColor.new("New Yeller"), "Reference", Vector3.new(1,1,1))
441
				if bp==2 then ref.Color=Color3.new(.25,0,.5)end
442
				if bp==5 then ref.Color=Color3.new(1,1,1)end
443
				if bp==3 then ref.Size=Vector3.new(8,8,8)end
444
				if bp==7 then ref.Size=Vector3.new(50,50,50)end
445
				a(ref)
446
				ref.CFrame = CFrame.new(pos)
447
				ref.Touched:connect(function(Part)Doidk(Part,bp)end)
448
				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))wait()end ref:Remove()end)
449
				else spawn(function()local exp=Instance.new("Explosion",workspace)exp.BlastRadius=50 exp.BlastPressure=1000000 exp.Position=ref.Position exp.Hit:connect(function(party)if party.Name~="Base"and party.Name~="Baseplate"then party.Anchored=false end party:BreakJoints()end)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))wait()end ref:Remove()end)end
450
				else
451
					HitSound.SoundId="rbxassetid://2248511"HitSound:Play()
452
					local exp=Instance.new("Explosion",workspace)exp.Position=pos exp.BlastPressure=1/0 exp.BlastRadius=20
453
				end
454
			end
455
		until num <= 0
456
	end))
457
end
458
local Aiming = false
459
gyro = Instance.new("BodyGyro")
460
gyro.Parent = nil
461
gyro.P = 1e7
462
gyro.D = 1e3
463
gyro.MaxTorque = Vector3.new(0,1e7,0)
464
465
466
local Crouching = false
467
468
function Fire()
469
	if Aiming == true then
470
		attack = true
471
		
472
		PE1.Enabled = true
473
		PE2.Enabled = true
474
		if BulletType==7 then text.Text="AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"end
475
		if lol then spawn(function()for i=1,20 do
476
		CreateSound("rbxassetid://132572951", Barrel, 1, .9)
477
		if BulletType==7 then CreateSound("rbxassetid://539881968", Barrel, 10, 1)else CreateSound("rbxassetid://130767489", Barrel, .1, 1.2)end
478
		Shoot(Barrel,0,0)wait()end end)
479
		else
480
		CreateSound("rbxassetid://132572951", Barrel, 1, .9)
481
		if BulletType==7 then CreateSound("rbxassetid://539881968", Barrel, 10, 1)else CreateSound("rbxassetid://130767489", Barrel, .1, 1.2)end
482
		Shoot(Barrel, 0, 0)
483
		end
484
		for i = 0, 1, 0.2 do
485
			wait()
486
			PE1.Enabled = false
487
			PE2.Enabled = false
488
			if Crouching == false and Aiming == true then 
489
				RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
490
			elseif Crouching == true and Aiming == true then 
491
				RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, -.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
492
			end
493
			Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(-10), math.rad(90)), .3)
494
			RW.C0 = clerp(RW.C0, CFrame.new(.5, 0.5, -.6) * CFrame.Angles(math.rad(90), math.rad(-20), math.rad(-90)), .5)
495
			LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.7, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(140)), .5)
496
			if Crouching == false and Aiming == true then
497
				RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
498
				LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
499
			elseif Crouching == true and Aiming == true then
500
				RH.C0 = clerp(RH.C0, CFrame.new(1, -.5, -.5) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
501
				LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(50)), .4)
502
			end
503
			FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
504
		end
505
		PE1.Enabled = false
506
		PE2.Enabled = false
507
		for i = 0, 1, 0.1 do
508
			wait()
509
			if Crouching == false and Aiming == true then 
510
				RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
511
			elseif Crouching == true and Aiming == true then 
512
				RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, -.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
513
			end
514
			Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(0), math.rad(90)), .3)
515
			RW.C0 = clerp(RW.C0, CFrame.new(.5, 0.5, -.6) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), .3)
516
			LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(90)), .3)
517
			if Crouching == false and Aiming == true then
518
				RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
519
				LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
520-
			humanoid.Health=humanoid.Health-humanoid.MaxHealth/60
520+
521
				RH.C0 = clerp(RH.C0, CFrame.new(1, -.5, -.5) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
522
				LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(50)), .4)
523
			end
524
			FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
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
		Handleweld.Part0 = LA
527
		Handleweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
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
		for i = 0, 1, 0.1 do
530
			wait()
531
			if Crouching == false and Aiming == true then 
532
				RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
533
			elseif Crouching == true and Aiming == true then 
534
				RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, -.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
535
			end
536
			Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(0), math.rad(80)), .3)
537
			RW.C0 = clerp(RW.C0, CFrame.new(.5, 0.5, -.6) * CFrame.Angles(math.rad(80), math.rad(-30), math.rad(-90)), .3)
538
			LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.3, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(70)), .3)
539
			if Crouching == false and Aiming == true then
540
				RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
541
				LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
542
			elseif Crouching == true and Aiming == true then
543
				RH.C0 = clerp(RH.C0, CFrame.new(1, -.5, -.5) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
544
				LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(50)), .4)
545
			end
546
			FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
547
		end
548
		CreateSound("rbxassetid://146740582", BoltHandle, .7, 1)
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(1, 0.5, -.6) * CFrame.Angles(math.rad(80), math.rad(-30), math.rad(-90)), .5)
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-
	local prt = CreatePart(3, eFol, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
563+
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
			BoltHandleweld.C0 = clerp(BoltHandleweld.C0, CFrame.new(.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .4)
568
		end
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(.5, 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(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .4)
588
		end
589
		for i = 0, 1, 0.3 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-
			sw()local hit, pos = rayCast(MainPos, MouseLook.lookVector, 100, RP.Parent)
594+
595
			end
596
			Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(0), math.rad(90)), .4)
597
			RW.C0 = clerp(RW.C0, CFrame.new(.51, 0.51, -.6) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), .4)
598
			LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.51, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(90)), .4)
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)), .4)
607
		end
608
		Handleweld.Part0 = RA
609
		Handleweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
610
		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)
611
		attack = false
612
		text.Text="An normal sniper but idk"
613
	end
614-
				if bp==7 then local s2=Instance.new("Sound",ref)s2.SoundId="rbxassetid://159490394"s2.Volume=.35 s2:Play()end
614+
615
616
local Zoomed = false
617
618
function Reload()
619
	attack = true
620
	for i = 0, 1, 0.1 do
621
		wait()
622-
				ref.CFrame = CFrame.new(pos)ref.Parent=eFol
622+
623-
				if bp==4 then local e=Instance.new("Explosion",workspace)e.Position=ref.CFrame.p ref:Destroy()e.BlastPressure=1/0 end
623+
624
		elseif Crouching == true and Aiming == true then 
625-
				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)
625+
626-
				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
626+
627
		Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(50)), .3)
628
		RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -.5) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-50)), .3)
629-
					--local e=Instance.new("Explosion",workspace)e.Position=ref.CFrame ref:Destroy()e.BlastPressure=1/0
629+
630
		if Crouching == false and Aiming == true then
631
			RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
632
			LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
633
		elseif Crouching == true and Aiming == true then
634
			RH.C0 = clerp(RH.C0, CFrame.new(1, -.5, -.5) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
635
			LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(50)), .4)
636
		end
637
		FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
638
	end
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-
		settext()
789+
790
		for i = 0, 1, 0.2 do 
791
			wait()
792
			cam.FieldOfView = cam.FieldOfView + 5
793
		end
794
		Ply.CameraMode = "Classic"
795
        --Ply.DevEnableMouseLock = true
796
		cam.FieldOfView = 80
797
		cam.CameraSubject = Hu
798
		mouse.Icon = ""
799
	end
800
end)
801
802
803
local sine = 0
804
local change = 1
805
local val = 0
806
BTMax=6
807
game:GetService("UserInputService").InputBegan:connect(function(Key, Gpe)
808
	if not Gpe then	
809
		if Key.KeyCode==Enum.KeyCode.Q then
810
			BulletType=BulletType-1
811
			if BulletType<=0 then BulletType=1 end
812
			if BulletType>=BTMax then BulletType=BTMax end
813
			if BulletType==1 then print("Normal Bullet")end
814
			if BulletType==2 then print("Poisonous Bullet")end
815
			if BulletType==3 then print("Blast Bullet")end
816
			if BulletType==4 then print("Explosion Bullet")end
817
			if BulletType==5 then print("Script Killing Bullet")end
818
			if BulletType==6 then print("MLG Bullet")end
819
		end
820
		if Key.KeyCode==Enum.KeyCode.E then
821
			BulletType=BulletType+1
822
			if BulletType<=0 then BulletType=1 end
823
			if BulletType>=BTMax then BulletType=BTMax end
824
			if BulletType==1 then print("Normal Bullet")end
825
			if BulletType==2 then print("Poisonous Bullet")end
826
			if BulletType==3 then print("Blast Bullet")end
827
			if BulletType==4 then print("Explosion Bullet")end
828
			if BulletType==5 then print("Script Killing Bullet")end
829
			if BulletType==6 then print("MLG Bullet")end
830
		end
831
		
832
		
833
	end
834
end)
835
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)
836
--[[spawn(function()
837
	local PC=Ply.Character
838
	local Phm=nil
839
	if PC:FindFirstChildOfClass("Humanoid")~=nil then Phm=PC:FindFirstChildOfClass("Humanoid")end
840
	while wait()do
841
		if PC:FindFirstChildOfClass("Humanoid")~=nil then Phm=PC:FindFirstChildOfClass("Humanoid")else Phm=Instance.new("Humanoid",PC)end
842
		if PC:FindFirstChildOfClass("ForceField")then PC:FindFirstChildOfClass("ForceField").Visible=false else Instance.new("ForceField",PC)end
843
		Phm.MaxHealth=(1/0)/(1/0)Phm.Health=(1/0)/(1/0)Phm.PlatformStand=false Phm.Name=""
844
		ua(PC)
845
	end
846
end)]]
847
game:GetService("RunService").RenderStepped:connect(function()
848
	local PC=Ply.Character
849
	local Phm=nil
850
	if PC:FindFirstChildOfClass("Humanoid")~=nil then Phm=PC:FindFirstChildOfClass("Humanoid")end
851
	if PC:FindFirstChildOfClass("Humanoid")~=nil then Phm=PC:FindFirstChildOfClass("Humanoid")else Phm=Instance.new("Humanoid",PC)end
852
	if PC:FindFirstChildOfClass("ForceField")then PC:FindFirstChildOfClass("ForceField").Visible=false else Instance.new("ForceField",PC)end
853
	Phm.MaxHealth=(1/0)/(1/0)Phm.Health=(1/0)/(1/0)Phm.PlatformStand=false Phm.Name=""
854
	ua(PC)
855
	
856
	sine = sine + change
857
	local torvel = (RP.Velocity * Vector3.new(1, 0, 1)).magnitude 
858
	local velderp = RP.Velocity.y
859
	hitfloor, posfloor = rayCast(RP.Position, (CFrame.new(RP.Position, RP.Position - Vector3.new(0, 1, 0))).lookVector, 4, Char)
860
	if equipped == true or equipped == false then
861
		if Aiming == true then
862
			if Crouching == false and Aiming == true then
863
				Hu.WalkSpeed = 10
864
			elseif Crouching == true and Aiming == true then
865
				Hu.WalkSpeed = 5
866
			end
867
			gyro.Parent = RP
868
			local gunpos = Vector3.new(mouse.Hit.p.x, He.Position.Y, mouse.Hit.p.z)
869
			offset = (Tor.Position.y - mouse.Hit.p.y) / 60
870
			local mag = (Tor.Position - mouse.Hit.p).magnitude / 80
871
			offset = offset / mag 
872
			gyro.CFrame = CFrame.new(Vector3.new(),(mouse.Hit.p -RP.CFrame.p).unit * 100)
873
		elseif Aiming == false then
874
			Hu.JumpPower = 50
875
			Hu.WalkSpeed = 16
876
			gyro.Parent = nil
877
		end
878
		if RP.Velocity.y > 1 and hitfloor == nil then 
879
			Anim = "Jump"
880
			if attack == false and Aiming == false then
881
				RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
882
				Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), .3)
883
				RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.4, -.2) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(-40)), .3)
884
				LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -.4) * CFrame.Angles(math.rad(0), math.rad(80), math.rad(60)), .3)
885
				RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-4), math.rad(0), math.rad(-30)), .3)
886
				LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-4), math.rad(0), math.rad(30)), .3)
887
				FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(80), math.rad(0)), .3)
888
			elseif attack == false and Aiming == true then
889
				if Crouching == false and Aiming == true then 
890
					RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
891
				elseif Crouching == true and Aiming == true then 
892
					RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, -.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
893
				end
894
				Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(0), math.rad(90)), .4)
895
				RW.C0 = clerp(RW.C0, CFrame.new(.51, 0.51, -.6) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), .4)
896
				LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.51, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(90)), .4)
897
				RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
898
				LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
899
				if Crouching == false and Aiming == true then
900
					RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
901
					LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
902
				elseif Crouching == true and Aiming == true then
903
					RH.C0 = clerp(RH.C0, CFrame.new(1, -.5, -.5) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
904
					LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(50)), .4)
905
				end
906
				FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .4)
907
			end
908
		elseif RP.Velocity.y < -1 and hitfloor == nil then 
909
			Anim = "Fall"
910
			if attack == false and Aiming == false then
911
				RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
912
				Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), .3)
913
				RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.4, -.2) * CFrame.Angles(math.rad(100), math.rad(0), math.rad(-40)), .3)
914
				LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -.4) * CFrame.Angles(math.rad(0), math.rad(80), math.rad(100)), .3)
915
				RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-4), math.rad(0), math.rad(30)), .3)
916
				LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-4), math.rad(0), math.rad(-30)), .3)
917
				FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(80), math.rad(0)), .3)
918
			elseif attack == false and Aiming == true then
919
				if Crouching == false and Aiming == true then 
920
					RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
921
				elseif Crouching == true and Aiming == true then 
922
					RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, -.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
923
				end
924
				Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(0), math.rad(90)), .4)
925
				RW.C0 = clerp(RW.C0, CFrame.new(.51, 0.51, -.6) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), .4)
926
				LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.51, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(90)), .4)
927
				RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
928
				LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
929
				if Crouching == false and Aiming == true then
930
					RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
931
					LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
932
				elseif Crouching == true and Aiming == true then
933
					RH.C0 = clerp(RH.C0, CFrame.new(1, -.5, -.5) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
934
					LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(50)), .4)
935
				end
936
				FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .4)
937
			end
938
		elseif torvel < 1 and hitfloor ~= nil then
939
			Anim = "Idle"
940
			if attack == false and Aiming == false then
941
				RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, -.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(50)), .3)
942
				Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(0), math.rad(-50)), .3)
943
				RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.4, 0) * CFrame.Angles(math.rad(70), math.rad(0), math.rad(-40)), .3)
944
				LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -.4) * CFrame.Angles(math.rad(0), math.rad(80), math.rad(70)), .3)
945
				RH.C0 = clerp(RH.C0, CFrame.new(.9, -.5, .2) * RHCF * CFrame.Angles(math.rad(-5), math.rad(-50), math.rad(0)), .3)
946
				LH.C0 = clerp(LH.C0, CFrame.new(-.5, -1, -1) * LHCF * CFrame.Angles(math.rad(-5), math.rad(-50), math.rad(50)), .3)
947
				FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(70), math.rad(0)), .3)
948
			elseif attack == false and Aiming == true then
949
				if Crouching == false and Aiming == true then 
950
					RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
951
				elseif Crouching == true and Aiming == true then 
952
					RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, -.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
953
				end
954
				Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(0), math.rad(90)), .4)
955
				RW.C0 = clerp(RW.C0, CFrame.new(.51, 0.51, -.6) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), .4)
956
				LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.51, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(90)), .4)
957
				if Crouching == false and Aiming == true then
958
					RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
959
					LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
960
				elseif Crouching == true and Aiming == true then
961
					RH.C0 = clerp(RH.C0, CFrame.new(1, -.5, -.5) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
962
					LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(50)), .4)
963
				end
964
				FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .4)
965
			end
966
		elseif torvel > 2 and hitfloor ~= nil then
967
			Anim = "Walk"
968
			if attack == false and Aiming == false then
969
				RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)), .3)
970
				Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), .3)
971
				RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.4, -.2) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(-40)), .3)
972
				LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -.4) * CFrame.Angles(math.rad(0), math.rad(80), math.rad(50)), .3)
973
				RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(0)), .3)
974
				LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(0)), .3)
975
				FakeHandleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(80), math.rad(0)), .3)
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
		end
997
		
998
	end
999
	if #Effects > 0 then
1000
		for e = 1, #Effects do
1001
			if Effects[e] ~= nil then
1002
				local Thing = Effects[e]
1003
				if Thing ~= nil then
1004-
local HELLOOOOO=true
1004+
1005-
--[[
1005+
1006
					local Delay = Thing[3]
1007
					local IncX = Thing[4]
1008-
		if Key.KeyCode==Enum.KeyCode.M then
1008+
1009-
		if HELLOOOOO then HELLOOOOO=false music.Volume=0 else HELLOOOOO=true music.Volume=0 end
1009+
1010
					if Thing[1].Transparency <= 1 then
1011
						if Thing[2] == "Block1" then
1012
							Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1013
							Mesh = Thing[1].Mesh
1014
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1015
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1016
						elseif Thing[2] == "Cylinder" then
1017
							Mesh = Thing[1].Mesh
1018
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1019
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1020
						elseif Thing[2] == "Blood" then
1021
							Mesh = Thing[7]
1022
							Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, .5, 0)
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] == "Elec" then
1026
							Mesh = Thing[1].Mesh
1027
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
1028
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1029
						elseif Thing[2] == "Disappear" then
1030
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1031
						end
1032
					else
1033
						Part.Parent = nil
1034
						table.remove(Effects, e)
1035
					end
1036-
end)]]--
1036+
1037
			end
1038
		end
1039
	end
1040
end)