View difference between Paste ID: LLRet8iy and hWFKwqyc
SHOW: | | - or go back to the newest paste.
1
-- This script has been converted to FE by iPxter
2
3
4
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
5
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
6
do
7
	print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
8-
player = game.Players.LocalPlayer
8+
	script.Parent = Player.Character
9
10
	--RemoteEvent for communicating
11-
Mouse = player:GetMouse()
11+
	local Event = Instance.new("RemoteEvent")
12
	Event.Name = "UserInput_Event"
13
14
	--Fake event to make stuff like Mouse.KeyDown work
15
	local function fakeEvent()
16
		local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
17
		t.connect = t.Connect
18
		return t
19
	end
20
21
	--Creating fake input objects with fake variables
22
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
23
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
24
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
25
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
26
	end}
27
	--Merged 2 functions into one by checking amount of arguments
28
	CAS.UnbindAction = CAS.BindAction
29
30
	--This function will trigger the events that have been :Connect()'ed
31
	local function te(self,ev,...)
32
		local t = m[ev]
33
		if t and t._fakeEvent and t.Function then
34
			t.Function(...)
35
		end
36
	end
37
	m.TrigEvent = te
38
	UIS.TrigEvent = te
39
40
	Event.OnServerEvent:Connect(function(plr,io)
41
	    if plr~=Player then return end
42
		if io.isMouse then
43
			m.Target = io.Target
44
			m.Hit = io.Hit
45
		else
46
			local b = io.UserInputState == Enum.UserInputState.Begin
47
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
48
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
49
			end
50
			for _,t in pairs(CAS.Actions) do
51
				for _,k in pairs(t.Keys) do
52
					if k==io.KeyCode then
53
						t.Function(t.Name,io.UserInputState,io)
54
					end
55
				end
56
			end
57
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
58
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
59
	    end
60
	end)
61
	Event.Parent = NLS([==[
62
	local Player = game:GetService("Players").LocalPlayer
63
	local Event = script:WaitForChild("UserInput_Event")
64
65
	local UIS = game:GetService("UserInputService")
66
	local input = function(io,a)
67
		if a then return end
68
		--Since InputObject is a client-side instance, we create and pass table instead
69
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
70
	end
71
	UIS.InputBegan:Connect(input)
72
	UIS.InputEnded:Connect(input)
73
74
	local Mouse = Player:GetMouse()
75
	local h,t
76
	--Give the server mouse data 30 times every second, but only if the values changed
77
	--If player is not moving their mouse, client won't fire events
78
	while wait(1/30) do
79
		if h~=Mouse.Hit or t~=Mouse.Target then
80
			h,t=Mouse.Hit,Mouse.Target
81
			Event:FireServer({isMouse=true,Target=t,Hit=h})
82
		end
83
	end]==],Player.Character)
84
	Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
85
end
86
87
----------------------------------
88
--Ballistic Dispatcher Device-41--
89
----------------------------------
90
--By	 --
91
--CKbackup-
92
-----------
93
94
player = owner
95
chara = player.Character
96
debby = game.Debris
97
chara.Humanoid.WalkSpeed = 24
98
atkd = false
99
atkdd = false
100
targetted = nil
101
exed = false
102
exeact = false
103
104
--Outfit--
105
New = function(Object, Parent, Name, Data)
106
	local Object = Instance.new(Object)
107
	for Index, Value in pairs(Data or {}) do
108
		Object[Index] = Value
109
	end
110
	Object.Parent = Parent
111
	Object.Name = Name
112
	return Object
113
end
114
115
Gun1 = New("Model",chara,"Gun1",{})
116
Handle1 = New("Part",Gun1,"Handle1",{Transparency = 1,Transparency = 1,Size = Vector3.new(0.800000012, 1, 1),CFrame = CFrame.new(34.5999947, 1.10000491, 22.4999981, -1, 0, 0, 0, 1, 0, 0, 0, -1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
117
Weld = New("ManualWeld",Handle1,"Weld",{Part0 = Handle1,Part1 = chara["Right Arm"],C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(-0.0999679565, -0.900001526, 0.100005031, -1, 0, 0, 0, 0, -1, 0, -1, 0),})
118
Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.999999762, 0.600000024),CFrame = CFrame.new(34.5999985, 1.10000467, 22.0999928, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.388235, 0.372549, 0.384314),})
119
Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.800000012, 1, 1),MeshType = Enum.MeshType.Wedge,})
120
Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C1 = CFrame.new(-3.81469727e-06, -2.38418579e-07, 0.400005341, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
121
Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.599999905),CFrame = CFrame.new(34.5999947, 1.30000496, 23.0999908, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.388235, 0.372549, 0.384314),})
122
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.400000006, 0.200000003, 1),})
123
Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C1 = CFrame.new(0, 0.199999988, -0.599992752, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
124
Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.400000006, 0.400000006),CFrame = CFrame.new(34.5999947, 2.20000482, 22.1999989, -1, 0, 0, 0, -1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.803922, 0.803922, 0.803922),})
125
Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 0.800000012, 1),MeshType = Enum.MeshType.Wedge,})
126
Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),C1 = CFrame.new(0, 1.0999999, 0.299999237, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
127
Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.399999976),CFrame = CFrame.new(34.5999947, 2.20000482, 26.2999973, 0, 0, 1, -1, 0, 0, 0, -1, 0),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.803922, 0.803922, 0.803922),})
128
Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.800000012, 1.10000002, 0.800000012),})
129
Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C0 = CFrame.new(0, 0, 0, 0, -1, 0, 0, 0, -1, 1, 0, 0),C1 = CFrame.new(0, 1.0999999, -3.79999924, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
130
Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999708, 0.200000003),CFrame = CFrame.new(34.5999985, 2.20000482, 23.2999954, 1, 0, 0, 0, -1, 0, 0, 0, -1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.803922, 0.803922, 0.803922),})
131
Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
132
Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(-3.81469727e-06, 1.0999999, -0.79999733, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
133
Part = New("Part",Gun1,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999708, 3.5999999),CFrame = CFrame.new(34.5999985, 1.80000472, 23.9999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
134
Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C1 = CFrame.new(-3.81469727e-06, 0.69999975, -1.49999428, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
135
Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999708, 0.800000012),CFrame = CFrame.new(34.5999985, 2.20000482, 22.7999935, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.803922, 0.803922, 0.803922),})
136
Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C1 = CFrame.new(-3.81469727e-06, 1.0999999, -0.299995422, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
137
Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("White"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999738, 1.19999993),CFrame = CFrame.new(34.5999947, 2.00000477, 23.7999916, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.94902, 0.952941, 0.952941),})
138
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.800000012, 1.70000005, 1),})
139
Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C1 = CFrame.new(0, 0.899999917, -1.29999352, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
140
Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999708, 0.200000003),CFrame = CFrame.new(34.5999985, 2.20000482, 24.2999992, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.803922, 0.803922, 0.803922),})
141
Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
142
Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C1 = CFrame.new(-3.81469727e-06, 1.0999999, -1.80000114, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
143
Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999708, 0.200000003),CFrame = CFrame.new(34.5999947, 2.20000482, 26.2999897, 1, 0, 0, 0, -1, 0, 0, 0, -1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.803922, 0.803922, 0.803922),})
144
Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
145
Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 1.0999999, -3.79999161, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
146
Part = New("Part",Gun1,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999708, 0.400000006),CFrame = CFrame.new(34.5999985, 1.80000472, 25.9999981, 1, 0, 0, 0, -1, 0, 0, 0, -1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
147
Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
148
Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(-3.81469727e-06, 0.699999869, -3.5, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
149
Part = New("Part",Gun1,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999708, 0.200000003),CFrame = CFrame.new(34.5999985, 1.80000472, 22.0999928, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
150
Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
151
Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C1 = CFrame.new(-3.81469727e-06, 0.69999975, 0.400005341, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
152
Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999708, 1.79999995),CFrame = CFrame.new(34.5999985, 2.20000482, 25.2999992, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.803922, 0.803922, 0.803922),})
153
Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C1 = CFrame.new(-3.81469727e-06, 1.0999999, -2.80000114, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
154
Hitbox1 = New("Part",Gun1,"Hitbox1",{Transparency = 1,Transparency = 1,Size = Vector3.new(0.400000006, 1.19999969, 3.39999986),CFrame = CFrame.new(34.5999985, 1.80002093, 24.6999912, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
155
Weld = New("ManualWeld",Hitbox1,"Weld",{Part0 = Hitbox1,Part1 = Handle1,C1 = CFrame.new(-3.81469727e-06, 0.700015962, -2.19999313, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
156
Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.800000012),CFrame = CFrame.new(34.5999947, 2.50000501, 25.9999962, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.803922, 0.803922, 0.803922),})
157
Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 1, 1),MeshType = Enum.MeshType.Wedge,})
158
Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C1 = CFrame.new(0, 1.4000001, -3.49999809, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
159
Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.999999762, 0.600000024),CFrame = CFrame.new(34.5999947, 1.10000491, 22.6999989, 1, 0, 0, 0, -1, 0, 0, 0, -1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.388235, 0.372549, 0.384314),})
160
Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.800000012, 1, 1),MeshType = Enum.MeshType.Wedge,})
161
Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 0, -0.200000763, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
162
Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.400000006, 2.4000001),CFrame = CFrame.new(34.5999947, 1.40000486, 24.5999928, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.388235, 0.372549, 0.384314),})
163
Mesh = New("BlockMesh",Part,"Mesh",{})
164
Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C1 = CFrame.new(0, 0.300000012, -2.09999466, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
165
Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.400000006, 0.400000095),CFrame = CFrame.new(34.5999947, 1.40000486, 25.7999935, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
166
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.04999995, 1.04999995, 0.200000003),})
167
Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C1 = CFrame.new(0, 0.300000012, -3.29999542, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
168
Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.400000006, 0.400000006),CFrame = CFrame.new(34.5999947, 1.60000467, 23, -1, 0, 0, 0, -1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.803922, 0.803922, 0.803922),})
169
Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 1.25, 0.5),MeshType = Enum.MeshType.Wedge,})
170
Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),C1 = CFrame.new(0, 0.499999821, -0.500001907, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
171
Part = New("Part",Gun1,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.400000006, 0.399999976),CFrame = CFrame.new(34.5999947, 1.80000472, 25.9999962, 0, 0, 1, -1, 0, 0, 0, -1, 0),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
172
Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.800000012, 1.10000002, 0.800000012),})
173
Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C0 = CFrame.new(0, 0, 0, 0, -1, 0, 0, 0, -1, 1, 0, 0),C1 = CFrame.new(0, 0.699999869, -3.49999809, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
174
BulletSpawn1 = New("Part",Gun1,"BulletSpawn1",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.399999976),CFrame = CFrame.new(34.5999947, 2.20000482, 26.2999973, 0, 0, 1, -1, 0, 0, 0, -1, 0),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
175
Mesh = New("CylinderMesh",BulletSpawn1,"Mesh",{Scale = Vector3.new(0.699999988, 1.14999998, 0.699999988),})
176
Weld = New("ManualWeld",BulletSpawn1,"Weld",{Part0 = BulletSpawn1,Part1 = Handle1,C0 = CFrame.new(0, 0, 0, 0, -1, 0, 0, 0, -1, 1, 0, 0),C1 = CFrame.new(0, 1.0999999, -3.79999924, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
177
Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999708, 0.200000003),CFrame = CFrame.new(34.5999985, 2.20000482, 22.2999935, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.803922, 0.803922, 0.803922),})
178
Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
179
Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C1 = CFrame.new(-3.81469727e-06, 1.0999999, 0.200004578, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
180
181
Gun2 = New("Model",chara,"Gun2",{})
182
Handle2 = New("Part",Gun2,"Handle2",{Transparency = 1,Transparency = 1,Size = Vector3.new(0.800000012, 1, 1),CFrame = CFrame.new(37.3999939, 1.10000491, 22.5, -1, 0, 0, 0, 1, 0, 0, 0, -1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
183
Weld = New("ManualWeld",Handle2,"Weld",{Part0 = Handle2,Part1 = chara["Left Arm"],C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0.100032806, -0.900003433, 0.100005031, -1, 0, 0, 0, 0, -1, 0, -1, 0),})
184
Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.999999762, 0.600000024),CFrame = CFrame.new(37.3999977, 1.10000467, 22.0999947, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.388235, 0.372549, 0.384314),})
185
Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.800000012, 1, 1),MeshType = Enum.MeshType.Wedge,})
186
Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C1 = CFrame.new(-3.81469727e-06, -2.38418579e-07, 0.400005341, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
187
Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.599999905),CFrame = CFrame.new(37.3999939, 1.30000496, 23.0999928, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.388235, 0.372549, 0.384314),})
188
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.400000006, 0.200000003, 1),})
189
Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C1 = CFrame.new(0, 0.199999988, -0.599992752, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
190
Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.400000006, 0.400000006),CFrame = CFrame.new(37.3999939, 2.20000482, 22.2000008, -1, 0, 0, 0, -1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.803922, 0.803922, 0.803922),})
191
Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 0.800000012, 1),MeshType = Enum.MeshType.Wedge,})
192
Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),C1 = CFrame.new(0, 1.0999999, 0.299999237, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
193
Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.399999976),CFrame = CFrame.new(37.3999939, 2.20000482, 26.2999992, 0, 0, 1, -1, 0, 0, 0, -1, 0),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.803922, 0.803922, 0.803922),})
194
Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.800000012, 1.10000002, 0.800000012),})
195
Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 0, -1, 0, 0, 0, -1, 1, 0, 0),C1 = CFrame.new(0, 1.0999999, -3.79999924, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
196
Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999708, 0.200000003),CFrame = CFrame.new(37.3999977, 2.20000482, 23.2999973, 1, 0, 0, 0, -1, 0, 0, 0, -1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.803922, 0.803922, 0.803922),})
197
Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
198
Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(-3.81469727e-06, 1.0999999, -0.79999733, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
199
Part = New("Part",Gun2,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999708, 3.5999999),CFrame = CFrame.new(37.3999977, 1.80000472, 23.9999943, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
200
Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C1 = CFrame.new(-3.81469727e-06, 0.69999975, -1.49999428, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
201
Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999708, 0.800000012),CFrame = CFrame.new(37.3999977, 2.20000482, 22.7999954, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.803922, 0.803922, 0.803922),})
202
Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C1 = CFrame.new(-3.81469727e-06, 1.0999999, -0.299995422, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
203
Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("White"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999738, 1.19999993),CFrame = CFrame.new(37.3999939, 2.00000477, 23.7999935, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.94902, 0.952941, 0.952941),})
204
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.800000012, 1.70000005, 1),})
205
Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C1 = CFrame.new(0, 0.899999917, -1.29999352, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
206
Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999708, 0.200000003),CFrame = CFrame.new(37.3999977, 2.20000482, 24.3000011, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.803922, 0.803922, 0.803922),})
207
Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
208
Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C1 = CFrame.new(-3.81469727e-06, 1.0999999, -1.80000114, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
209
Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999708, 0.200000003),CFrame = CFrame.new(37.3999939, 2.20000482, 26.2999916, 1, 0, 0, 0, -1, 0, 0, 0, -1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.803922, 0.803922, 0.803922),})
210
Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
211
Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 1.0999999, -3.79999161, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
212
Part = New("Part",Gun2,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999708, 0.400000006),CFrame = CFrame.new(37.3999977, 1.80000472, 26, 1, 0, 0, 0, -1, 0, 0, 0, -1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
213
Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
214
Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(-3.81469727e-06, 0.699999869, -3.5, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
215
Part = New("Part",Gun2,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999708, 0.200000003),CFrame = CFrame.new(37.3999977, 1.80000472, 22.0999947, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
216
Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
217
Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C1 = CFrame.new(-3.81469727e-06, 0.69999975, 0.400005341, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
218
Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999708, 1.79999995),CFrame = CFrame.new(37.3999977, 2.20000482, 25.3000011, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.803922, 0.803922, 0.803922),})
219
Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C1 = CFrame.new(-3.81469727e-06, 1.0999999, -2.80000114, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
220
Hitbox2 = New("Part",Gun2,"Hitbox2",{Transparency = 1,Transparency = 1,Size = Vector3.new(0.400000006, 1.19999969, 3.39999986),CFrame = CFrame.new(37.3999977, 1.80002093, 24.6999931, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
221
Weld = New("ManualWeld",Hitbox2,"Weld",{Part0 = Hitbox2,Part1 = Handle2,C1 = CFrame.new(-3.81469727e-06, 0.700015962, -2.19999313, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
222
Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.800000012),CFrame = CFrame.new(37.3999939, 2.50000501, 25.9999981, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.803922, 0.803922, 0.803922),})
223
Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 1, 1),MeshType = Enum.MeshType.Wedge,})
224
Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C1 = CFrame.new(0, 1.4000001, -3.49999809, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
225
Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.999999762, 0.600000024),CFrame = CFrame.new(37.3999939, 1.10000491, 22.7000008, 1, 0, 0, 0, -1, 0, 0, 0, -1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.388235, 0.372549, 0.384314),})
226
Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.800000012, 1, 1),MeshType = Enum.MeshType.Wedge,})
227
Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 0, -0.200000763, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
228
Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.400000006, 2.4000001),CFrame = CFrame.new(37.3999939, 1.40000486, 24.5999947, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.388235, 0.372549, 0.384314),})
229
Mesh = New("BlockMesh",Part,"Mesh",{})
230
Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C1 = CFrame.new(0, 0.300000012, -2.09999466, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
231
Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.400000006, 0.400000095),CFrame = CFrame.new(37.3999939, 1.40000486, 25.7999954, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
232
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.04999995, 1.04999995, 0.200000003),})
233
Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C1 = CFrame.new(0, 0.300000012, -3.29999542, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
234
Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.400000006, 0.400000006),CFrame = CFrame.new(37.3999939, 1.60000467, 23.0000019, -1, 0, 0, 0, -1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.803922, 0.803922, 0.803922),})
235
Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 1.25, 0.5),MeshType = Enum.MeshType.Wedge,})
236
Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),C1 = CFrame.new(0, 0.499999821, -0.500001907, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
237
Part = New("Part",Gun2,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.400000006, 0.399999976),CFrame = CFrame.new(37.3999939, 1.80000472, 25.9999981, 0, 0, 1, -1, 0, 0, 0, -1, 0),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
238
Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.800000012, 1.10000002, 0.800000012),})
239
Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 0, -1, 0, 0, 0, -1, 1, 0, 0),C1 = CFrame.new(0, 0.699999869, -3.49999809, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
240
BulletSpawn2 = New("Part",Gun2,"BulletSpawn2",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.399999976),CFrame = CFrame.new(37.3999939, 2.20000482, 26.2999992, 0, 0, 1, -1, 0, 0, 0, -1, 0),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
241
Mesh = New("CylinderMesh",BulletSpawn2,"Mesh",{Scale = Vector3.new(0.699999988, 1.14999998, 0.699999988),})
242
Weld = New("ManualWeld",BulletSpawn2,"Weld",{Part0 = BulletSpawn2,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 0, -1, 0, 0, 0, -1, 1, 0, 0),C1 = CFrame.new(0, 1.0999999, -3.79999924, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
243
Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999708, 0.200000003),CFrame = CFrame.new(37.3999977, 2.20000482, 22.2999954, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.803922, 0.803922, 0.803922),})
244
Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
245
Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C1 = CFrame.new(-3.81469727e-06, 1.0999999, 0.200004578, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
246
247
RightArm = New("Model",chara,"RightArm",{})
248
MainPart = New("Part",RightArm,"MainPart",{Transparency = 1,Transparency = 1,Size = Vector3.new(1, 2, 1),CFrame = CFrame.new(0.5, 3.00000787, -3.50019717, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
249
Weld = New("ManualWeld",MainPart,"Weld",{Part0 = MainPart,Part1 = chara["Right Arm"],C1 = CFrame.new(0, -1.00135803e-005, -0.000197172165, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
250
Emit2Part = New("Part",RightArm,"Emit2Part",{BrickColor = BrickColor.new("Hot pink"),Material = Enum.Material.Neon,Transparency = 1,Transparency = 1,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(0.5, 2.10001373, -3.5001967, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(1, 0, 0.74902),})
251
Mesh = New("SpecialMesh",Emit2Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
252
Weld = New("ManualWeld",Emit2Part,"Weld",{Part0 = Emit2Part,Part1 = MainPart,C1 = CFrame.new(0, -0.899994135, 4.76837158e-007, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
253
LeftArm = New("Model",chara,"LeftArm",{})
254
MainPart = New("Part",LeftArm,"MainPart",{Transparency = 1,Transparency = 1,Size = Vector3.new(1, 2, 1),CFrame = CFrame.new(-2.50000024, 3.00000787, -3.50019717, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
255
Weld = New("ManualWeld",MainPart,"Weld",{Part0 = MainPart,Part1 = chara["Left Arm"],C1 = CFrame.new(-2.38418579e-007, -1.00135803e-005, -0.000197172165, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
256
EmitPart = New("Part",LeftArm,"EmitPart",{BrickColor = BrickColor.new("Hot pink"),Material = Enum.Material.Neon,Transparency = 1,Transparency = 1,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-2.5, 2.10001373, -3.5001967, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(1, 0, 0.74902),})
257
Mesh = New("SpecialMesh",EmitPart,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
258
Weld = New("ManualWeld",EmitPart,"Weld",{Part0 = EmitPart,Part1 = MainPart,C1 = CFrame.new(2.38418579e-007, -0.899994135, 4.76837158e-007, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
259
260
lach = LeftArm:GetChildren()
261
rach = RightArm:GetChildren()
262
ch = chara:GetChildren()
263
264
ScreenGui = New("ScreenGui",player.PlayerGui,"ScreenGui",{})
265
Frame = New("Frame",ScreenGui,"Frame",{BackgroundColor3 = Color3.new(.7,.7,.7),BorderColor3 = Color3.new(.5,.5,.5),BorderSizePixel = 3,Position = UDim2.new(0,700,0,100),Size = UDim2.new(0,200,0,400),Draggable = true})
266
TextLabel = New("TextLabel",Frame,"TextLabel",{BackgroundTransparency = 1,BorderSizePixel = 0,Position = UDim2.new(0,0,0,0),Size = UDim2.new(0,200,0,20),FontSize = "Size14",Font = "SciFi",Text = "BDD-41",TextColor3 = Color3.new(1,1,1)})
267
TextLabel = New("TextLabel",Frame,"TextLabel",{BackgroundTransparency = 1,BorderSizePixel = 0,Position = UDim2.new(0,0,0,20),Size = UDim2.new(0,200,0,20),FontSize = "Size14",Font = "SciFi",Text = "M - Mute/Unmute Music",TextColor3 = Color3.new(1,1,1)})
268
TextLabel = New("TextLabel",Frame,"TextLabel",{BackgroundTransparency = 1,BorderSizePixel = 0,Position = UDim2.new(0,0,0,40),Size = UDim2.new(0,200,0,20),FontSize = "Size14",Font = "SciFi",Text = "Z - Swing",TextColor3 = Color3.new(1,1,1)})
269
TextLabel = New("TextLabel",Frame,"TextLabel",{BackgroundTransparency = 1,BorderSizePixel = 0,Position = UDim2.new(0,0,0,60),Size = UDim2.new(0,200,0,20),FontSize = "Size14",Font = "SciFi",Text = "X - Kick",TextColor3 = Color3.new(1,1,1)})
270
TextLabel = New("TextLabel",Frame,"TextLabel",{BackgroundTransparency = 1,BorderSizePixel = 0,Position = UDim2.new(0,0,0,80),Size = UDim2.new(0,200,0,20),FontSize = "Size14",Font = "SciFi",Text = "C - Barrel Explode",TextColor3 = Color3.new(1,1,1)})
271
TextLabel = New("TextLabel",Frame,"TextLabel",{BackgroundTransparency = 1,BorderSizePixel = 0,Position = UDim2.new(0,0,0,100),Size = UDim2.new(0,200,0,20),FontSize = "Size14",Font = "SciFi",Text = "Q - Select Target",TextColor3 = Color3.new(1,1,1)})
272
TextLabel = New("TextLabel",Frame,"TextLabel",{BackgroundTransparency = 1,BorderSizePixel = 0,Position = UDim2.new(0,0,0,120),Size = UDim2.new(0,200,0,20),FontSize = "Size14",Font = "SciFi",Text = "E - Block",TextColor3 = Color3.new(1,1,1)})
273
TextLabel = New("TextLabel",Frame,"TextLabel",{BackgroundTransparency = 1,BorderSizePixel = 0,Position = UDim2.new(0,0,0,140),Size = UDim2.new(0,200,0,20),FontSize = "Size14",Font = "SciFi",Text = "SAX - Ballista Revolver",TextColor3 = Color3.new(1,1,1)})
274
TextLabel = New("TextLabel",Frame,"TextLabel",{BackgroundTransparency = 1,BorderSizePixel = 0,Position = UDim2.new(0,0,0,160),Size = UDim2.new(0,200,0,20),FontSize = "Size14",Font = "SciFi",Text = "SSX - Hagar",TextColor3 = Color3.new(1,1,1)})
275
TextLabel = New("TextLabel",Frame,"TextLabel",{BackgroundTransparency = 1,BorderSizePixel = 0,Position = UDim2.new(0,0,0,180),Size = UDim2.new(0,200,0,20),FontSize = "Size14",Font = "SciFi",Text = "DSDC - From Above",TextColor3 = Color3.new(1,1,1)})
276
TextLabel = New("TextLabel",Frame,"TextLabel",{BackgroundTransparency = 1,BorderSizePixel = 0,Position = UDim2.new(0,0,0,200),Size = UDim2.new(0,200,0,20),FontSize = "Size14",Font = "SciFi",Text = "SSQ - Evade",TextColor3 = Color3.new(1,1,1)})
277
TextLabel = New("TextLabel",Frame,"TextLabel",{BackgroundTransparency = 1,BorderSizePixel = 0,Position = UDim2.new(0,0,0,220),Size = UDim2.new(0,200,0,20),FontSize = "Size14",Font = "SciFi",Text = "ADDQ - Grab",TextColor3 = Color3.new(1,1,1)})
278
TextLabel = New("TextLabel",Frame,"TextLabel",{BackgroundTransparency = 1,BorderSizePixel = 0,Position = UDim2.new(0,0,0,240),Size = UDim2.new(0,200,0,20),FontSize = "Size14",Font = "SciFi",Text = "Target Moves:",TextColor3 = Color3.new(1,1,1)})
279
TextLabel = New("TextLabel",Frame,"TextLabel",{BackgroundTransparency = 1,BorderSizePixel = 0,Position = UDim2.new(0,0,0,260),Size = UDim2.new(0,200,0,20),FontSize = "Size14",Font = "SciFi",Text = "SDQ - Alpha Blast",TextColor3 = Color3.new(1,1,1)})
280
TextLabel = New("TextLabel",Frame,"TextLabel",{BackgroundTransparency = 1,BorderSizePixel = 0,Position = UDim2.new(0,0,0,280),Size = UDim2.new(0,200,0,20),FontSize = "Size14",Font = "SciFi",Text = "SSDDQ - Summon Ferir",TextColor3 = Color3.new(1,1,1)})
281
TextLabel = New("TextLabel",Frame,"TextLabel",{BackgroundTransparency = 1,BorderSizePixel = 0,Position = UDim2.new(0,0,0,300),Size = UDim2.new(0,200,0,20),FontSize = "Size14",Font = "SciFi",Text = "DASDQ - Rocket Barrage",TextColor3 = Color3.new(1,1,1)})
282
TextLabel = New("TextLabel",Frame,"TextLabel",{BackgroundTransparency = 1,BorderSizePixel = 0,Position = UDim2.new(0,0,0,320),Size = UDim2.new(0,200,0,20),FontSize = "Size14",Font = "SciFi",Text = "DSASQ - Ray Overdrive",TextColor3 = Color3.new(1,1,1)})
283
OpenButton = New("TextButton",ScreenGui,"OpenButton",{BackgroundColor3 = Color3.new(.7,.7,.7),BorderColor3 = Color3.new(.5,.5,.5),BorderSizePixel = 3,Position = UDim2.new(0,700,0,500),Size = UDim2.new(0,50,0,20),FontSize = "Size14",Font = "SciFi",Text = "Close",TextColor3 = Color3.new(1,1,1)})
284
285
OpenButton.MouseButton1Click:connect(function()
286
if Frame.Visible == true then
287
Frame.Visible = false
288
OpenButton.Text = "Open"
289
elseif Frame.Visible == false then
290
Frame.Visible = true
291
OpenButton.Text = "Close"
292
end
293
end)
294
295
crosshair = Instance.new("BillboardGui",chara)
296
crosshair.Size = UDim2.new(10,0,10,0)
297
crosshair.Enabled = false
298
imgl = Instance.new("ImageLabel",crosshair)
299
imgl.Position = UDim2.new(0,0,0,0)
300
imgl.Size = UDim2.new(1,0,1,0)
301
imgl.Image = "rbxassetid://233522684"
302
imgl.BackgroundTransparency = 1
303
imgl.ImageColor3 = Color3.new(1,1,0)
304
305
--Sounds--
306
function LoadSnd(id,loop,vol,pit)
307
local snd = New("Sound",chara,"Sound",{SoundId = "rbxassetid://"..id,Looped = loop,Volume = vol,Pitch = pit})
308
return snd
309
end
310
Music = LoadSnd(575330378,true,1,1)
311
StartUpSnd = LoadSnd(153092315,false,1,.8)
312
SwingSnd = LoadSnd(158037267,false,1,1)
313
Swing2Snd = LoadSnd(12222208,false,1,1)
314
HitSnd = LoadSnd(153092274,false,1,1)
315
HitPunchSnd = LoadSnd(153092227,false,1,1)
316
DodgeSnd = LoadSnd(232210079,false,1,1)
317
ExpSnd = LoadSnd(142070127,false,1,1)
318
FlySnd = LoadSnd(169445602,false,1,1)
319
BExpSnd = LoadSnd(258057783,false,5,1)
320
ClawDashSnd = LoadSnd(62339698,false,1,.5)
321
deathmus = LoadSnd(395580552,true,5,1)
322
deathex = LoadSnd(258057783,false,5,1)
323
--Grunt1Snd = LoadSnd(159882486,false,1,1.1)
324
--Grunt2Snd = LoadSnd(159882466,false,1,1.1)
325
--Grunt3Snd = LoadSnd(159972643,false,1,1.1)
326
--Grunt4Snd = LoadSnd(159882584,false,1,1.1)
327
--YouIdiotSnd = LoadSnd(160212768,false,1,1.1)
328
--DieSnd = LoadSnd(159882598,false,1,1.1)
329
--Laugh1Snd = LoadSnd(160212549,false,1,1.1)
330
--Laugh2Snd = LoadSnd(159882561,false,1,1.1)
331
--Laugh3Snd = LoadSnd(160212812,false,1,1.1)
332
ChargeSnd = LoadSnd(137463716,false,1,1)
333
LasSnd = LoadSnd(162246701,false,1,1)
334
LasLoopSnd = LoadSnd(162246683,true,1,1)
335
RStompSnd = LoadSnd(2760979,false,1,1)
336
GunFlameSnd = LoadSnd(2691586,false,1,1)
337
OrbSnd = LoadSnd(233091161,false,1,1)
338
ElectricSnd = LoadSnd(231917975,false,1,1)
339
LightsOutSnd = LoadSnd(231917794,false,1,1)
340
SkyBeamSnd = LoadSnd(260433522,false,1,1)
341
TargetSnd = LoadSnd(613361563,false,1,1)
342
SV1Snd = LoadSnd(28144425,false,1,.265)
343
SV2Snd = LoadSnd(2697431,false,1,.3)
344
SVHitSnd = LoadSnd(62339698,false,1,.3)
345
IceBreakSnd = LoadSnd(357568316,false,1,1)
346
FreezeSnd = LoadSnd(203936153,false,1,1)
347
IceBreak2Snd = LoadSnd(87015121,false,1,1)
348
BlockedSnd = LoadSnd(357622136,false,1,1)
349
BulletGSnd = LoadSnd(131072992,false,1,2)
350
MinigunSnd = LoadSnd(146830867,false,1,1)
351
MiniStopSnd = LoadSnd(295843191,false,1,1)
352
BulletLSnd = LoadSnd(144884872,false,1,1)
353
MissileSnd = LoadSnd(137991337,false,1,1)
354
Music:Play()
355
356
--Play Sound in Part--
357
function PlaySnd(snd,part)
358
local sound = snd:Clone()
359
sound.PlayOnRemove = true
360
sound.Parent = part
361
sound:Destroy()
362
end
363
364
--Target Select--
365
function TargetSelect(person)
366
local dd=coroutine.wrap(function()
367
if targetted ~= person then
368
targetted = person
369
for i = 0,30,10 do
370
wait(.05)
371
crosshair.Size = UDim2.new(40-i,0,40-i,0)
372
end
373
end
374
end)
375
dd()
376
end
377
378
--Damage Function--
379
function dealdmg(dude,damage,env,toim,kby,kbx)
380
hurt = coroutine.wrap(function(dude2,damage2,env2,toim2)
381
if dude ~= chara and dude:FindFirstChild("IsHit") == nil then
382
TargetSelect(dude)
383
dude.Humanoid.MaxHealth = 100
384
finaldmg = damage + math.random(-env,env)
385
if berserkmode == true then
386
finaldmg = finaldmg * 1.5
387
end
388
dude.Humanoid.Health = dude.Humanoid.Health - finaldmg
389
local vall = Instance.new("ObjectValue",dude)
390
vall.Name = "IsHit"
391
debby:AddItem(vall,toim)
392
local bfos = Instance.new("BodyVelocity",dude.Head)
393
bfos.P = 20000
394
bfos.MaxForce = Vector3.new(bfos.P,bfos.P,bfos.P)
395
bfos.Velocity = Vector3.new(0,kby,0) + chara.HumanoidRootPart.CFrame.lookVector * kbx
396
debby:AddItem(bfos,.1)
397
local naeeym2 = Instance.new("BillboardGui",dude)
398
naeeym2.Size = UDim2.new(0,100,0,40)
399
naeeym2.StudsOffset = Vector3.new(0,3,0)
400
naeeym2.Adornee = dude.Head
401
naeeym2.Name = "TalkingBillBoard"
402
local tecks2 = Instance.new("TextLabel",naeeym2)
403
tecks2.BackgroundTransparency = 1
404
tecks2.BorderSizePixel = 0
405
tecks2.Text = "-"..finaldmg
406
tecks2.Font = "SciFi"
407
tecks2.FontSize = "Size24"
408
tecks2.TextStrokeTransparency = 0
409
tecks2.TextColor3 = Color3.new(1,0.6,0)
410
tecks2.TextStrokeColor3 = Color3.new(0,0,0)
411
tecks2.Size = UDim2.new(1,0,0.5,0)
412
for i = 1, 5 do
413
wait(.1)
414
tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0)
415
tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2
416
tecks2.TextTransparency = tecks2.TextTransparency + .2
417
end
418
naeeym2:Destroy()
419
end
420
end)
421
hurt(dude,damage,env,toim)
422
end
423
424
--Explode Hitbox--
425
function ExHitbox(rad,pos,damage,env,toim,kby,kbx)
426
local E = Instance.new("Explosion") 
427
E.Position = pos
428
E.Parent = game.Workspace
429
E.BlastRadius = rad
430
E.BlastPressure = 0
431
E.Visible = false
432
E.Hit:connect(function(hit)
433
if hit.Parent:FindFirstChild("Humanoid")~=nil then
434
dealdmg(hit.Parent,damage,env,toim,kby,kbx)
435
end
436
end)
437
end
438
439
--Chat Function--
440
function chatfunc(text)
441
local chat = coroutine.wrap(function()
442
if chara:FindFirstChild("TalkingBillBoard")~= nil then
443
chara:FindFirstChild("TalkingBillBoard"):destroy()
444
end
445
local naeeym2 = Instance.new("BillboardGui",chara)
446
naeeym2.Size = UDim2.new(0,100,0,40)
447
naeeym2.StudsOffset = Vector3.new(0,3,0)
448
naeeym2.Adornee = chara.Head
449
naeeym2.Name = "TalkingBillBoard"
450
local tecks2 = Instance.new("TextLabel",naeeym2)
451
tecks2.BackgroundTransparency = 1
452
tecks2.BorderSizePixel = 0
453
tecks2.Text = ""
454
tecks2.Font = "Fantasy"
455
tecks2.FontSize = "Size24"
456
tecks2.TextStrokeTransparency = 0
457
tecks2.TextColor3 = Color3.new(1,1,1)
458
tecks2.TextStrokeColor3 = Color3.new(0,0,0)
459
tecks2.Size = UDim2.new(1,0,0.5,0)
460
if berserkmode == true then
461
tecks2.TextColor3 = Color3.new(1,0,0)
462
tecks2.TextStrokeColor3 = Color3.new(1,1,0)
463
end
464
for i = 1,string.len(text),1 do
465
tecks2.Text = string.sub(text,1,i)
466
wait(0.01)
467
end
468
wait(1)
469
for i = 1, 5 do
470
wait(.01)
471
tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0)
472
tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2
473
tecks2.TextTransparency = tecks2.TextTransparency + .2
474
end
475
naeeym2:Destroy()
476
end)
477
chat()
478
end
479
480
function onChatted(msg)
481
chatfunc(msg)
482
end
483
player.Chatted:connect(onChatted)
484
485
--Punch Hit Effect--
486
function PunchEff(pos)
487
local p = Instance.new("Part",game.Workspace)
488
p.Size = Vector3.new(0,0,0)
489
p.BrickColor = BrickColor.new("White")
490
p.Material = "Neon"
491
p.Anchored = true
492
p.CanCollide = false
493
p.CFrame = pos
494
local pm = Instance.new("SpecialMesh",p)
495
pm.MeshType = "Sphere"
496
local disp = coroutine.wrap(function()
497
for i = 1, 4 do
498
wait(.01)
499
p.Transparency = p.Transparency + .2
500
pm.Scale = pm.Scale + Vector3.new(2,2,2)
501
end
502
wait(.01)
503
p:Destroy()
504
end)
505
disp()
506
end
507
508
--Blade Hit Effect--
509
function SlashEff(pos)
510
local p = Instance.new("Part",game.Workspace)
511
p.Size = Vector3.new(0,0,0)
512
p.BrickColor = BrickColor.new("White")
513
p.Material = "Neon"
514
p.Anchored = true
515
p.CanCollide = false
516
p.CFrame = pos * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
517
local pm = Instance.new("SpecialMesh",p)
518
pm.MeshType = "Sphere"
519
pm.Scale = Vector3.new(2.5,0,2.5)
520
local disp = coroutine.wrap(function()
521
for i = 1, 4 do
522
wait(.01)
523
p.Transparency = p.Transparency + .2
524
pm.Scale = pm.Scale + Vector3.new(0,30,0)
525
end
526
wait(.01)
527
p:Destroy()
528
end)
529
disp()
530
end
531
532
--Super Pause--
533
function SuperPause()
534
StartUpSnd:Play()
535
local p = Instance.new("Part",game.Workspace)
536
p.Size = Vector3.new(0,0,0)
537
p.BrickColor = BrickColor.new("White")
538
p.Material = "Neon"
539
p.Anchored = true
540
p.CanCollide = false
541
p.CFrame = chara.Torso.CFrame
542
local pm = Instance.new("SpecialMesh",p)
543
pm.MeshType = "Sphere"
544
local disp = coroutine.wrap(function()
545
for i = 1, 4 do
546
wait(.01)
547
p.Transparency = p.Transparency + .2
548
pm.Scale = pm.Scale + Vector3.new(20,20,20)
549
end
550
wait(.01)
551
p:Destroy()
552
end)
553
disp()
554
end
555
556
--Punch Touch--
557
dela = .5
558
punchactive = false
559
function punchhit(hit)
560
if punchactive == true then
561
if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("IsHit")==nil then
562
dealdmg(hit.Parent,9,2,dela,0,25)
563
PlaySnd(HitPunchSnd,hit.Parent.Head)
564
PunchEff(Hitbox1.CFrame)
565
end
566
end
567
end
568
Hitbox1.Touched:connect(punchhit)
569
570
--Kick Touch--
571
kickactive = false
572
dkickactive = false
573
skickactive = false
574
didskick = false
575
lkickactive = false
576
function kickhit(hit)
577
if kickactive == true then
578
if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("IsHit")==nil then
579
dealdmg(hit.Parent,10,2,dela,0,35)
580
PlaySnd(HitPunchSnd,hit.Parent.Head)
581
PunchEff(hit.CFrame)
582
if dkickactive == true then
583
hit.Parent.Humanoid.PlatformStand = true
584
hit.Parent.Head.CFrame = chara["Right Leg"].CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)
585
wait(3)
586
hit.Parent.Humanoid.PlatformStand = false
587
end
588
if skickactive == true then
589
local bodpf = Instance.new("BodyPosition",hit.Parent.Head)
590
bodpf.MaxForce = Vector3.new(10000,10000,10000)
591
bodpf.Position = chara.HumanoidRootPart.Position + Vector3.new(0,30,0) + (chara.HumanoidRootPart.CFrame.lookVector*3)
592
debby:AddItem(bodpf,3.5)
593
didskick = true
594
end
595
if lkickactive == true then
596
if hit.Parent.Head:FindFirstChild("BodyPosition") ~= nil then
597
hit.Parent.Head:FindFirstChild("BodyPosition"):Destroy()
598
end
599
local bfos = Instance.new("BodyVelocity",hit.Parent.Head)
600
bfos.P = 20000
601
bfos.MaxForce = Vector3.new(bfos.P,bfos.P,bfos.P)
602
bfos.Velocity = chara.HumanoidRootPart.CFrame.lookVector * 20 + Vector3.new(0,30,0)
603
debby:AddItem(bfos,.3)
604
end
605
end
606
end
607
end
608
chara["Left Leg"].Touched:connect(kickhit)
609
chara["Right Leg"].Touched:connect(kickhit)
610
611
--Grab Touch--
612
weldd = nil
613
function grabhit(hit)
614
if exeact == true and exed == false then
615
if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("IsHit")==nil then
616
dealdmg(hit.Parent,9,2,dela,0,0)
617
PlaySnd(HitPunchSnd,hit.Parent.Head)
618
PunchEff(hit.CFrame)
619
weldd = Instance.new("Weld",hit.Parent)
620
weldd.Part0 = hit.Parent.Head
621
weldd.Part1 = BulletSpawn2
622
exed = true
623
end
624
end
625
end
626
Hitbox2.Touched:connect(grabhit)
627
628
function CasingDrop(no)
629
local hitpt = Instance.new("Part",game.Workspace)
630
hitpt.Size = Vector3.new(0,0,1)
631
hitpt.TopSurface = 0
632
hitpt.BottomSurface = 0
633
local bf = Instance.new("BodyVelocity",hitpt)
634
bf.P = 10000
635
bf.MaxForce = Vector3.new(bf.P,bf.P,bf.P)
636
debby:AddItem(bf,.1)
637
if no == "Right" then
638
hitpt.Position = Hitbox1.Position
639
hitpt.CFrame = Hitbox1.CFrame
640
bf.Velocity = Vector3.new(0,5,0) + Hitbox1.CFrame.rightVector*10
641
elseif no == "Left" then
642
hitpt.Position = Hitbox2.Position
643
hitpt.CFrame = Hitbox2.CFrame
644
bf.Velocity = Vector3.new(0,5,0) + Hitbox1.CFrame.rightVector*-10
645
end
646
local hitm = Instance.new("SpecialMesh",hitpt)
647
hitm.MeshId = "http://www.roblox.com/asset/?id=94295100"
648
hitm.TextureId = "http://www.roblox.com/asset/?id=94287792"
649
hitm.Scale = Vector3.new(6,6,7)
650
debby:AddItem(hitpt,3)
651
end
652
653
function GunPlode()
654
PlaySnd(GunFlameSnd,chara)
655
PlaySnd(ExpSnd,chara)
656
PlaySnd(BulletGSnd,chara)
657
CasingDrop("Right")
658
CasingDrop("Left")
659
local hitpt = Instance.new("Part",game.Workspace)
660
hitpt.Size = Vector3.new(1,1,1)
661
hitpt.Anchored = true
662
hitpt.CanCollide = false
663
hitpt.BrickColor = BrickColor.new("Bright yellow")
664
hitpt.CFrame = BulletSpawn1.CFrame * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
665
local hitb = Instance.new("Part",game.Workspace)
666
hitb.Size = Vector3.new(1,1,1)
667
hitb.Anchored = true
668
hitb.CanCollide = false
669
hitb.BrickColor = BrickColor.new("Bright yellow")
670
hitb.Material = "Neon"
671
hitb.CFrame = CFrame.new(hitpt.Position.x,hitpt.Position.y,hitpt.Position.z) * CFrame.fromEulerAnglesXYZ(math.random(math.rad(-30),math.rad(30)),math.random(math.rad(-30),math.rad(30)),math.random(math.rad(-30),math.rad(30)))
672
local hitpt2 = hitpt:Clone()
673
hitpt2.Parent = game.Workspace
674
hitpt.CFrame = BulletSpawn2.CFrame * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
675
local hitb2 = hitb:Clone()
676
hitb2.Parent = game.Workspace
677
hitb.CFrame = CFrame.new(hitpt.Position.x,hitpt.Position.y,hitpt.Position.z) * CFrame.fromEulerAnglesXYZ(math.random(math.rad(-30),math.rad(30)),math.random(math.rad(-30),math.rad(30)),math.random(math.rad(-30),math.rad(30)))
678
local hitbm = Instance.new("SpecialMesh",hitb)
679
hitbm.MeshType = "Sphere"
680
hitbm.Scale = Vector3.new(1,1,1)
681
local hitm = Instance.new("SpecialMesh",hitpt)
682
hitm.MeshId = "http://www.roblox.com/asset/?id=3270017"
683
local hitbm2 = hitbm:Clone()
684
hitbm2.Parent = hitb2
685
local hitm2 = hitm:Clone()
686
hitm2.Parent = hitpt2
687
local hpt = coroutine.wrap(function()
688
for i = 1, 9 do
689
wait(.05)
690
hitpt.Transparency = hitpt.Transparency + .1
691
hitm.Scale = hitm.Scale + Vector3.new(.5,.5,.5)
692
hitb.Transparency = hitb.Transparency + .1
693
hitbm.Scale = hitbm.Scale + Vector3.new(.5,.5,.5)
694
hitpt2.Transparency = hitpt2.Transparency + .1
695
hitm2.Scale = hitm2.Scale + Vector3.new(.5,.5,.5)
696
hitb2.Transparency = hitb2.Transparency + .1
697
hitbm2.Scale = hitbm2.Scale + Vector3.new(.5,.5,.5)
698
end
699
hitpt:Destroy()
700
hitb:Destroy()
701
hitpt2:Destroy()
702
hitb2:Destroy()
703
end)
704
hpt()
705
ExHitbox(5,BulletSpawn1.Position,12,2,.1,0,-50)
706
ExHitbox(5,BulletSpawn2.Position,12,2,.1,0,50)
707
end
708
709
function Laser(Partt,Targ)
710
local EffectPart = Instance.new("Part",game.Workspace)
711
EffectPart.Size = Vector3.new(1,1,1)
712
EffectPart.Anchored = true
713
EffectPart.BrickColor = BrickColor.new("Bright yellow")
714
EffectPart.Material = "Neon"
715
EffectPart.Position = Targ.Position
716
EffectPart.CFrame = CFrame.new(Targ.Position.x,Targ.Position.y,Targ.Position.z)
717
local mehs1 = Instance.new("SpecialMesh",EffectPart)
718
mehs1.MeshType = "Sphere"
719
mehs1.Scale = Vector3.new(2,2,2)
720
local P = Instance.new("Part") 
721
local Place0 = Partt.CFrame
722
local Place1 = EffectPart.CFrame
723
local meshla = Instance.new("BlockMesh", P)
724
meshla.Scale = Vector3.new(1,1,1)
725
P.formFactor = 0 
726
P.Size = Vector3.new(1,1,(Place0.p - Place1.p).magnitude) 
727
P.Name = "Laser" 
728
P.CFrame = CFrame.new((Place0.p + Place1.p)/2,Place0.p) 
729
P.Parent = game.Workspace 
730
P.BrickColor = BrickColor.new("Bright yellow")
731
P.Material = "Neon"
732
P.Anchored = true 
733
P.CanCollide = false 
734
P.Locked = true 
735
P.BottomSurface = "Smooth" 
736
P.TopSurface = "Smooth" 
737
ExHitbox(5,Place1.p,20,2,.1,0,5)
738
local fu = coroutine.wrap(function()
739
for i = 1, 10 do
740
wait(.01)
741
mehs1.Scale = mehs1.Scale + Vector3.new(.5,.5,.5)
742
meshla.Scale = meshla.Scale + Vector3.new(.25,.25,0)
743
EffectPart.Transparency = EffectPart.Transparency + .1
744
P.Transparency = P.Transparency + .1
745
end
746
----
747
P:Destroy()
748
EffectPart:Destroy()
749
end)
750
fu()
751
end
752
753
--Material Return--
754
gprop = {}
755
function materialhit(hit)
756
if hit.Parent ~= chara and hit.Parent.Parent ~= chara and hit.Name ~= "Trace" and hit.Parent:FindFirstChild("Humanoid") == nil then
757
gprop = {hit.BrickColor,hit.Material}
758
end
759
end
760
chara["Left Leg"].Touched:connect(materialhit)
761
chara["Right Leg"].Touched:connect(materialhit)
762
763
--Clerp Animations--
764
TC = chara.HumanoidRootPart.RootJoint
765
HC = chara.Torso.Neck
766
RAC = chara.Torso["Right Shoulder"]
767
LAC = chara.Torso["Left Shoulder"]
768
RLC = chara.Torso["Right Hip"]
769
LLC = chara.Torso["Left Hip"]
770
TCF = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
771
HCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
772
RACF = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
773
LACF = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
774
RLCF = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
775
LLCF = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
776
RWF = CFrame.new(-1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
777
LWF = CFrame.new(1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
778
RLWF = CFrame.new(-.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
779
LLWF = CFrame.new(.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
780
RW = Instance.new("Weld",HC.Parent)
781
RW.Part1 = HC.Parent
782
RW.Part0 = chara["Right Arm"]
783
RW.C0 = RWF
784
LW = Instance.new("Weld",HC.Parent)
785
LW.Part1 = HC.Parent
786
LW.Part0 = chara["Left Arm"]
787
LW.C0 = LWF
788
RLW = nil
789
LLW = nil
790
791
function AddLegWelds()
792
RLW = Instance.new("Weld",chara["Right Leg"])
793
RLW.Part1 = HC.Parent
794
RLW.Part0 = chara["Right Leg"]
795
RLW.C0 = RLWF
796
LLW = Instance.new("Weld",chara["Left Leg"])
797
LLW.Part1 = HC.Parent
798
LLW.Part0 = chara["Left Leg"]
799
LLW.C0 = LLWF
800
end
801
802
function DestroyLegWelds()
803
RLC = New("Motor6D",chara.Torso,"Right Hip",{Part0 = chara.Torso,Part1 = chara["Right Leg"],C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0),C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0),})
804
LLC = New("Motor6D",chara.Torso,"Left Hip",{Part0 = chara.Torso,Part1 = chara["Left Leg"],C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),})
805
RLW:Destroy()
806
LLW:Destroy()
807
end
808
809
function clerp(a,b,c)
810
return a:lerp(b,c)
811
end
812
813
--TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90))
814
--HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50))
815
--RW.C0 = (RWF + Vector3.new(1,2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
816
--LW.C0 = LWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(2))
817
818
TC.C0 = TCF
819
HC.C0 = HCF
820
RW.C0 = RWF
821
LW.C0 = LWF
822
823
--Idle Clerp--
824
ITCF = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(70))
825
IHCF = HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-70))
826
IRWF = (RWF - Vector3.new(-.5,.5,-.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(-70),0)
827
ILWF = (LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0)
828
829
TC.C0 = ITCF
830
HC.C0 = IHCF
831
RW.C0 = IRWF
832
LW.C0 = ILWF
833
834
835
--Punch--
836
function Punch()
837
del = true
838
atkd = true
839
chara.Humanoid.WalkSpeed = 0
840
punchactive = true
841
wait(.01)
842
SwingSnd:Play()
843
wait(.01)
844
for i = 0,.75,.25 do
845
wait(.01)
846
TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-180)),TCF,.4+i)
847
HC.C0 = clerp(IHCF,HCF,.4+i)
848
RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
849
end
850
wait(.1)
851
bladeactive = false
852
for i = 0,.6,.2 do
853
wait(.01)
854
TC.C0 = clerp(ITCF,TCF,.6-i)
855
HC.C0 = clerp(IHCF,HCF,.6-i)
856
RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
857
end
858
chara.Humanoid.WalkSpeed = 32
859
punchactive = false
860
del = false
861
atkdd = true
862
end
863
864
--Kick Atk--
865
function KickAtk()
866
del = true
867
atkd = true
868
chara.Humanoid.WalkSpeed = 0
869
kickactive = true
870
AddLegWelds()
871
local bfos = Instance.new("BodyVelocity",chara.Torso)
872
bfos.P = 10000
873
bfos.MaxForce = Vector3.new(bfos.P,0,bfos.P)
874
bfos.Velocity = chara.HumanoidRootPart.CFrame.lookVector * 200
875
debby:AddItem(bfos,.1)
876
for i = 0,.75,.25 do
877
wait(.05)
878
TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(-30),0,math.rad(-85)),.4+i)
879
HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(85)),.4+i)
880
RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,.3,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-30)),.4+i)
881
LW.C0 = clerp(ILWF,(LWF - Vector3.new(.2,.2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-10)),.4+i)
882
LLW.C0 = clerp(LLWF,(LLWF - Vector3.new(1,0,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(45)),.4+i)
883
RLW.C0 = clerp(RLWF,(RLWF - Vector3.new(-1,0,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-45)),.4+i)
884
end
885
for i = 0,.75,.25 do
886
wait(.05)
887
TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(-30),0,math.rad(-85)),.6-i)
888
HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(85)),.6-i)
889
RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,.3,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-30)),.6-i)
890
LW.C0 = clerp(ILWF,(LWF - Vector3.new(.2,.2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-10)),.6-i)
891
LLW.C0 = clerp(LLWF,(LLWF - Vector3.new(1,0,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(45)),.6-i)
892
RLW.C0 = clerp(RLWF,(RLWF - Vector3.new(-1,0,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-45)),.6-i)
893
end
894
DestroyLegWelds()
895
kickactive = false
896
chara.Humanoid.WalkSpeed = 24
897
del = false
898
atkdd = true
899
end
900
901
--Explod--
902
function ExplodPunch()
903
del = true
904
atkd = true
905
chara.Humanoid.WalkSpeed = 0
906
wait(.01)
907
for i = 0,.6,.2 do
908
wait(.001)
909
TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
910
HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
911
RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
912
LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
913
end
914
GunPlode()
915
wait(.5)
916
for i = 0,.6,.2 do
917
wait(.001)
918
TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
919
HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
920
RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
921
LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
922
end
923
chara.Humanoid.WalkSpeed = 24
924
atkdd = true
925
del = false
926
end
927
928
--Bandit Revolver--
929
function BanditRevolver()
930
del = true
931
atkd = true
932
chara.Humanoid.WalkSpeed = 0
933
kickactive = true
934
dkickactive = true
935
chatfunc("Bandit Revolver!")
936
AddLegWelds()
937
local bfos = Instance.new("BodyVelocity",chara.Torso)
938
bfos.P = 10000
939
bfos.MaxForce = Vector3.new(bfos.P,0,bfos.P)
940
bfos.Velocity = chara.HumanoidRootPart.CFrame.lookVector * 40
941
for i = 0,.6,.2 do
942
wait(.01)
943
TC.C0 = clerp(ITCF,(TCF + Vector3.new(0,1,0)),.4+i)
944
HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,math.rad(20),math.rad(90)),.4+i)
945
RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),.4+i)
946
LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),.4+i)
947
RLW.C0 = clerp(RLWF,(RLWF - Vector3.new(0,1,1.2)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0),.4+i)
948
end
949
SwingSnd:Play()
950
for i = 0,1,.25 do
951
wait(.0001)
952
TC.C0 = clerp((TCF + Vector3.new(0,1,0)),(TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(180)),i)
953
end
954
for i = 0,1,.25 do
955
wait(.0001)
956
TC.C0 = clerp((TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(180)),(TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(360)),i)
957
end
958
for i = 0,1,.25 do
959
wait(.01)
960
TC.C0 = clerp((TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(270)),ITCF,i)
961
HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(0,math.rad(20),math.rad(90)),IHCF,i)
962
RW.C0 = clerp((RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),IRWF,i)
963
LW.C0 = clerp((LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),ILWF,i)
964
RLW.C0 = clerp((RLWF - Vector3.new(0,1,1.2)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0),RLWF,i)
965
end
966
DestroyLegWelds()
967
dkickactive = false
968
kickactive = false
969
chara.Humanoid.WalkSpeed = 24
970
bfos:Destroy()
971
del = false
972
atkdd = true
973
end
974
975
--Freezer Kick--
976
function FlipKickEffect(pos)
977
local p = Instance.new("Part",game.Workspace)
978
p.Size = Vector3.new(0,0,0)
979
p.BrickColor = BrickColor.new("Bright yellow")
980
p.Material = "Neon"
981
p.Anchored = true
982
p.CanCollide = false
983
p.CFrame = pos * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
984
local pm = Instance.new("BlockMesh",p)
985
local disp = coroutine.wrap(function()
986
for i = 1, 4 do
987
wait(.01)
988
p.Transparency = p.Transparency + .2
989
pm.Scale = pm.Scale + Vector3.new(2,2,2)
990
end
991
wait(.01)
992
p:Destroy()
993
end)
994
disp()
995
end
996
function FlipKick()
997
del = true
998
atkd = true
999
chatfunc("Hagar!")
1000
AddLegWelds()
1001
kickactive = true
1002
lkickactive = true
1003
local bfos = Instance.new("BodyVelocity",chara.Torso)
1004
bfos.P = 10000
1005
bfos.MaxForce = Vector3.new(bfos.P,bfos.P,bfos.P)
1006
bfos.Velocity = Vector3.new(0,10,0) + chara.HumanoidRootPart.CFrame.lookVector * 50
1007
Swing2Snd:Play()
1008
for i = 0,.6,.2 do
1009
wait(.001)
1010
TC.C0 = clerp(ITCF,(TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0),.4+i)
1011
HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),.4+i)
1012
RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),.4+i)
1013
LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),.4+i)
1014
RLW.C0 = clerp(RLWF,(RLWF - Vector3.new(0,1,1.2)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0),.4+i)
1015
FlipKickEffect(chara["Right Leg"].CFrame - chara["Right Leg"].CFrame.upVector*1.5)
1016
end
1017
for i = 1, 3 do
1018
wait(.001)
1019
FlipKickEffect(chara["Right Leg"].CFrame - chara["Right Leg"].CFrame.upVector*1.5)
1020
end
1021
bfos:Destroy()
1022
kickactive = false
1023
lkickactive = false
1024
wait(.25)
1025
for i = 0,1,.25 do
1026
wait(.001)
1027
TC.C0 = clerp((TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0),ITCF,.4+i)
1028
HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),IHCF,.4+i)
1029
RW.C0 = clerp((RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),IRWF,.4+i)
1030
LW.C0 = clerp((LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),ILWF,.4+i)
1031
RLW.C0 = clerp((RLWF - Vector3.new(0,1,1.2)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0),RLWF,.4+i)
1032
end
1033
DestroyLegWelds()
1034
del = false
1035
end
1036
1037
--Alpha Blast--
1038
function ABlast()
1039
del = true
1040
atkd = true
1041
chatfunc("Alpha Blast!")
1042
for i = 0,.6,.2 do
1043
wait(.001)
1044
TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
1045
HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
1046
RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
1047
LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
1048
end
1049
TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
1050
HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90))
1051
RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
1052
LW.C0 = (LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90))
1053
for i = 1, 2 do
1054
	GunFlameSnd:Play()
1055
	BulletGSnd:Play()
1056
	CasingDrop("Left")
1057
	local missile = Instance.new("Part",game.Workspace)
1058
	missile.Size = Vector3.new(0,0,0)
1059
	missile.Name = "Blast"
1060
	missile.Transparency = 1
1061
	missile.Position = BulletSpawn2.Position
1062
	missile.CFrame = BulletSpawn2.CFrame
1063
	missile.Velocity = ((targetted.Head.Position - Vector3.new(0,2,0)) - chara.HumanoidRootPart.Position).unit*200
1064
	local force = Instance.new("BodyForce")
1065
	force.force = Vector3.new(0,missile:GetMass()*game.Workspace.Gravity,0)
1066
	force.Parent = missile
1067
	local p1mit = Instance.new("ParticleEmitter",missile)
1068
	p1mit.Texture = "rbxasset://textures/particles/smoke_main.dds"
1069
	p1mit.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,BrickColor.new("Bright yellow").Color),ColorSequenceKeypoint.new(1,BrickColor.new("Bright orange").Color)})
1070
	p1mit.LightEmission = 1
1071
	p1mit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)})
1072
	p1mit.Lifetime = NumberRange.new(1)
1073
	p1mit.Rate = 10000
1074
	p1mit.Rotation = NumberRange.new(0,359)
1075
	p1mit.RotSpeed = NumberRange.new(100)
1076
	p1mit.Speed = NumberRange.new(0)
1077
	missile.Touched:connect(function(hit)
1078
	if (hit.Parent.Parent ~= chara and hit.Parent ~= chara and hit.Name ~= "Blast" and force ~= nil) then
1079
	force:Destroy()
1080
	force = nil
1081
	ExHitbox(3,missile.Position,12,1,.1,0,5)
1082
	PlaySnd(BulletLSnd,hit)
1083
	p1mit.Enabled = false
1084
	wait(2)
1085
	missile:Destroy()
1086
	end
1087
	end)
1088
	wait(.1)
1089
for i = 0,.6,.2 do
1090
wait(.001)
1091
TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
1092
end
1093
TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90))
1094
HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
1095
RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
1096
LW.C0 = (LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90))
1097
	debby:AddItem(missile,10)
1098
	GunFlameSnd:Play()
1099
	BulletGSnd:Play()
1100
	CasingDrop("Right")
1101
	local missile = Instance.new("Part",game.Workspace)
1102
	missile.Size = Vector3.new(0,0,0)
1103
	missile.Name = "Blast"
1104
	missile.Transparency = 1
1105
	missile.Position = BulletSpawn1.Position
1106
	missile.CFrame = BulletSpawn1.CFrame
1107
	missile.Velocity = ((targetted.Head.Position - Vector3.new(0,2,0)) - chara.HumanoidRootPart.Position).unit*200
1108
	local force = Instance.new("BodyForce")
1109
	force.force = Vector3.new(0,missile:GetMass()*game.Workspace.Gravity,0)
1110
	force.Parent = missile
1111
	local p1mit = Instance.new("ParticleEmitter",missile)
1112
	p1mit.Texture = "rbxasset://textures/particles/smoke_main.dds"
1113
	p1mit.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,BrickColor.new("Bright yellow").Color),ColorSequenceKeypoint.new(1,BrickColor.new("Bright orange").Color)})
1114
	p1mit.LightEmission = 1
1115
	p1mit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)})
1116
	p1mit.Lifetime = NumberRange.new(1)
1117
	p1mit.Rate = 10000
1118
	p1mit.Rotation = NumberRange.new(0,359)
1119
	p1mit.RotSpeed = NumberRange.new(100)
1120
	p1mit.Speed = NumberRange.new(0)
1121
	missile.Touched:connect(function(hit)
1122
	if (hit.Parent.Parent ~= chara and hit.Parent ~= chara and hit.Name ~= "Blast" and force ~= nil) then
1123
	force:Destroy()
1124
	force = nil
1125
	ExHitbox(3,missile.Position,12,1,.1,0,5)
1126
	PlaySnd(BulletLSnd,hit)
1127
	p1mit.Enabled = false
1128
	wait(2)
1129
	missile:Destroy()
1130
	end
1131
	end)
1132
	debby:AddItem(missile,10)
1133
	wait(.1)
1134
for i = 0,.6,.2 do
1135
wait(.001)
1136
TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
1137
end
1138
TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90))
1139
HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
1140
RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
1141
LW.C0 = (LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90))
1142
end
1143
	GunFlameSnd:Play()
1144
	BulletGSnd:Play()
1145
	CasingDrop("Left")
1146
	local missile = Instance.new("Part",game.Workspace)
1147
	missile.Size = Vector3.new(0,0,0)
1148
	missile.Name = "Blast"
1149
	missile.Transparency = 1
1150
	missile.Position = BulletSpawn2.Position
1151
	missile.CFrame = BulletSpawn2.CFrame
1152
	missile.Velocity = ((targetted.Head.Position - Vector3.new(0,2,0)) - chara.HumanoidRootPart.Position).unit*200
1153
	local force = Instance.new("BodyForce")
1154
	force.force = Vector3.new(0,missile:GetMass()*game.Workspace.Gravity,0)
1155
	force.Parent = missile
1156
	local p1mit = Instance.new("ParticleEmitter",missile)
1157
	p1mit.Texture = "rbxasset://textures/particles/smoke_main.dds"
1158
	p1mit.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,BrickColor.new("Bright yellow").Color),ColorSequenceKeypoint.new(1,BrickColor.new("Bright orange").Color)})
1159
	p1mit.LightEmission = 1
1160
	p1mit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)})
1161
	p1mit.Lifetime = NumberRange.new(1)
1162
	p1mit.Rate = 10000
1163
	p1mit.Rotation = NumberRange.new(0,359)
1164
	p1mit.RotSpeed = NumberRange.new(100)
1165
	p1mit.Speed = NumberRange.new(0)
1166
	missile.Touched:connect(function(hit)
1167
	if (hit.Parent.Parent ~= chara and hit.Parent ~= chara and hit.Name ~= "Blast" and force ~= nil) then
1168
	force:Destroy()
1169
	force = nil
1170
	ExHitbox(3,missile.Position,12,1,.1,0,5)
1171
	PlaySnd(BulletLSnd,hit)
1172
	p1mit.Enabled = false
1173
	wait(2)
1174
	missile:Destroy()
1175
	end
1176
	end)
1177
wait(.1)
1178
for i = 0,.6,.2 do
1179
wait(.001)
1180
TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
1181
HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
1182
RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
1183
LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
1184
end
1185
del = false
1186
atkdd = true
1187
end
1188
1189
--Decapitator--
1190
function Decapitator()
1191
del = true
1192
atkd = true
1193
chatfunc("From Above!")
1194
chara.Humanoid.WalkSpeed = 0
1195
for i = 0,.6,.2 do
1196
wait(.0001)
1197
TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,math.rad(90),0),.4+i)
1198
HC.C0 = clerp(IHCF,HCF,.4+i)
1199
RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
1200
LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
1201
end
1202
RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
1203
LW.C0 = (LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90))
1204
local bf = Instance.new("BodyVelocity",chara.Torso)
1205
bf.P = 10000
1206
bf.MaxForce = Vector3.new(bf.P,bf.P,bf.P)
1207
bf.Velocity = Vector3.new(0,20,0) + chara.HumanoidRootPart.CFrame.lookVector*50
1208
for i = 0,1,.25 do
1209
wait(.0001)
1210
RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
1211
LW.C0 = (LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90))
1212
TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,math.rad(90),0),TCF * CFrame.fromEulerAnglesXYZ(0,math.rad(90),math.rad(180)),i)
1213
HC.C0 = HCF
1214
GunPlode()
1215
end
1216
bf.Velocity = Vector3.new(0,-20,0) + chara.HumanoidRootPart.CFrame.lookVector*50
1217
for i = 0,1,.25 do
1218
wait(.0001)
1219
TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,math.rad(90),math.rad(180)),TCF * CFrame.fromEulerAnglesXYZ(0,math.rad(90),math.rad(360)),i)
1220
HC.C0 = HCF
1221
RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
1222
LW.C0 = (LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90))
1223
GunPlode()
1224
end
1225
bf:Destroy()
1226
for i = 0,.6,.2 do
1227
wait(.0001)
1228
TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,math.rad(90),0),.6-i)
1229
HC.C0 = clerp(IHCF,HCF,.6-i)
1230
RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
1231
LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
1232
end
1233
atkdd = true
1234
chara.Humanoid.WalkSpeed = 24
1235
del = false
1236
end
1237
1238
--Back Explosion--
1239
function BackEx()
1240
del = true
1241
atkd = true
1242
chatfunc("Evade!")
1243
chara.Humanoid.WalkSpeed = 0
1244
for i = 0,.6,.2 do
1245
wait(.001)
1246
TC.C0 = clerp(ITCF,TCF,.4+i)
1247
end
1248
TC.C0 = TCF
1249
HC.C0 = HCF
1250
local bfos = Instance.new("BodyVelocity",chara.Torso)
1251
bfos.P = 10000
1252
bfos.MaxForce = Vector3.new(bfos.P,bfos.P,bfos.P)
1253
bfos.Velocity = Vector3.new(0,200,0)
1254
for i = 0,.6,.2 do
1255
wait(.001)
1256
TC.C0 = clerp(TCF,(TCF + Vector3.new(0,1,0)),.4+i)
1257
HC.C0 = clerp(HCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(40)),.4+i)
1258
RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),.4+i)
1259
LW.C0 = ILWF
1260
end
1261
SwingSnd:Play()
1262
for i = 0,1,.25 do
1263
wait(.001)
1264
TC.C0 = clerp((TCF + Vector3.new(0,1,0)),(TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),i)
1265
RW.C0 = (RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0)
1266
LW.C0 = ILWF
1267
end
1268
GunPlode()
1269
bfos.Velocity = Vector3.new(0,200,0)+chara.HumanoidRootPart.CFrame.lookVector * -100
1270
for i = 0,1,.25 do
1271
wait(.001)
1272
TC.C0 = clerp((TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),(TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(360),0,0),i)
1273
RW.C0 = (RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0)
1274
LW.C0 = ILWF
1275
end
1276
bfos:Destroy()
1277
for i = 0,1,.25 do
1278
wait(.001)
1279
TC.C0 = clerp((TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(360),0,0),ITCF,i)
1280
HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(0,math.rad(20),math.rad(90)),IHCF,i)
1281
RW.C0 = clerp((RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),IRWF,i)
1282
end
1283
del = false
1284
atkdd = true
1285
chara.Humanoid.WalkSpeed = 24
1286
end
1287
1288
--Grab Move--
1289
function GrabMove()
1290
del = true
1291
atkd = true
1292
chara.Humanoid.WalkSpeed = 0
1293
chatfunc("Have this.")
1294
exeact = true
1295
wait(.01)
1296
SwingSnd:Play()
1297
local bfos = Instance.new("BodyVelocity",chara.Torso)
1298
bfos.P = 10000
1299
bfos.MaxForce = Vector3.new(bfos.P,0,bfos.P)
1300
bfos.Velocity = chara.HumanoidRootPart.CFrame.lookVector * 500
1301
debby:AddItem(bfos,.1)
1302
for i = 0,.6,.2 do
1303
wait(.001)
1304
TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
1305
HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
1306
RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
1307
LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
1308
end
1309
wait(.5)
1310
if exed == true then
1311
exeact = false
1312
for i = 0,.6,.2 do
1313
wait(.001)
1314
HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),HCF * CFrame.fromEulerAnglesXYZ(0,math.rad(-60),math.rad(90)),.4+i)
1315
LW.C0 = clerp((LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(150)),.4+i)
1316
end
1317
wait(.5)
1318
PlaySnd(GunFlameSnd,chara)
1319
PlaySnd(ExpSnd,chara)
1320
PlaySnd(BulletGSnd,chara)
1321
CasingDrop("Left")
1322
local hitpt = Instance.new("Part",game.Workspace)
1323
hitpt.Size = Vector3.new(1,1,1)
1324
hitpt.Anchored = true
1325
hitpt.CanCollide = false
1326
hitpt.BrickColor = BrickColor.new("Bright yellow")
1327
hitpt.CFrame = BulletSpawn2.CFrame * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
1328
local hitb = Instance.new("Part",game.Workspace)
1329
hitb.Size = Vector3.new(1,1,1)
1330
hitb.Anchored = true
1331
hitb.CanCollide = false
1332
hitb.BrickColor = BrickColor.new("Bright yellow")
1333
hitb.Material = "Neon"
1334
hitb.CFrame = CFrame.new(hitpt.Position.x,hitpt.Position.y,hitpt.Position.z) * CFrame.fromEulerAnglesXYZ(math.random(math.rad(-30),math.rad(30)),math.random(math.rad(-30),math.rad(30)),math.random(math.rad(-30),math.rad(30)))
1335
local hitbm = Instance.new("SpecialMesh",hitb)
1336
hitbm.MeshType = "Sphere"
1337
hitbm.Scale = Vector3.new(1,1,1)
1338
local hitm = Instance.new("SpecialMesh",hitpt)
1339
hitm.MeshId = "http://www.roblox.com/asset/?id=3270017"
1340
local hpt = coroutine.wrap(function()
1341
for i = 1, 9 do
1342
wait(.05)
1343
hitpt.Transparency = hitpt.Transparency + .1
1344
hitm.Scale = hitm.Scale + Vector3.new(.5,.5,.5)
1345
hitb.Transparency = hitb.Transparency + .1
1346
hitbm.Scale = hitbm.Scale + Vector3.new(.5,.5,.5)
1347
end
1348
hitpt:Destroy()
1349
hitb:Destroy()
1350
end)
1351
hpt()
1352
exed = false
1353
weldd:Destroy()
1354
ExHitbox(5,BulletSpawn2.Position,24,2,.1,50,50)
1355
wait(1)
1356
for i = 0,.6,.2 do
1357
wait(.001)
1358
TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
1359
HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,math.rad(-60),math.rad(90)),.6-i)
1360
RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-150)),.6-i)
1361
LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
1362
end
1363
elseif exed == false then
1364
exeact = false
1365
for i = 0,.6,.2 do
1366
wait(.001)
1367
TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
1368
HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
1369
RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
1370
LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
1371
end
1372
end
1373
chara.Humanoid.WalkSpeed = 24
1374
atkdd = true
1375
del = false
1376
end
1377
1378
--Ray Overdrive--
1379
function RayOver()
1380
del = true
1381
atkd = true
1382
chara.Humanoid.WalkSpeed = 0
1383
chatfunc("Ray Overdrive!")
1384
SuperPause()
1385
for i = 0,.6,.2 do
1386
wait(.001)
1387
TC.C0 = clerp(ITCF,TCF,.4+i)
1388
HC.C0 = clerp(IHCF,HCF,.4+i)
1389
RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
1390
LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
1391
end
1392
TC.C0 = TCF
1393
HC.C0 = HCF
1394
RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
1395
LW.C0 = (LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90))
1396
wait(.5)
1397
GunFlameSnd.Pitch = .7
1398
for i = 0,.6,.2 do
1399
wait(.001)
1400
TC.C0 = clerp(TCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
1401
end
1402
TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
1403
HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90))
1404
RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
1405
LW.C0 = (LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90))
1406
GunFlameSnd:Play()
1407
BulletGSnd:Play()
1408
CasingDrop("Left")
1409
Laser(Hitbox2,targetted.Head)
1410
wait(.5)
1411
for i = 0,.6,.2 do
1412
wait(.001)
1413
TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
1414
end
1415
TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90))
1416
HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
1417
RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
1418
LW.C0 = (LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90))
1419
GunFlameSnd:Play()
1420
BulletGSnd:Play()
1421
CasingDrop("Right")
1422
Laser(Hitbox1,targetted.Head)
1423
wait(.5)
1424
for i = 0,.6,.2 do
1425
wait(.001)
1426
TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),TCF,.4+i)
1427
end
1428
TC.C0 = TCF
1429
HC.C0 = HCF
1430
local bfos = Instance.new("BodyVelocity",chara.Torso)
1431
bfos.P = 10000
1432
bfos.MaxForce = Vector3.new(bfos.P,bfos.P,bfos.P)
1433
bfos.Velocity = Vector3.new(0,600,0)+chara.HumanoidRootPart.CFrame.lookVector * -300
1434
for i = 0,.6,.2 do
1435
wait(.001)
1436
TC.C0 = clerp(TCF,(TCF + Vector3.new(0,1,0)),.4+i)
1437
HC.C0 = clerp(HCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(40)),.4+i)
1438
RW.C0 = clerp((RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),.4+i)
1439
LW.C0 = clerp((LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),ILWF,.4+i)
1440
end
1441
SwingSnd:Play()
1442
for i = 0,1,.25 do
1443
wait(.001)
1444
TC.C0 = clerp((TCF + Vector3.new(0,1,0)),(TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),i)
1445
RW.C0 = (RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0)
1446
LW.C0 = ILWF
1447
end
1448
PlaySnd(GunFlameSnd,chara)
1449
PlaySnd(BulletGSnd,chara)
1450
CasingDrop("Right")
1451
Laser(Hitbox1,targetted.Head)
1452
PlaySnd(GunFlameSnd,chara)
1453
PlaySnd(BulletGSnd,chara)
1454
CasingDrop("Left")
1455
Laser(Hitbox2,targetted.Head)
1456
bfos:Destroy()
1457
GunFlameSnd.Pitch = 1
1458
for i = 0,1,.25 do
1459
wait(.001)
1460
TC.C0 = clerp((TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),(TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(360),0,0),i)
1461
RW.C0 = (RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0)
1462
LW.C0 = ILWF
1463
end
1464
for i = 0,1,.25 do
1465
wait(.001)
1466
TC.C0 = clerp((TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(360),0,0),ITCF,i)
1467
HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(0,math.rad(20),math.rad(90)),IHCF,i)
1468
RW.C0 = clerp((RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),IRWF,i)
1469
end
1470
del = false
1471
atkdd = true
1472
chara.Humanoid.WalkSpeed = 24
1473
end
1474
1475
--Minigun--
1476
function Minigun()
1477
del = true
1478
atkd = true
1479
chatfunc("Summon Arsenal: Ferir Zero!")
1480
SuperPause()
1481
for i = 0,.6,.2 do
1482
wait(.001)
1483
TC.C0 = clerp(ITCF,TCF,.4+i)
1484
HC.C0 = clerp(IHCF,HCF,.4+i)
1485
RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
1486
LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
1487
end
1488
TC.C0 = TCF
1489
HC.C0 = HCF
1490
RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
1491
LW.C0 = (LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90))
1492
for a = .1,1,.1 do
1493
local gch1 = Gun1:GetChildren()
1494
local gch2 = Gun2:GetChildren()
1495
wait(.001)
1496
for i = 1, #gch1 do
1497
if gch1[i] ~= Handle1 and gch1[i] ~= Hitbox1 then
1498
gch1[i].Transparency = a
1499
end
1500
end
1501
for i = 1, #gch2 do
1502
if gch2[i] ~= Handle2 and gch2[i] ~= Hitbox2 then
1503
gch2[i].Transparency = a
1504
end
1505
end
1506
end
1507
for i = 0,.6,.2 do
1508
wait(.001)
1509
TC.C0 = clerp(TCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
1510
HC.C0 = clerp(HCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
1511
RW.C0 = clerp((RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),RWF * CFrame.fromEulerAnglesXYZ(math.rad(-45),0,0),.4+i)
1512
LW.C0 = clerp((LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),LWF * CFrame.fromEulerAnglesXYZ(math.rad(-45),0,0),.4+i)
1513
end
1514
RW.C0 = RWF * CFrame.fromEulerAnglesXYZ(math.rad(-45),0,0)
1515
local Minigun = New("Part",chara,"Minigun",{Transparency = 1,Transparency = 1,Size = Vector3.new(1, 8, 2),CFrame = CFrame.new(26.999979, 1.6000222, 45.0999527, 1.81951127e-05, 1, -1.16825559e-05, 2.54704446e-06, 1.16825104e-05, 1, 1, -1.81952728e-05, -2.54687802e-06),})
1516
local Mesh = New("SpecialMesh",Minigun,"Mesh",{Scale = Vector3.new(2, 2, 2),MeshId = "http://www.roblox.com/asset?id=71947307",TextureId = "http://www.roblox.com/asset?id=71947249",MeshType = Enum.MeshType.FileMesh,})
1517
local Weld = New("ManualWeld",Minigun,"Weld",{Part0 = Minigun,Part1 = chara["Right Arm"],C0 = CFrame.new(0, 0, 0, 1.81951127e-05, 2.54704446e-06, 1, 1, 1.16825104e-05, -1.81952728e-05, -1.16825559e-05, 1, -2.54687802e-06),C1 = CFrame.new(-3.49995232, -1.06061363, 0.35357666, -1, 0, 0, 0, 0.707106829, -0.707106829, 0, -0.707106829, -0.707106829),})
1518
for i = .1,1,.1 do
1519
wait(.001)
1520
Minigun.Transparency = 1 - i
1521
end
1522
for i = 1, 20 do
1523
wait(.001)
1524
PlaySnd(MinigunSnd,chara)
1525
local Targ = targetted.Head
1526
local Partt = Minigun
1527
local EffectPart = Instance.new("Part",game.Workspace)
1528
EffectPart.Size = Vector3.new(1,1,1)
1529
EffectPart.Anchored = true
1530
EffectPart.BrickColor = BrickColor.new("Bright yellow")
1531
EffectPart.Material = "Neon"
1532
EffectPart.Position = Targ.Position
1533
EffectPart.CFrame = CFrame.new(Targ.Position.x,Targ.Position.y,Targ.Position.z)
1534
local mehs1 = Instance.new("SpecialMesh",EffectPart)
1535
mehs1.MeshType = "Sphere"
1536
mehs1.Scale = Vector3.new(.1,.1,.1)
1537
local P = Instance.new("Part") 
1538
local Place0 = Partt.CFrame + Partt.CFrame.upVector*4
1539
local Place1 = EffectPart.CFrame
1540
local meshla = Instance.new("BlockMesh", P)
1541
meshla.Scale = Vector3.new(.1,.1,1)
1542
P.formFactor = 0 
1543
P.Size = Vector3.new(1,1,(Place0.p - Place1.p).magnitude) 
1544
P.Name = "Laser" 
1545
P.CFrame = CFrame.new((Place0.p + Place1.p)/2,Place0.p) 
1546
P.Parent = game.Workspace 
1547
P.BrickColor = BrickColor.new("Bright yellow")
1548
P.Material = "Neon"
1549
P.Anchored = true 
1550
P.CanCollide = false 
1551
P.Locked = true 
1552
P.BottomSurface = "Smooth" 
1553
P.TopSurface = "Smooth" 
1554
ExHitbox(3,Place1.p,3,1,.05,10,2)
1555
local fu = coroutine.wrap(function()
1556
for i = 1, 10 do
1557
wait(.001)
1558
mehs1.Scale = mehs1.Scale + Vector3.new(.1,.1,.1)
1559
meshla.Scale = meshla.Scale + Vector3.new(.05,.05,0)
1560
EffectPart.Transparency = EffectPart.Transparency + .1
1561
P.Transparency = P.Transparency + .1
1562
end
1563
----
1564
P:Destroy()
1565
EffectPart:Destroy()
1566
end)
1567
fu()
1568
end
1569
MiniStopSnd:Play()
1570
wait(.5)
1571
for i = .1,1,.1 do
1572
wait(.001)
1573
Minigun.Transparency = i
1574
end
1575
Minigun:Destroy()
1576
for i = 0,.6,.2 do
1577
wait(.001)
1578
TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),ITCF,.4+i)
1579
HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),IHCF,.4+i)
1580
RW.C0 = clerp(RWF * CFrame.fromEulerAnglesXYZ(math.rad(-45),0,0),IRWF,.4+i)
1581
LW.C0 = clerp(LWF * CFrame.fromEulerAnglesXYZ(math.rad(-45),0,0),ILWF,.4+i)
1582
end
1583
for a = .1,1,.1 do
1584
local gch1 = Gun1:GetChildren()
1585
local gch2 = Gun2:GetChildren()
1586
wait(.001)
1587
for i = 1, #gch1 do
1588
if gch1[i] ~= Handle1 and gch1[i] ~= Hitbox1 then
1589
gch1[i].Transparency = 1-a
1590
end
1591
end
1592
for i = 1, #gch2 do
1593
if gch2[i] ~= Handle2 and gch2[i] ~= Hitbox2 then
1594
gch2[i].Transparency = 1-a
1595
end
1596
end
1597
end
1598
atkdd = true
1599
del = false
1600
end
1601
1602
function RocketBlast()
1603
del = true
1604
atkd = true
1605
chatfunc("Rocket Barrage!")
1606
SuperPause()
1607
for i = 0,.6,.2 do
1608
wait(.001)
1609
TC.C0 = clerp(ITCF,TCF,.4+i)
1610
HC.C0 = clerp(IHCF,HCF,.4+i)
1611
RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
1612
LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
1613
end
1614
TC.C0 = TCF
1615
HC.C0 = HCF
1616
RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
1617
LW.C0 = (LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90))
1618
local bpos = Instance.new("BodyPosition",chara.Torso)
1619
bpos.Position = chara.Torso.Position + Vector3.new(0,20,0)
1620
bpos.MaxForce = Vector3.new(10000,10000,10000)
1621
wait(1)
1622
for i = 1,3 do
1623
	RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
1624
	LW.C0 = (LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90))
1625
	MissileSnd:Play()
1626
    local missile = Instance.new("Part",game.Workspace)
1627
    missile.Size = Vector3.new(0,0,1.2)
1628
    missile.Name = "Blast" 
1629
    missile.TopSurface = 0
1630
    missile.BottomSurface = 0
1631
    missile.Position = BulletSpawn1.Position
1632
    missile.CFrame = BulletSpawn1.CFrame
1633
    missile.Velocity = BulletSpawn1.CFrame.lookVector*100
1634
	missile.CFrame = CFrame.new(BulletSpawn1.Position,BulletSpawn1.Position + BulletSpawn1.CFrame.upVector*2)
1635
    local p1mit = Instance.new("ParticleEmitter",missile)
1636
	p1mit.Texture = "rbxasset://textures/particles/smoke_main.dds"
1637
	p1mit.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,BrickColor.new("Bright orange").Color),ColorSequenceKeypoint.new(1,BrickColor.new("Bright yellow").Color)})
1638
	p1mit.LightEmission = 1
1639
	p1mit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)})
1640
	p1mit.Lifetime = NumberRange.new(1)
1641
	p1mit.Rate = 10000
1642
	p1mit.Rotation = NumberRange.new(0,359)
1643
	p1mit.RotSpeed = NumberRange.new(100)
1644
	p1mit.Speed = NumberRange.new(0)
1645
	local mesh1 = Instance.new("SpecialMesh",missile)
1646
    mesh1.MeshId = "http://www.roblox.com/asset/?id=111879014"
1647
	mesh1.TextureId = "http://www.roblox.com/asset/?id=111878985"
1648
	mesh1.Scale = Vector3.new(1.2,1.2,1.2)
1649
    local force = Instance.new("BodyForce")
1650
    force.force = Vector3.new(0,missile:GetMass()*game.Workspace.Gravity,0)
1651
    force.Parent = missile
1652
    local bf = Instance.new("BodyVelocity",missile)
1653
    bf.P = 10000
1654
    bf.MaxForce = Vector3.new(bf.P,bf.P,bf.P)
1655
	bf.Velocity = BulletSpawn1.CFrame.upVector*100
1656
	local gy = Instance.new("BodyGyro",missile)
1657
	gy.MaxTorque = Vector3.new(0,0,0)
1658
    local chase = coroutine.wrap(function()
1659
	wait(.3)
1660
    while wait() do
1661
    if targetted ~= nil then
1662
    local torsy = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso")
1663
    bf.Velocity = (torsy.Position - missile.Position).unit*100
1664
	gy.CFrame = CFrame.new(missile.Position, targetted.Head.Position)
1665
	gy.maxTorque = Vector3.new(9000,9000,9000)
1666
    end
1667
    end
1668
    end)
1669
    chase()
1670
    missile.Touched:connect(function(hit)
1671
    if (hit.Parent.Parent ~= chara and hit.Parent ~= chara and hit.Name ~= "Blast" and missile.Anchored == false) then
1672
    missile.Anchored = true
1673
	PlaySnd(ExpSnd,missile)	
1674
	p1mit.Enabled = false
1675
	mesh1.MeshId = "http://www.roblox.com/asset/?id=1290033"
1676
	mesh1.TextureId = "http://www.roblox.com/asset/?id=3126553"
1677
    ExHitbox(8,missile.Position,15,3,.05,30,50)
1678
    wait(0.1)
1679
    missile.Transparency = .25
1680
    missile.Mesh.Scale = Vector3.new(2,2,2)
1681
    wait(0.1)
1682
    missile.Transparency = .5
1683
    missile.Mesh.Scale = Vector3.new(4,4,4)
1684
    wait(0.1)
1685
    missile.Transparency = .75
1686
    missile.Mesh.Scale = Vector3.new(6,6,6)
1687
    wait(0.1)
1688
    missile:Destroy()
1689
    end
1690
    end)
1691
	wait(.1)
1692
    debby:AddItem(missile,10)
1693
	MissileSnd:Play()
1694
	local missile2 = Instance.new("Part",game.Workspace)
1695
    missile2.Size = Vector3.new(0,0,1.2)
1696
    missile2.Name = "Blast" 
1697
    missile2.TopSurface = 0
1698
    missile2.BottomSurface = 0
1699
    missile2.Position = BulletSpawn2.Position
1700
    missile2.CFrame = BulletSpawn2.CFrame
1701
    missile2.Velocity = BulletSpawn2.CFrame.lookVector*100
1702
	missile2.CFrame = CFrame.new(BulletSpawn2.Position,BulletSpawn2.Position + BulletSpawn2.CFrame.upVector*2)
1703
    local p2mit = Instance.new("ParticleEmitter",missile2)
1704
	p2mit.Texture = "rbxasset://textures/particles/smoke_main.dds"
1705
	p2mit.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,BrickColor.new("Bright orange").Color),ColorSequenceKeypoint.new(1,BrickColor.new("Bright yellow").Color)})
1706
	p2mit.LightEmission = 1
1707
	p2mit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)})
1708
	p2mit.Lifetime = NumberRange.new(1)
1709
	p2mit.Rate = 10000
1710
	p2mit.Rotation = NumberRange.new(0,359)
1711
	p2mit.RotSpeed = NumberRange.new(100)
1712
	p2mit.Speed = NumberRange.new(0)
1713
	local mesh2 = Instance.new("SpecialMesh",missile2)
1714
    mesh2.MeshId = "http://www.roblox.com/asset/?id=111879014"
1715
	mesh2.TextureId = "http://www.roblox.com/asset/?id=111878985"
1716
	mesh2.Scale = Vector3.new(1.2,1.2,1.2)
1717
    local force2 = Instance.new("BodyForce")
1718
    force2.force = Vector3.new(0,missile:GetMass()*game.Workspace.Gravity,0)
1719
    force2.Parent = missile2
1720
    local bf2 = Instance.new("BodyVelocity",missile2)
1721
    bf2.P = 10000
1722
    bf2.MaxForce = Vector3.new(bf2.P,bf2.P,bf2.P)
1723
	bf2.Velocity = BulletSpawn2.CFrame.upVector*100
1724
    local gy2 = Instance.new("BodyGyro",missile2)
1725
	gy2.MaxTorque = Vector3.new(0,0,0)
1726
    local chase2 = coroutine.wrap(function()
1727
	wait(.3)
1728
    while wait() do
1729
    if targetted ~= nil then
1730
    local torsy = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso")
1731
    bf2.Velocity = (torsy.Position - missile2.Position).unit*100
1732
	gy2.CFrame = CFrame.new(missile2.Position, targetted.Head.Position)
1733
	gy2.maxTorque = Vector3.new(9000,9000,9000)
1734
    end
1735
    end
1736
    end)
1737
    chase2()
1738
    missile2.Touched:connect(function(hit)
1739
    if (hit.Parent.Parent ~= chara and hit.Parent ~= chara and hit.Name ~= "Blast" and missile2.Anchored == false) then
1740
	missile2.Anchored = true
1741
	PlaySnd(ExpSnd,missile2)	
1742
	p2mit.Enabled = false
1743
	mesh2.MeshId = "http://www.roblox.com/asset/?id=1290033"
1744
	mesh2.TextureId = "http://www.roblox.com/asset/?id=3126553"
1745
    ExHitbox(8,missile2.Position,15,3,.05,30,50)
1746
    wait(0.1)
1747
    missile2.Transparency = .25
1748
    missile2.Mesh.Scale = Vector3.new(2,2,2)
1749
    wait(0.1)
1750
    missile2.Transparency = .5
1751
    missile2.Mesh.Scale = Vector3.new(4,4,4)
1752
    wait(0.1)
1753
    missile2.Transparency = .75
1754
    missile2.Mesh.Scale = Vector3.new(6,6,6)
1755
    wait(0.1)
1756
    missile2:Destroy()
1757
    end
1758
    end)
1759
    debby:AddItem(missile2,10)
1760
	wait(.1)
1761
end
1762
for i = 0,.6,.2 do
1763
wait(.001)
1764
TC.C0 = clerp(ITCF,TCF,.6-i)
1765
HC.C0 = clerp(IHCF,HCF,.6-i)
1766
RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
1767
LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
1768
end
1769
bpos:Destroy()
1770
atkdd = true
1771
del = false
1772
end
1773
1774
--Lock On--
1775
function LockOn()
1776
if Mouse.Target.Parent ~= chara and Mouse.Target.Parent.Parent ~= chara and Mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
1777
TargetSelect(Mouse.Target.Parent)
1778
TargetSnd:Play()
1779
wait(.05)
1780
TargetSnd:Play()
1781
else end
1782
end
1783
1784
--Block--
1785
blockval = false
1786
healthlock = 0
1787
effeff = nil
1788
function ToggleBlock()
1789
if blockval == false then
1790
del = true
1791
blockval = true
1792
SwingSnd:Play()
1793
healthlock = chara.Humanoid.Health
1794
effeff = Instance.new("ForceField",chara)
1795
effeff.Name = "FawsFeeld"
1796
effeff.Visible = false
1797
for i = 0,.75,.25 do
1798
wait(.0001)
1799
TC.C0 = clerp(ITCF,TCF,.4+i)
1800
HC.C0 = clerp(IHCF,HCF,.4+i)
1801
LW.C0 = clerp(ILWF,(LWF + Vector3.new(-.5,1,-.5)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),.4+i)
1802
RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1,-.5)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),.4+i)
1803
end
1804
elseif blockval == true then
1805
SwingSnd:Play()
1806
effeff:Destroy()
1807
blockval = false
1808
for i = 0,.6,.2 do
1809
wait(.0001)
1810
TC.C0 = clerp(ITCF,TCF,.6-i)
1811
HC.C0 = clerp(IHCF,HCF,.6-i)
1812
LW.C0 = clerp(ILWF,(LWF + Vector3.new(-.5,1,-.5)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),.6-i)
1813
RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1,-.5)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),.6-i)
1814
end
1815
del = false
1816
atkdd = true
1817
end
1818
end
1819
1820
--Mouse Functions--
1821
orbpushactive = false
1822
del = false
1823
input = ""
1824
letterd = 0
1825
ltoim = 0
1826
function onKeyDown(key)
1827
if key == "e" then
1828
ToggleBlock()
1829
elseif del == false then
1830
if key == "q" then
1831
if input == "sd" and targetted ~= nil then
1832
ABlast()
1833
elseif input == "dsas" and targetted ~= nil then
1834
RayOver()
1835
elseif input == "ssdd" and targetted ~= nil then
1836
Minigun()
1837
elseif input == "dasd" and targetted ~= nil then
1838
RocketBlast()
1839
elseif input == "ss" then
1840
BackEx()
1841
elseif input == "add" then
1842
GrabMove()
1843
else LockOn() end
1844
input = ""
1845
letterd = 0
1846
ltoim = 0
1847
elseif key == "z" then
1848
Punch()
1849
input = ""
1850
letterd = 0
1851
ltoim = 0
1852
elseif key == "x" then
1853
if input == "sa" then
1854
BanditRevolver()
1855
elseif input == "ss" then
1856
FlipKick()
1857
else KickAtk() end
1858
input = ""
1859
letterd = 0
1860
ltoim = 0
1861
elseif key == "c" then
1862
if input == "dsd" then
1863
Decapitator()
1864
else ExplodPunch() end
1865
input = ""
1866
letterd = 0
1867
ltoim = 0
1868
elseif (key == "w" or key == "a" or key == "s" or key == "d") then
1869
input=input..key
1870
print(input)
1871
letterd = letterd + 1
1872
ltoim = ltoim + 10
1873
if letterd > 5 then
1874
input = ""
1875
letterd = 0
1876
ltoim = 0
1877
end
1878
elseif key == "m" then
1879
if Music.IsPlaying == true then
1880
Music:Stop()
1881
elseif Music.IsPlaying == false then
1882
Music:Play()
1883
end
1884
end
1885
end
1886
end
1887
combo = 0
1888
1889
--Mouse Activation--
1890
if Mouse then
1891
Mouse.KeyDown:connect(onKeyDown)
1892
end
1893
1894
--Loop Function--
1895
walking = false
1896
toim = 0
1897
while true do
1898
wait()
1899
toim = toim + .1
1900
ltoim = ltoim - 1
1901
if ltoim < 1 then
1902
input = ""
1903
end
1904
if blockval == true then
1905
chara.Humanoid.Health = healthlock
1906
end
1907
if atkd == true then
1908
TC.C0 = TCF
1909
HC.C0 = HCF
1910
RW.C0 = RWF
1911
LW.C0 = LWF
1912
atkd = false
1913
end
1914
if atkdd == true then
1915
TC.C0 = ITCF
1916
HC.C0 = IHCF
1917
RW.C0 = IRWF
1918
LW.C0 = ILWF
1919
atkdd = false
1920
end
1921
torvel = (chara.HumanoidRootPart.Velocity*Vector3.new(1,0,1)).magnitude
1922
if torvel < 1 and walking == true and del == false and atkd == false then
1923
for i = 0,1,.5 do
1924
wait(.001)
1925
if del == false then
1926
TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),ITCF,i)
1927
HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(-30),0,0),IHCF,i)
1928
RW.C0 = IRWF
1929
LW.C0 = clerp((LWF + Vector3.new(0,.2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(20)),ILWF,i)
1930
end
1931
end
1932
walking = false
1933
elseif torvel > 1 and walking == false and del == false and atkd == false then
1934
for i = 0,1,.5 do
1935
wait(.001)
1936
if del == false then
1937
TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),i)
1938
HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(-30),0,0),i)
1939
RW.C0 = IRWF
1940
LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,.2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(20)),i)
1941
end
1942
end
1943
walking = true
1944
else
1945
end
1946
imgl.Rotation = imgl.Rotation + 3
1947
if targetted ~= nil then
1948
crosshair.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso")
1949
crosshair.Enabled = true
1950
elseif targetted == nil then
1951
crosshair.Adornee = nil
1952
crosshair.Enabled = false
1953
end
1954
end