View difference between Paste ID: z6UbDU1q and rZDrmx2y
SHOW: | | - or go back to the newest paste.
1
--https://github.com/Mokiros/roblox-FE-compatibility
2
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
3
local Player,game,owner = owner,game
4
local RealPlayer = Player
5
do
6
	print("FE Compatibility code V2 by Mokiros")
7
	local RealPlayer = RealPlayer
8
	script.Parent = RealPlayer.Character
9
10
	--Fake event to make stuff like Mouse.KeyDown work
11
	local Disconnect_Function = function(this)
12
		this[1].Functions[this[2]] = nil
13
	end
14
	local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
15
	local FakeEvent_Metatable = {__index={
16
		Connect = function(this,f)
17
			local i = tostring(math.random(0,10000))
18
			while this.Functions[i] do
19
				i = tostring(math.random(0,10000))
20
			end
21
			this.Functions[i] = f
22
			return setmetatable({this,i},Disconnect_Metatable)
23
		end
24
	}}
25
	FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
26
	local function fakeEvent()
27
		return setmetatable({Functions={}},FakeEvent_Metatable)
28
	end
29
30
	--Creating fake input objects with fake variables
31
    local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
32
    FakeMouse.keyUp = FakeMouse.KeyUp
33
    FakeMouse.keyDown = FakeMouse.KeyDown
34
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
35
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
36
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
37
	end}
38
	--Merged 2 functions into one by checking amount of arguments
39
	CAS.UnbindAction = CAS.BindAction
40
41
	--This function will trigger the events that have been :Connect()'ed
42
	local function TriggerEvent(self,ev,...)
43
		for _,f in pairs(self[ev].Functions) do
44
			f(...)
45
		end
46
	end
47
	FakeMouse.TriggerEvent = TriggerEvent
48
	UIS.TriggerEvent = TriggerEvent
49
50
	--Client communication
51
	local Event = Instance.new("RemoteEvent")
52
	Event.Name = "UserInput_Event"
53
	Event.OnServerEvent:Connect(function(plr,io)
54
	    if plr~=RealPlayer then return end
55
		FakeMouse.Target = io.Target
56
		FakeMouse.Hit = io.Hit
57
		if not io.isMouse then
58
			local b = io.UserInputState == Enum.UserInputState.Begin
59
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
60
				return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
61
			end
62
			if io.UserInputType == Enum.UserInputType.MouseButton2 then
63
				return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
64
			end
65
			for _,t in pairs(CAS.Actions) do
66
				for _,k in pairs(t.Keys) do
67
					if k==io.KeyCode then
68
						t.Function(t.Name,io.UserInputState,io)
69
					end
70
				end
71
			end
72
			FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
73
			UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
74
	    end
75
	end)
76
	Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
77
	local Mouse = owner:GetMouse()
78
	local UIS = game:GetService("UserInputService")
79
	local input = function(io,RobloxHandled)
80
		if RobloxHandled then return end
81
		--Since InputObject is a client-side instance, we create and pass table instead
82
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
83
	end
84
	UIS.InputBegan:Connect(input)
85
	UIS.InputEnded:Connect(input)
86
	local h,t
87
	--Give the server mouse data every second frame, but only if the values changed
88
	--If player is not moving their mouse, client won't fire events
89
	local HB = game:GetService("RunService").Heartbeat
90
	while true do
91
		if h~=Mouse.Hit or t~=Mouse.Target then
92
			h,t=Mouse.Hit,Mouse.Target
93
			Event:FireServer({isMouse=true,Target=t,Hit=h})
94
		end
95
		--Wait 2 frames
96
		for i=1,2 do
97
			HB:Wait()
98
		end
99
	end]==],script)
100
101
	----Sandboxed game object that allows the usage of client-side methods and services
102
	--Real game object
103
	local RealGame = game
104
105
	--Metatable for fake service
106
	local FakeService_Metatable = {
107
		__index = function(self,k)
108
			local s = rawget(self,"_RealService")
109
			if s then
110
				return typeof(s[k])=="function"
111
				and function(_,...)return s[k](s,...)end or s[k]
112
			end
113
		end,
114
		__newindex = function(self,k,v)
115
			local s = rawget(self,"_RealService")
116
			if s then s[k]=v end
117
		end
118
	}
119
	local function FakeService(t,RealService)
120
		t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
121
		return setmetatable(t,FakeService_Metatable)
122
	end
123
124
	--Fake game object
125
	local FakeGame = {
126
		GetService = function(self,s)
127
			return rawget(self,s) or RealGame:GetService(s)
128
		end,
129
		Players = FakeService({
130
			LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
131
		},"Players"),
132
		UserInputService = FakeService(UIS,"UserInputService"),
133
		ContextActionService = FakeService(CAS,"ContextActionService"),
134
		RunService = FakeService({
135
			_btrs = {},
136
			RenderStepped = RealGame:GetService("RunService").Heartbeat,
137
			BindToRenderStep = function(self,name,_,fun)
138
				self._btrs[name] = self.Heartbeat:Connect(fun)
139
			end,
140
			UnbindFromRenderStep = function(self,name)
141
				self._btrs[name]:Disconnect()
142
			end,
143
		},"RunService")
144
	}
145
	rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
146
	FakeGame.service = FakeGame.GetService
147
	FakeService(FakeGame,game)
148
	--Changing owner to fake player object to support owner:GetMouse()
149
	game,owner = FakeGame,FakeGame.Players.LocalPlayer
150
end
151
152
wait(.25)--made by yoyyo75 :3
153
run = game:GetService("RunService")
154
local player = game.Players.LocalPlayer;char = player.Character;char.Archivable = true;
155
hrp = char:findFirstChild("HumanoidRootPart");head = char:findFirstChild("Head");ra = char:findFirstChild("Right Arm");la = char:findFirstChild("Left Arm");t = char:findFirstChild("Torso");humanoid = char:findFirstChild("Humanoid");ll = char:findFirstChild("Left Leg");rl = char:findFirstChild("Right Leg");
156
if player.Backpack:findFirstChild("WindKatana") then
157
player.Backpack:findFirstChild("WindKatana").Parent = nil
158
end
159
local hb = Instance.new("HopperBin", player.Backpack)
160
hb.Name = "WindKatana"
161
sword = Instance.new("Model");sword.Name = "WindKatana"
162
script.Parent =  hb;idol = true
163
if char:findFirstChild(hb.Name) then
164
char:findFirstChild(hb.Name):Destroy()
165
end
166
equip=false;anim = false;banim=false;click=false;damageon=false;DMG=0;edown=false;canjump=true;running=false;don=false;Damag = 10;fell = true;lenormal=true;lerun=false;canjump=true;locanrun=false;ss=false;canboost = true
167
if char:findFirstChild(hb.Name) then
168
char:findFirstChild(hb.Name).Parent = nil
169
end
170
function weldIt(p1,p2,r1,r2,place)
171
	local w = Instance.new("Weld")
172
	if place then
173
		w.Parent = place
174
	else
175
		w.Parent = p1
176
	end
177
	w.Part0 = p1
178
	w.Part1 = p2
179
	w.C0 = r1
180
	if r2 then
181
	w.C1 = r2
182
	end
183
	return w
184
end
185
186
187
188
Add = {
189
	part = function(color,size,pos, place, naym,scale, thing,mt,ccd,id,transparent,loool,ff,yos)
190
		if loool ~= nil then
191
		balleff = Instance.new(loool, place)
192
		else
193
		balleff = Instance.new("Part", place)
194
		balleff.Material = "SmoothPlastic"
195
		balleff.TopSurface = "SmoothNoOutlines"
196
		balleff.BottomSurface = "SmoothNoOutlines"
197
		balleff.RightSurface = "SmoothNoOutlines"
198
		balleff.LeftSurface = "SmoothNoOutlines"
199
		end
200
		balleff.Name = naym
201
		balleff.Anchored= true
202
		balleff.CFrame = pos
203
		if loool == nil then
204
		balleff.Shape = thing
205
		end
206
		if ff then
207
			balleff.FormFactor = ff
208
		end
209
		balleff.CanCollide = ccd;balleff.Transparency = transparent;
210
		balleff.TopSurface = 0
211
		balleff.BottomSurface = 0
212
		balleff.Size = size
213
		balleff.BrickColor = BrickColor.new(color)
214
		if not yos then
215
		mesh = Instance.new("SpecialMesh",balleff)
216
		mesh.MeshType = mt
217
		else
218
		mesh = Instance.new(yos,balleff)
219
		end
220
		mesh.Scale = scale
221
		if mt == "FileMesh" then
222
			mesh.MeshId = id
223
		end
224
		balleff.Parent = place
225
		return balleff
226
	end,
227
	bp = function(parent,num,p)
228
		lop = Instance.new("BodyPosition",parent)
229
		lop.Name = num
230
		lop.maxForce = Vector3.new(math.huge,math.huge,math.huge)
231
		lop.position = p
232
		return lop
233
	end,
234
	BG = function(P,cf)
235
		local bg = Instance.new("BodyGyro",P)
236
		bg.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
237
		bg.P = 14000
238
		bg.cframe = cf
239
		return bg
240
	end
241
}
242
243
244
245
246
247
248
249
250
-- MAKING THE BLADE---
251
Lite= Add.part("Mid gray",Vector3.new(0.300000042, 0.299999982, 0.399999976),CFrame.new(-185.849991, 1.64999986, -65.3999939, 0, -1, 0, 1, 0, -0, 0, 0, 1),sword,"Lite",Vector3.new(0.800000012, 0.800000012, 0.699999988),"Block","Brick",false,nil,0,Part,"Custom")
252
Dark= Add.part("Black",Vector3.new(0.400000066, 0.799999952, 0.49999997),CFrame.new(-185.991409, 1.50857925, -65.3999939, -0.707106709, -0.707106709, 0, 0.707106709, -0.707106709, 0, 0, 0, 1),sword,"Dark",Vector3.new(0.100000001, 0.949999988, 0.574999988),"Block","Brick",false,nil,0,Part,"Custom")
253
Dark= Add.part("Black",Vector3.new(0.400000066, 0.399999976, 0.399999976),CFrame.new(-185.991409, 1.50857735, -65.3999939, 0, -1, 0, 1, 0, -0, 0, 0, 1),sword,"Dark",Vector3.new(1, 1, 0.600000024),"Block","Brick",false,nil,0,Part,"Custom")
254
Blade= Add.part("Medium stone grey",Vector3.new(0.900000036, 0.200000003, 0.399999976),CFrame.new(-183.909775, 3.94065022, -65.3999939, 0.500000119, -0.866025269, 0, 0.866025269, 0.500000119, 0, 0, 0, 1),sword,"Blade",Vector3.new(1, 1, 0.200000003),"Block","Brick",false,nil,0,Part,"Custom")
255
Blade= Add.part("Medium stone grey",Vector3.new(0.900000036, 0.200000003, 0.399999976),CFrame.new(-183.803696, 3.83458066, -65.3799896, 0.500000119, 0.866025269, 1.44789709e-007, 0.866025269, -0.500000119, -6.87506159e-008, 1.28551001e-008, 1.5976687e-007, -1),sword,"Blade",Vector3.new(1, 0.5, 0.100000001),"Block","Wedge",false,nil,0,Part,"Custom")
256
Blade= Add.part("Medium stone grey",Vector3.new(0.900000036, 0.200000003, 0.399999976),CFrame.new(-185.531784, 1.82677507, -65.3999939, 0.707106829, -0.707106709, 0, 0.707106709, 0.707106829, 0, 0, 0, 1),sword,"Blade",Vector3.new(1, 1, 0.200000003),"Block","Brick",false,nil,0,Part,"Custom")
257
Dark= Add.part("Black",Vector3.new(0.300000042, 0.299999982, 0.399999976),CFrame.new(-185.849991, 1.64999986, -65.3999939, 0, -1, 0, 1, 0, -0, 0, 0, 1),sword,"Dark",Vector3.new(1, 1, 0.600000024),"Block","Brick",false,nil,0,Part,"Custom")
258
Dark= Add.part("Black",Vector3.new(0.200000077, 0.200000003, 0.5),CFrame.new(-185.991409, 1.50857735, -65.3999939, 0, -1, 0, 1, 0, -0, 0, 0, 1),sword,"Dark",Vector3.new(1, 1, 0.600000024),"Block","Brick",false,nil,0,Part,"Custom")
259
Lite= Add.part("Mid gray",Vector3.new(0.400000066, 0.399999976, 0.399999976),CFrame.new(-185.991409, 1.50857735, -65.3999939, 0, -1, 0, 1, 0, -0, 0, 0, 1),sword,"Lite",Vector3.new(0.800000012, 0.800000012, 0.699999988),"Block","Brick",false,nil,0,Part,"Custom")
260
BPart= Add.part("Black",Vector3.new(0.5, 0.399999976, 0.399999976),CFrame.new(-187.087418, 0.412563771, -65.3999939, 0.707106769, -0.70710665, 0, 0.70710665, 0.707106769, 0, 0, 0, 1),sword,"BPart",Vector3.new(0.300000012, 1, 0.800000012),"Block","Cylinder",false,nil,0,Part,"Custom")
261
Dark= Add.part("Black",Vector3.new(0.300000042, 0.299999982, 0.399999976),CFrame.new(-186.132828, 1.36715674, -65.3999939, 0, -1, 0, 1, 0, -0, 0, 0, 1),sword,"Dark",Vector3.new(1, 1, 0.600000024),"Block","Brick",false,nil,0,Part,"Custom")
262
Blade= Add.part("Medium stone grey",Vector3.new(1, 0.200000003, 0.399999976),CFrame.new(-185.461075, 1.68535447, -65.4199982, -0.707106948, 0.70710659, 4.49529054e-008, -0.70710659, -0.707106948, -1.68587405e-007, -8.74227553e-008, -1.50995817e-007, 1),sword,"Blade",Vector3.new(1, 0.5, 0.100000001),"Block","Wedge",false,nil,0,Part,"Custom")
263
Blade= Add.part("Medium stone grey",Vector3.new(0.450000018, 0.200000003, 0.399999976),CFrame.new(-183.487625, 4.42047977, -65.4199982, -0.42261827, 0.906307817, 6.54755326e-008, -0.906307817, -0.42261827, -1.5063398e-007, -1.08849591e-007, -1.23001655e-007, 1),sword,"Blade",Vector3.new(1, 0.5, 0.100000001),"Block","Wedge",false,nil,0,Part,"Custom")
264
Lite= Add.part("Mid gray",Vector3.new(0.300000042, 0.299999982, 0.399999976),CFrame.new(-186.132828, 1.36715674, -65.3999939, 0, -1, 0, 1, 0, -0, 0, 0, 1),sword,"Lite",Vector3.new(0.800000012, 0.800000012, 0.699999988),"Block","Brick",false,nil,0,Part,"Custom")
265
Blade= Add.part("Medium stone grey",Vector3.new(0.900000036, 0.200000003, 0.399999976),CFrame.new(-184.824173, 2.3771975, -65.4199982, -0.642787755, 0.766044319, 4.49529054e-008, -0.766044319, -0.642787755, -1.68587405e-007, -1.00250247e-007, -1.42801824e-007, 1),sword,"Blade",Vector3.new(1, 0.5, 0.100000001),"Block","Wedge",false,nil,0,Part,"Custom")
266
Blade= Add.part("Medium stone grey",Vector3.new(0.200000048, 0.400000006, 0.399999976),CFrame.new(-183.458023, 4.85696697, -65.3999939, -4.58588154e-008, 0.34202069, -0.939692378, -1.01666373e-008, 0.939692378, 0.34202069, 1, 2.52381778e-008, -3.96159798e-008),sword,"Blade",Vector3.new(0.400000006, 1, 0.5),"Block","Wedge",false,nil,0,Part,"Custom")
267
Blade= Add.part("Medium stone grey",Vector3.new(0.900000036, 0.200000003, 0.399999976),CFrame.new(-184.28212, 3.08361006, -65.3799896, 0.57357651, 0.819151938, 1.44790121e-007, 0.819151938, -0.57357651, -6.87501966e-008, 2.67313585e-008, 1.58038603e-007, -1),sword,"Blade",Vector3.new(1, 0.5, 0.100000001),"Block","Wedge",false,nil,0,Part,"Custom")
268
Blade= Add.part("Medium stone grey",Vector3.new(0.900000036, 0.200000003, 0.399999976),CFrame.new(-184.824173, 2.3771956, -65.3799896, 0.642787695, 0.766044378, 1.25616637e-007, 0.766044378, -0.642787695, -8.79236737e-008, 1.33913973e-008, 1.52744178e-007, -1),sword,"Blade",Vector3.new(1, 0.5, 0.100000001),"Block","Wedge",false,nil,0,Part,"Custom")
269
Blade= Add.part("Medium stone grey",Vector3.new(1, 0.200000003, 0.399999976),CFrame.new(-185.461075, 1.68535447, -65.3799896, 0.707106829, 0.707106709, 1.06770145e-007, 0.707106709, -0.707106829, -1.06770166e-007, 0, 1.50995803e-007, -1),sword,"Blade",Vector3.new(1, 0.5, 0.100000001),"Block","Wedge",false,nil,0,Part,"Custom")
270
Blade= Add.part("Medium stone grey",Vector3.new(0.5, 0.200000003, 0.399999976),CFrame.new(-183.40889, 4.83704281, -65.3799896, -0.0871555209, 0.99619472, 2.72493907e-007, 0.99619472, 0.0871555209, 5.89535674e-008, 3.49798697e-008, 2.76595131e-007, -1),sword,"Blade",Vector3.new(1, 0.5, 0.100000001),"Block","Wedge",false,nil,0,Part,"Custom")
271
Blade= Add.part("Medium stone grey",Vector3.new(0.400000036, 0.200000003, 0.399999976),CFrame.new(-183.604263, 4.50388622, -65.3999939, 0.42261833, -0.906307757, 0, 0.906307757, 0.42261833, 0, 0, 0, 1),sword,"Blade",Vector3.new(1, 1, 0.200000003),"Block","Brick",false,nil,0,Part,"Custom")
272
Handle= Add.part("Medium stone grey",Vector3.new(1.20000005, 0.399999976, 0.399999976),CFrame.new(-186.627823, 0.872184277, -65.3999939, 0.707106769, -0.70710665, 0, 0.70710665, 0.707106769, 0, 0, 0, 1),sword,"Handle",Vector3.new(1, 1, 0.600000024),"Block","Cylinder",false,nil,0,Part,"Custom")
273
Blade= Add.part("Medium stone grey",Vector3.new(0.450000018, 0.200000003, 0.399999976),CFrame.new(-183.487625, 4.4204855, -65.3799896, 0.422614396, 0.906309605, 1.64295614e-007, 0.906309605, -0.422614396, -4.92447079e-008, 2.48027376e-008, 1.69714212e-007, -1),sword,"Blade",Vector3.new(1, 0.5, 0.100000001),"Block","Wedge",false,nil,0,Part,"Custom")
274
Blade= Add.part("Medium stone grey",Vector3.new(0.900000036, 0.200000003, 0.399999976),CFrame.new(-184.930252, 2.48326516, -65.3999939, 0.642787695, -0.766044378, 0, 0.766044378, 0.642787695, 0, 0, 0, 1),sword,"Blade",Vector3.new(1, 1, 0.200000003),"Block","Brick",false,nil,0,Part,"Custom")
275
Blade= Add.part("Medium stone grey",Vector3.new(0.900000036, 0.200000003, 0.399999976),CFrame.new(-184.28212, 3.08361387, -65.4199982, -0.57357657, 0.819151938, 4.49529622e-008, -0.819151938, -0.57357657, -1.6858732e-007, -1.12314666e-007, -1.33521056e-007, 1),sword,"Blade",Vector3.new(1, 0.5, 0.100000001),"Block","Wedge",false,nil,0,Part,"Custom")
276
Blade= Add.part("Medium stone grey",Vector3.new(0.900000036, 0.200000003, 0.399999976),CFrame.new(-183.803696, 3.83458257, -65.4199982, -0.500000179, 0.866025329, 6.55408243e-008, -0.866025329, -0.500000179, -1.5046507e-007, -9.75361445e-008, -1.31992579e-007, 1),sword,"Blade",Vector3.new(1, 0.5, 0.100000001),"Block","Wedge",false,nil,0,Part,"Custom")
277
Blade= Add.part("Medium stone grey",Vector3.new(0.5, 0.200000003, 0.399999976),CFrame.new(-183.40889, 4.83704853, -65.4199982, 0.0871553719, 0.99619472, 6.76225653e-008, -0.99619472, 0.0871553719, -1.49568123e-007, -1.54892646e-007, -5.43295755e-008, 1),sword,"Blade",Vector3.new(1, 0.5, 0.100000001),"Block","Wedge",false,nil,0,Part,"Custom")
278
Core= Add.part("Bright red",Vector3.new(0.200000077, 0.200000003, 0.5),CFrame.new(-185.991409, 1.50857735, -65.3999939, 0, -1, 0, 1, 0, -0, 0, 0, 1),sword,"Core",Vector3.new(0.800000012, 0.800000012, 0.699999988),"Block","Brick",false,nil,0,Part,"Custom")
279
Blade= Add.part("Medium stone grey",Vector3.new(0.900000036, 0.200000003, 0.399999976),CFrame.new(-184.388199, 3.18968129, -65.3999939, 0.57357651, -0.819151998, 0, 0.819151998, 0.57357651, 0, 0, 0, 1),sword,"Blade",Vector3.new(1, 1, 0.200000003),"Block","Brick",false,nil,0,Part,"Custom")
280
hitbox= Add.part("Medium stone grey",Vector3.new(1, 3.46000004, 1),CFrame.new(-184.459076, 3.10561037, -65.4410172, 0.060511604, 0.598099828, -0.799133182, -0.0353691019, 0.801382124, 0.597104728, 0.997539937, -0.0078676939, 0.0696469769),sword,"hitbox",Vector3.new(1, 1, 1),"Block","Brick",false,nil,1,Part,"Brick")
281
282
while not ra or not la or not t or not humanoid or not head or not ll or not rl or not hrp do
283
	wait()
284
end
285
	hrpw = hrp:findFirstChild("RootJoint");lh = t:findFirstChild("Left Hip");rh = t:findFirstChild("Right Hip");rs = t:findFirstChild("Right Shoulder");ls = t:findFirstChild("Left Shoulder");neck = t:findFirstChild("Neck");
286
while not ls or not rs or not neck or not hrpw do
287
		wait()
288
end
289
co = hrpw.C0
290
moop = {}
291
function Hit(p)
292
	if don then
293
		Damagefunc(p,Damag-5,Damag+5,math.random(10,30),"Normal") end
294
	if QHIT then
295
		if not checkintable(p.Parent, moop) then
296
		Damagefunc(p,Damag+5,Damag+15,math.random(10,30),"Normal");
297
		table.insert(moop, p.Parent);else print("herena") end
298
	end
299
end
300
301
302
nu = sword:GetChildren()
303
for i = 1, #nu do
304
if nu[i].Name ~= "Handle" then
305
	if nu[i].Name == "Blade" or nu[i].Name == "hitbox" then
306
		nu[i].Touched:connect(Hit)
307
	end
308
	w = Instance.new("Weld", sword.Handle)
309
	w.Part0 = sword.Handle
310
	w.Part1 = nu[i]
311
	w.C0 = sword.Handle.CFrame:toObjectSpace(nu[i].CFrame)
312
	nu[i].Anchored = false
313
end
314
end
315
sword.Handle.Anchored = false;sword.Parent = char
316
function backweld()
317
bw = weldIt(t,Handle,CFrame.new(1.15,-0.85,-1)*CFrame.Angles(math.rad(25),math.rad(-90),0),nil)
318
return bw
319
end
320
321
backweld()
322
323
function checkintable(chek, tabl)
324
	for i = 1, #tabl do
325
		if tabl[i] == check then
326
		return true
327
		end
328
	end
329
	return false
330
end
331
------function of le splash-------------
332
333
function splash()
334
local blcf = hitbox.CFrame*CFrame.new(-.125,.2,0)
335
if scfr and (hitbox.Position-scfr.p).magnitude > .1 then
336
local h = 4.7
337
local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
338
if a then game.Debris:AddItem(a,.1) end if b then game.Debris:AddItem(b,.1) end
339
local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
340
if a then game.Debris:AddItem(a,.1) end if b then game.Debris:AddItem(b,.1) end
341
scfr = blcf
342
elseif not scfr then
343
scfr = blcf
344
end
345
end
346
function rest(num)
347
for i = 0, 1, 0.13 do 
348
if combo ~= num then
349
return 
350
end
351
normal(i)
352
wait()
353
end
354
if combo ~= num then
355
return 
356
end
357
scfr=nil;anim = false;running=false;canslash=false;combo=4;runit()
358
end
359
-------------------------slashr------------------------------------------------------slashr------------------------------------------------------slashr-----------------------------
360
slash ={
361
function()
362
anim = true
363
364
for i = 0, 1, 0.23 do
365
animate("Toso",(co-Vector3.new(0,0.4,0)),0,math.rad(5),math.rad(170),i);
366
	animate("rr",CFrame.new(1.5,0.5,0),0,math.rad(95),math.rad(110),i);animate("lr",CFrame.new(-1.5,0.5,0),math.rad(-45),0,math.rad(-25),i)
367
	animate("bw",CFrame.new(0,-1,0),0,math.rad(90),0,i)
368
	animate("hr",CFrame.new(0,1,0),0,math.rad(-90),0,i)
369
	animate("reg",CFrame.new(0.5,-1.1,-0.65),math.rad(-15),0,0,i)
370
	animate("leg",CFrame.new(-0.5,-1.2,0),math.rad(-25),0,0,i)
371
	wait()
372
end
373
wait()
374
don = true;attackdebounce = false;scfr = nil
375
for i = 0, 1, 0.16 do
376
wait()
377
splash()
378
animate("Toso",(co-Vector3.new(0,0,0)),0,math.rad(0),math.rad(20),i);animate("hr",CFrame.new(0,1,0),0,math.rad(-20),0,i)
379
	animate("reg",CFrame.new(0.5,-1.5,0),math.rad(0),0,0,i)
380
	animate("leg",CFrame.new(-0.5,-1.5,0),math.rad(0),0,0,i)
381
	animate("rr",CFrame.new(1.5,0.5,0),0,math.rad(-60),math.rad(110),i);
382
end
383
scfr = nil;don = false;canslash=true;
384
rest(1)
385
end,
386
387
388
389
function()
390
anim = true
391
for i = 0, 1, 0.24 do
392
animate("bw",CFrame.new(0,-1,0),math.rad(20),math.rad(90),math.rad(0),i)
393
animate("Toso",(co-Vector3.new(0,0,0)),0,math.rad(0),math.rad(-50),i);animate("hr",CFrame.new(0,1,0),0,math.rad(10),0,i)
394
animate("reg",CFrame.new(0.5,-1.5,0),math.rad(0),0,math.rad(10),i)
395
animate("leg",CFrame.new(-0.5,-1.5,0),math.rad(0),0,0,i)
396
animate("rr",CFrame.new(1.5,0.5,0),math.rad(90),math.rad(0),math.rad(110),i);
397
wait()
398
end
399
wait();don = true;attackdebounce = false;scfr=nil;
400
for i = 0, 1, 0.2 do
401
wait()
402
splash()
403
animate("bw",CFrame.new(0,-1,0),math.rad(-60),math.rad(90),math.rad(0),i)
404
animate("Toso",(co-Vector3.new(0,0.3,0)),math.rad(40),math.rad(0),math.rad(0),i);animate("hr",CFrame.new(0,1,0),math.rad(40),math.rad(10),0,i)
405
animate("reg",CFrame.new(0.5,-1.2,-0.2),math.rad(10),0,math.rad(10),i)
406
animate("leg",CFrame.new(-0.5,-1.2,-0.6),math.rad(30),0,0,i)
407
animate("rr",CFrame.new(1.2,0.5,-0.3),math.rad(75),math.rad(0),math.rad(-40),i);
408
end
409
scfr = nil;don = false;canslash=true
410
rest(2)
411
end,
412
function()
413
anim = true;
414
for i = 0, 1, 0.24 do
415
wait();
416
animate("bw",CFrame.new(0,-1,0),math.rad(0),math.rad(90),math.rad(0),i)
417
animate("Toso",(co-Vector3.new(0,0,0)),0,math.rad(0),math.rad(30),i);animate("hr",CFrame.new(0,1,0),0,math.rad(-30),0,i)
418
animate("reg",CFrame.new(0.5,-1.5,0),math.rad(0),0,math.rad(15),i)
419
animate("leg",CFrame.new(-0.5,-1.5,0),math.rad(0),0,math.rad(-15),i)
420
animate("rr",CFrame.new(1,0.6,-0.25),math.rad(180),math.rad(40),math.rad(-70),i);
421
end;don = true;attackdebounce = false;scfr=nil
422
for i = 0, 1, 0.2 do
423
wait()
424
splash()
425
animate("bw",CFrame.new(0,-1,0),math.rad(-40),math.rad(90),math.rad(0),i)
426
animate("Toso",(co-Vector3.new(0,0,0)),0,math.rad(0),math.rad(-50),i);animate("hr",CFrame.new(0,1,0),0,math.rad(50),0,i)
427
animate("reg",CFrame.new(0.5,-1.5,0),math.rad(20),0,math.rad(6),i)
428
animate("leg",CFrame.new(-0.5,-1.5,0),math.rad(-10),0,math.rad(-10),i)
429
animate("rr",CFrame.new(1.5,0.5,0),math.rad(0),math.rad(60),math.rad(50),i);
430
end
431
scfr = nil;don = false;canslash=true
432
rest(3)
433
end,
434
function()
435
anim = true
436
for i = 0, 1, 0.24 do
437
animate("bw",CFrame.new(0,-1,0),math.rad(-100),math.rad(90),math.rad(0),i)
438
animate("Toso",(co-Vector3.new(0,0.6,0)),0,math.rad(0),math.rad(-40),i);animate("hr",CFrame.new(0,1,0),0,math.rad(-30),0,i)
439
animate("reg",CFrame.new(0.5,-0.9,-0.5),math.rad(0),0,math.rad(15),i)
440
animate("leg",CFrame.new(-0.5,-0.9,0.15),math.rad(-45),0,math.rad(0),i)
441
animate("rr",CFrame.new(1.4,0.5,0),math.rad(0),math.rad(0),math.rad(75),i);
442
wait()
443
end;wait();don = true;attackdebounce = false;scfr=nil
444
for i = 0, 1, 0.24 do
445
wait();splash()
446
animate("bw",CFrame.new(0,-1,0),math.rad(0),math.rad(90),math.rad(0),i)
447
animate("Toso",(co-Vector3.new(0,0,0)),0,math.rad(0),math.rad(30),i);animate("hr",CFrame.new(0,1,0),0,math.rad(-30),0,i)
448
animate("reg",CFrame.new(0.5,-1.5,0),math.rad(0),0,math.rad(15),i)
449
animate("leg",CFrame.new(-0.5,-1.5,0),math.rad(0),0,math.rad(-15),i)
450
animate("rr",CFrame.new(1,0.6,-0.25),math.rad(180),math.rad(40),math.rad(-70),i);
451
end;scfr = nil;don = false;canslash=true;rest(4)
452
end
453
}
454
-------------------------slashr------------------------------------------------------slashr------------------------------------------------------slashr-----------------------------
455
456
combo = 4;canslash=false
457
458
459
function clik()
460
	if not anim or canslash then
461
	canslash=false;scfr = nil
462
	if combo == 4 then
463
	combo=1;slash[1]();
464
	elseif combo == 1 then
465
	combo=2;slash[2]()
466
	elseif combo == 2 then
467
	combo=3;slash[3]()
468
	elseif combo == 3 then
469
	combo=4;slash[4]()
470
	end
471
	end
472
end
473
QHIT = false;
474
skills = {
475
function(mouse)
476
anim = true;locanrun=true;canjump=false
477
normal(1)
478
mh = mouse.Hit.p
479
x,y,z = (CFrame.new(char.Torso.Position,Vector3.new(mh.X,char.Torso.Position.Y,mh.Z))):toEulerAnglesXYZ()
480
char.Torso.CFrame = CFrame.new(char.Torso.Position,Vector3.new(mh.X,char.Torso.Position.Y,mh.Z))
481
wait();QHIT = true
482
for i = 0, 1, 0.333333 do
483
animate("bw",CFrame.new(0,-1,0),math.rad(-90),math.rad(90),math.rad(0),i)
484
animate("Toso",(co-Vector3.new(0,0.4,0)),0,math.rad(5),math.rad(-90),i);animate("hr",CFrame.new(0,1,0),math.rad(-10),math.rad(90),0,i)
485
animate("rr",CFrame.new(1.2,0.5,-1),math.rad(90),math.rad(0),math.rad(-90),i);
486
wait()
487
end
488
wait();moop={};
489
for i = 0, 1, 0.333333 do
490
animate("bw",CFrame.new(0,-1,0),math.rad(-90),math.rad(90),math.rad(0),i)
491
animate("Toso",(co-Vector3.new(0,0.4,0)),0,math.rad(5),math.rad(90),i);	animate("hr",CFrame.new(0,1,0),math.rad(-10),math.rad(-70),0,i)
492
animate("rr",CFrame.new(1.5,0.5,0),math.rad(90),math.rad(0),math.rad(90),i);
493
wait()
494
end;mufu={}
495
wind1= Add.part("Institutional white",Vector3.new(4, 1.2, 1),(hitbox.CFrame-Vector3.new(0,1,0))*CFrame.Angles(math.rad(-10),0,math.rad(90)),sword,"wind",Vector3.new(1.6, 1.1, 1.1),"Block","Sphere",false,nil,0.69999998807907,Part,"Brick")
496
wind2= Add.part("Really black",Vector3.new(4, 1.2, 1),(hitbox.CFrame-Vector3.new(0,1,0))*CFrame.Angles(math.rad(-10),0,math.rad(90)),sword,"wind",Vector3.new(1.6, 1.1, 1.1),"Block","Sphere",false,nil,0.60000002384186,Part,"Brick");wind2.Mesh.Offset = Vector3.new(0.4,0,0)
497
wind3= Add.part("Medium stone grey",Vector3.new(4, 1.2, 1),(hitbox.CFrame-Vector3.new(0,1,0))*CFrame.Angles(math.rad(-10),0,math.rad(90)),sword,"wind",Vector3.new(1.6, 1.1, 1.1),"Block","Sphere",false,nil,0.5,Part,"Brick");wind3.Mesh.Offset = Vector3.new(0.6,0,0)
498
wind1.CFrame = hitbox.CFrame*CFrame.Angles(math.rad(-10),0,math.rad(90))-Vector3.new(0,0.3,0);wind2.CFrame = hitbox.CFrame*CFrame.Angles(math.rad(-10),0,math.rad(90))-Vector3.new(0,0.3,0);wind3.CFrame = hitbox.CFrame*CFrame.Angles(math.rad(-10),0,math.rad(90))-Vector3.new(0,0.3,0)
499
eff2 = Add.part("Medium stone grey", Vector3.new(), hitbox.CFrame*CFrame.Angles(1,1,1),char,"effect",Vector3.new(1,1,1),"Block","Brick",false,nil,0.4,Part,"Brick")
500
eff1 = Add.part("Medium stone grey", Vector3.new(1,1,1), hitbox.CFrame*CFrame.Angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),char,"effect",Vector3.new(1,1,1),"Block","Brick",false,nil,0.4,Part,"Brick")
501
eff3= Add.part("White",Vector3.new(1, 1, 1),hitbox.CFrame*CFrame.new(0,0,-1),char,"effect",Vector3.new(1.5, 1.5, 1),"Block","FileMesh",false,"http://www.roblox.com/asset/?id=3270017",0.8,Part,"Symmetric")
502
eff4= Add.part("Black",Vector3.new(1, 1, 1),hitbox.CFrame*CFrame.new(0,0,-1.5),char,"effect",Vector3.new(1.25, 1.25, 1),"Block","FileMesh",false,"http://www.roblox.com/asset/?id=3270017",0.8,Part,"Symmetric")
503
eff1.CFrame = hitbox.CFrame*CFrame.Angles(math.random(-360,360),math.random(-360,360),math.random(-360,360));eff2.CFrame = hitbox.CFrame*CFrame.Angles(math.random(-360,360),math.random(-360,360),math.random(-360,360))
504
eff3.CFrame = (hitbox.CFrame*CFrame.new(0,-1,0))*CFrame.Angles(math.rad(90),0,0);eff4.CFrame=(hitbox.CFrame*CFrame.new(0,-1.5,0))*CFrame.Angles(math.rad(90),0,0)
505
table.insert(mufu,wind1);table.insert(mufu,wind2);table.insert(mufu,wind3);
506
		coroutine.resume(coroutine.create(function(p1,p2,p3,p4,cf1)
507
		for i = 0,1,1/13 do
508
		p1.CFrame = (cf1*CFrame.new(0,3*i,-.5*i))*CFrame.Angles(math.rad(math.random(-400,400)),math.rad(math.random(-400,400)),math.rad(math.random(-400,400)));p1.Transparency=p1.Transparency+(0.6*(1/13))
509
		p2.CFrame = (cf1*CFrame.new(0,3*i,-.5*i))*CFrame.Angles(math.rad(math.random(-400,400)),math.rad(math.random(-400,400)),math.rad(math.random(-400,400)));p2.Transparency=p2.Transparency+(0.6*(1/13))
510
		p3.CFrame = (cf1*CFrame.new(0,-1+8*i,0.17-(8*(0.5/3))*i)*CFrame.Angles(math.rad(90),0,0));p3.Mesh.Scale = Vector3.new(1.5+1*i,1.5+1*i,1);p3.Transparency = 0.8+0.3*i
511
		p4.CFrame = (cf1*CFrame.new(0,-1.5+7.5*i,0.17-(7.5*(0.5/3))*i)*CFrame.Angles(math.rad(90),0,0));p4.Mesh.Scale = Vector3.new(1.25+1*i,1.25+1*i,1);p4.Transparency = 0.8+0.3*i
512
		wait();
513
		end;p1.Parent=nil;p2.Parent=nil;p3.Parent=nil;p4.Parent=nil
514
		end),eff1,eff2,eff3,eff4,hitbox.CFrame)
515
for x = 1, #mufu do
516
coroutine.resume(coroutine.create(function(wind,hey,trans,mehx)
517
	for i = 0, 1, (1/13) do
518
	wind.Mesh.Scale = Vector3.new(hey.X+1*i,hey.Y-hey.Y*i,hey.Z-hey.Z*i)
519
	wind.Mesh.Offset = Vector3.new(mehx+1*i,0,0)
520
	wind.Transparency = trans+(1-trans)*i
521
	wait()
522
	end;wind.Parent=nil
523
end),mufu[x],mufu[x].Mesh.Scale,mufu[x].Transparency,mufu[x].Mesh.Offset.X)
524
end
525
526
527
528
QHIT = false;locanrun=false;canjump=true;lerun=false
529
anim = false;
530
end,
531
function()
532
anim = true;canjump = false
533
bodyp = Add.bp(t,"Stay",t.Position);
534
for i = 0, 1, 1/7 do
535
	animate("bw",CFrame.new(0,-1,0),0,math.rad(90),0,i)
536
	animate("Toso",(co-Vector3.new(0,0.5,0)),math.rad(30),math.rad(0),math.rad(0),i)
537
	animate("hr",CFrame.new(0,1,0),math.rad(-10),math.rad(0),0,i)
538
	animate("rr",CFrame.new(1.5,0.5,0),math.rad(90),math.rad(35),math.rad(-25),i)
539
	animate("lr",CFrame.new(-1.5,0.5,0),math.rad(-15),0,math.rad(-45),i)
540
	animate("reg",CFrame.new(0.5,-1,-0.65),math.rad(25),0,0,i)
541
	animate("leg",CFrame.new(-0.5,-1.3,0),math.rad(5),0,0,i)
542
wait()
543
end;logic = Add.BG(hrp,hrp.CFrame)
544
for i = 1, 10 do
545
boost= Add.part("White",Vector3.new(1, 1, 1),t.CFrame*CFrame.new(0,0,-1),char,"effect",Vector3.new(3, 3, 3),"Block","FileMesh",false,"http://www.roblox.com/asset/?id=20329976",0.3,Part,"Symmetric")
546
boost.CFrame = CFrame.new(t.Position-Vector3.new(0,1.2,0))*CFrame.Angles(0,math.rad(math.random(-360,360)),0)
547
coroutine.resume(coroutine.create(function(mama)
548
	for i = 0, 1, 1/12 do
549
		mama.CFrame = mama.CFrame*CFrame.Angles(0,math.rad(math.random(-360,360)),0);mama.Transparency = 0.3+0.5*i;mama.Mesh.Scale = Vector3.new(3+1*i,3+1*i,3+1*i);
550
	wait()
551
	end;mama.Parent=nil
552
end),boost)
553
wait()
554
end;
555
556
for i = 0, 1, 1/7 do
557
	animate("bw",CFrame.new(0,-1,0),0,math.rad(90),0,i)
558
	animate("Toso",(co-Vector3.new(0,0,0)),math.rad(0),math.rad(0),math.rad(0),i)
559
	animate("hr",CFrame.new(0,1,0),math.rad(0),math.rad(0),0,i)
560
	animate("rr",CFrame.new(1.5,0.5,0),math.rad(0),math.rad(90),math.rad(90),i)
561
	animate("lr",CFrame.new(-1.5,0.5,0),math.rad(-15),0,math.rad(-45),i)
562
	animate("reg",CFrame.new(0.5,-1,-0),math.rad(0),0,math.rad(25),i)
563
	animate("leg",CFrame.new(-0.5,-1,0),math.rad(0),0,math.rad(-25),i)
564
wait()
565
end;
566
567
ball = Add.part("White", Vector3.new(1,1,1), t.CFrame, char, "Effect", Vector3.new(20,20,20), "Block", "Sphere",false,nil,0.7,Part,"Custom")ball.Anchored = false
568
anchor = Add.part("White",Vector3.new(5,5,5),t.CFrame,char,"anchor",Vector3.new(20,20,20),"Block","Sphere",false,nil,1,Part,"Custom");anchor.Anchored = false
569
wind = Add.part("White",Vector3.new(5,5,5),t.CFrame,char,"anchor",Vector3.new(20,20,20),"Block","FileMesh",false,"http://www.roblox.com/asset/?id=1051557",0.6,Part,"Custom");wind.Anchored = false
570
a=weldIt(t,anchor,CFrame.new(0,0,0),CFrame.new(0,0,0),nil);b=weldIt(t,wind,CFrame.new(0,0,0),CFrame.new(0,0,0),nil);c=weldIt(t,ball,CFrame.new(0,0,0),CFrame.new(0,0,0),nil)
571
already = {};weldos={};lepeepz=checkdist(t,17);gage = b.C0
572
573
for i = 1, #lepeepz do
574
 if lepeepz[i] then
575
 haw = weldIt(anchor,lepeepz[i].Torso,anchor.CFrame:toObjectSpace(lepeepz[i].Torso.CFrame),nil,nil)
576
 table.insert(weldos,haw);
577
 end
578
end
579
for i = 0,1, 1/120 do
580
if math.floor((i*120)%30) == 1 then
581
	for x = 1,#lepeepz do
582
	if lepeepz[x] and lepeepz[x]:findFirstChild("Humanoid") and lepeepz[x]:findFirstChild("Torso") then
583
	attackdebounce = false 
584
	Damagefunc(lepeepz[x].Torso,(humanoid.MaxHealth/10),(humanoid.MaxHealth/10),math.random(10,30),"Normal")
585
	end
586
	end
587
end
588
if math.floor((i*120)%4) == 1 then
589
lolbob = Add.part("White",Vector3.new(5,5,5),t.CFrame*CFrame.Angles(math.rad(math.random(-100,100)),math.rad(math.random(-100,100)),math.rad(math.random(-100,100))),char,"anchor",Vector3.new(2.5,2.5,2.5),"Block","FileMesh",false,"rbxassetid://168892432 ",0.4,Part,"Custom")
590
lolbob.CFrame = t.CFrame*CFrame.Angles(0,math.rad(-360,360),0)
591
coroutine.resume(coroutine.create(function(clone)
592
for i = 0, 1, 0.1 do
593
clone.Mesh.Scale = Vector3.new(2.5+5*i,2.5+5*i,2.5+5*i);clone.Transparency = 0.4+0.4*i
594
wait()
595
end;clone.Parent = nil
596
end),lolbob)
597
end
598
animate("Toso",(co-Vector3.new(0,0,0)),math.rad(0),math.rad(0),math.rad((360*16)*i),i);b.C0 = gage*CFrame.Angles(0,math.rad(100*i),0);ball.Transparency = 0.6-0.4*i;wind.Transparency = 0.6-0.4*i
599
for i = 1,#weldos do
600
weldos[i].C0 = weldos[i].C0*CFrame.new(0,0.0625,0)
601
end
602
wait()
603
end;logic.Parent=nil
604
coroutine.resume(coroutine.create(function(a1,a2,a3,ws,w)
605
	for i = 0, 1, 0.1 do
606
	w.C0 = ws*CFrame.Angles(0,math.rad(100*i),0)
607
	a1.Mesh.Scale = Vector3.new(20+3*i,20+3*i,20+3*i);a1.Transparency = 0.2+0.8*i
608
	a2.Mesh.Scale = Vector3.new(20+3*i,20+3*i,20+3*i);a2.Transparency = 0.2+0.8*i
609
	wait()
610
	end;a1.Parent=nil;a2.Parent=nil;a3.Parent=nil;
611
end),wind,ball,anchor,b.C0,b)
612
for i = 1,#weldos do if weldos[i] then weldos[i].Parent = nil end end
613
wait()
614
anim = false;bodyp.Parent=nil;canjump=true;
615
end,
616
function()
617
	niye = sword:GetChildren();guard=true;br = BrickColor.new("Institutional white")
618
	if ss then
619
		br = BrickColor.new("Medium stone grey");guard = false
620
	end
621
	for i = 1,# niye do
622
		if niye[i].Name == "Blade" then
623
			niye[i].BrickColor = br;ss = guard
624
		end
625
	end
626
end,
627
function(bik,rotate)
628
	if not canboost then return end
629
		coroutine.resume(coroutine.create(function(ilan,ratat)
630
	yolo = Add.bp(hrp,"BOPOLS",hrp.Position);canboost=false;
631
	boosts= Add.part("White",Vector3.new(5,5,5),hrp.CFrame,char,"boom",Vector3.new(2.5,2.5,2.5),"Block","FileMesh",false,"http://www.roblox.com/asset/?id=20329976",0.4,Part,"Custom")
632
	boosts.CFrame = (t.CFrame-Vector3.new(0,1.5,0))*CFrame.Angles(0,0,math.rad(ratat))
633
		coroutine.resume(coroutine.create(function(thing)
634
		print("yo")
635
			for i = 0, 1, 0.05 do
636
			thing.Mesh.Scale = Vector3.new(2.5+1*i,2.5+1*i,2.5+1*i);thing.Transparency = 0.4+0.5*i
637
			wait()
638
			end;thing.Parent=nil
639
				end),boosts)
640
	for i = 0, 1, 0.1 do
641
	yolo.position = (hrp.CFrame*CFrame.new(0,0,ilan)).p
642
	wait()
643
	end
644
	yolo.Parent = nil;canboost=true
645
		end),bik,rotate)
646
end
647
}
648
function led(key, mouse)
649
key = key:lower()
650
if anim then return end
651
if key == "z" then
652
skills[1](mouse)
653
elseif key == "x" then
654
skills[2](mouse)
655
elseif key == "r" then
656
skills[3]()
657
elseif key == "c" then
658
skills[4](-15,120)
659
elseif key == "v" then
660
skills[4](10,-120)
661
end
662
end
663
function normal(i)
664
	animate("bw",CFrame.new(0,-1,0),0,math.rad(90),0,i)
665
	animate("Toso",(co-Vector3.new(0,0.4,0)),0,math.rad(5),math.rad(90),i)
666
	animate("hr",CFrame.new(0,1,0),math.rad(-10),math.rad(-70),0,i)
667
	animate("rr",CFrame.new(1.5,0.5,0),math.rad(90),math.rad(115),math.rad(-25),i)
668
	animate("lr",CFrame.new(-1.5,0.5,0),math.rad(35),0,math.rad(-25),i)
669
	animate("reg",CFrame.new(0.5,-1.1,-0.65),math.rad(-15),0,0,i)
670
	animate("leg",CFrame.new(-0.5,-1.2,0),math.rad(-25),0,0,i)
671
end
672
function Equip(mouse)
673
print("yup")
674
if equip then return end
675
	while anim do wait() end
676
	rh.Parent=nil;rs.Parent=nil;lh.Parent=nil;neck.Parent=nil;ls.Parent=nil;rlw = weldIt(t,rl, CFrame.new(0.5,-1.5,0),CFrame.new(0,0.5,0));llw = weldIt(t,ll, CFrame.new(-0.5,-1.5,0),CFrame.new(0,0.5,0));
677
	rw = weldIt(t,ra,CFrame.new(1.5,0.5,0),CFrame.new(0,0.5,0),nil);lw = weldIt(t,la,CFrame.new(-1.5,0.5,0),CFrame.new(0,0.5,0));nw = weldIt(t,head,CFrame.new(0, 1, 0),CFrame.new(0,-0.5,0))
678
	anim = true
679
	bw.Parent = nil;running=false;idol=true;
680
	hw = weldIt(ra,Handle,CFrame.new(0,-1,0)*CFrame.Angles(0,math.rad(90),0),nil)
681
	for i = 0,1,0.1 do
682
	normal(i)
683
	wait(0.0001)
684
	end
685
	mouse.Button1Down:connect(clik)
686
	mouse.KeyDown:connect(function(k) led(k, mouse) end)
687
	equip = true;anim = false;
688
end
689
function unequip(mouse)
690
if not equip then return end
691
	while anim do wait() end
692
	anim = true;ss=false
693
	for i = 0,1,0.1 do
694
	animate("Toso",co-Vector3.new(0,0.4-0.4*i,0),0,0,0,i)
695
	animate("hr",CFrame.new(0,1,0),0,0,0,i)
696
	animate("rr",CFrame.new(1.5,0.5,0),0,0,0,i)
697
	animate("lr",CFrame.new(-1.5,0.5,0),0,0,0,i)
698
	animate("reg",CFrame.new(0.5,-1.5,0),0,0,0,i)
699
	animate("leg",CFrame.new(-0.5,-1.5,0),0,0,0,i)
700
	wait(0.0001)
701
	end
702
	hw.Parent = nil;backweld()
703
	rw.Parent=nil;lw.Parent=nil;hrpw.C0 = co;rlw.Parent=nil;llw.Parent=nil;rh.Parent=t;lh.Parent=t;rs.Parent=t;ls.Parent=t;neck.Parent=t;
704
	equip=false;anim=false
705
end
706
canrun=false
707
function runit()
708
if(t.Velocity*Vector3.new(1, 0, 1)).magnitude > 2 and not anim and equip and fell then
709
running = true;
710
for i = 0, 1,(1/7) do
711
if not anim and equip and running and fell then
712
	animate("bw",CFrame.new(0,-1,0),0,math.rad(90),0,i)
713
	animate("Toso",(co-Vector3.new(0,0.4,0)),0,math.rad(5),math.rad(80),i)
714
	animate("hr",CFrame.new(0,1,0),math.rad(0),math.rad(-80),0,i)
715
	animate("rr",CFrame.new(1.5,0.5,0),math.rad(90),math.rad(45),math.rad(-25),i)
716
	animate("lr",CFrame.new(-1.5,0.5,0),math.rad(-35),0,math.rad(-30),i)
717
	--[[animate("reg",CFrame.new(0.5,-1.1,0.2),math.rad(5),math.rad(-80),0,i)
718
	animate("leg",CFrame.new(-0.5,-1.2,-0.2),math.rad(-2),math.rad(-80),0,i)]]
719
	animate("reg",CFrame.new(0.6,-1.2,0),math.rad(5+35*math.cos((inf-7)/4)),math.rad(-40),0,i)
720
	animate("leg",CFrame.new(-0.6,-1.2,0),math.rad(-2-35*math.cos((inf-7)/4)),math.rad(-40),0,i)
721
wait()
722
else
723
if hw then
724
	hw.C0 = CFrame.new(0,-1,0)*CFrame.Angles(0,math.rad(90),0) end
725
break
726
end
727
end
728
729
end
730
end
731
--[[function run(speed)
732
if speed>0 then
733
734
if (t.Velocity*Vector3.new(1, 0, 1)).magnitude > 2 then
735
runit()
736
end
737
else
738
running = false
739
for i = 0, 1, 0.142 do
740
if not anim and equip and not running then
741
	normal(i)
742
wait()
743
else
744
if hw then
745
	hw.C0 = CFrame.new(0,-1,0)*CFrame.Angles(0,math.rad(90),0) end
746
break
747
end
748
end
749
idol = true
750
end
751
inf = 0
752
end]]
753
754
755
756
757
--to[mem
758
759
760
function Lerp(x,y,inc) return x + (y - x) * inc end
761
762
function animate(mem,cfr,x,y,z,e)
763
	To[mem].X=Lerp(To[mem].X,x,e);To[mem].Y=Lerp(To[mem].Y,y,e);To[mem].Z=Lerp(To[mem].Z,z,e)
764
	To[mem].cf=(cfr-Vector3.new(cfr.X,cfr.Y,cfr.Z))+Vector3.new(Lerp(To[mem].cf.X,cfr.X,e),Lerp(To[mem].cf.Y,cfr.Y,e),Lerp(To[mem].cf.Z,cfr.Z,e))
765
end
766
To={
767
 rr={X=0;Y=0;Z=0;cf=CFrame.new(1.5,0.5,0)};bw={X=math.rad(5);Y=math.rad(90);Z=0;cf=CFrame.new(0,-1,0)};lr={X=0;Y=0;Z=0;cf=CFrame.new(-1.5,0.5,0)};hr={X=0;Y=0;Z=0;cf=CFrame.new(0,1.5,0)};leg={X=0;Y=0;Z=0;cf=CFrame.new(-0.5,-1,0)};reg={X=0;Y=0;Z=0;cf=CFrame.new(0.5,-1,0)};Toso={X=0;Y=0;Z=0;cf=co}
768
}
769
game:service'RunService'.RenderStepped:connect(function()
770
	if rw then rw.C0=To["rr"].cf*CFrame.Angles((To["rr"].X),(To["rr"].Y),(To["rr"].Z)); end
771
	if hw and equip then hw.C0=To["bw"].cf*CFrame.Angles((To["bw"].X),(To["bw"].Y),(To["bw"].Z)) end
772
	if lw then lw.C0=To["lr"].cf*CFrame.Angles((To["lr"].X),(To["lr"].Y),(To["lr"].Z));end
773
	if nw then nw.C0=To["hr"].cf*CFrame.Angles((To["hr"].X),To["hr"].Y,To["hr"].Z);end
774
	if rlw then rlw.C0=To["reg"].cf*CFrame.Angles(To["reg"].X,To["reg"].Y,To["reg"].Z);end
775
	if llw then llw.C0=To["leg"].cf*CFrame.Angles(To["leg"].X,To["leg"].Y,To["leg"].Z);end
776
	if hrpw then hrpw.C0=To["Toso"].cf*CFrame.Angles(To["Toso"].X,To["Toso"].Y,To["Toso"].Z) end
777
end)
778
function NoOutline(Part)
779
Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
780
end
781
---------------------1274182751856210985126509218u8071894718946189406194189410-------------------------------------------
782
---------------------1274182751856210985126509218u8071894718946189406194189410-------------------------------------------
783
---------------------1274182751856210985126509218u8071894718946189406194189410-------------------------------------------
784
local ppart = Instance.new("Part")
785
ppart.Material = "SmoothPlastic"
786
ppart.TopSurface,ppart.BottomSurface = 0,0
787
ppart.FormFactor = "Custom"
788
ppart.Size = Vector3.new(.2,.2,.2)
789
ppart:BreakJoints()
790
ppart.TopSurface = "SmoothNoOutlines"
791
ppart.BottomSurface = "SmoothNoOutlines"
792
ppart.RightSurface = "SmoothNoOutlines"
793
ppart.LeftSurface = "SmoothNoOutlines"
794
ppart.CanCollide = false
795
796
local function CFrameFromTopBack(at, top, back)
797
local right = top:Cross(back)
798
return CFrame.new(at.x, at.y, at.z,
799
right.x, top.x, back.x,
800
right.y, top.y, back.y,
801
right.z, top.z, back.z)
802
end
803
 
804
function Triangle(a, b, c)
805
local edg1 = (c-a):Dot((b-a).unit)
806
local edg2 = (a-b):Dot((c-b).unit)
807
local edg3 = (b-c):Dot((a-c).unit)
808
if edg1 <= (b-a).magnitude and edg1 >= 0 then
809
a, b, c = a, b, c
810
elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
811
a, b, c = b, c, a
812
elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
813
a, b, c = c, a, b
814
else 
815
assert(false, "unreachable")
816
end
817
 
818
local len1 = (c-a):Dot((b-a).unit)
819
local len2 = (b-a).magnitude - len1
820
local width = (a + (b-a).unit*len1 - c).magnitude
821
 
822
local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
823
 
824
local list = {}
825
 
826
if len1 > 0.01 then
827
local w1 = Instance.new('WedgePart', m)
828
w1.Material = "SmoothPlastic"
829
w1.FormFactor = 'Custom'
830
if Mode=="Unactive" then
831
w1.BrickColor = ppart.BrickColor
832
elseif Mode=="Hero" then
833
w1.BrickColor = BrickColor.new("Bright blue")
834
elseif Mode=="Infamous" then
835
w1.BrickColor = BrickColor.new("Bright red")
836
end
837
w1.Transparency = ppart.Transparency
838
w1.Reflectance = ppart.Reflectance
839
w1.Material = ppart.Material
840
w1.CanCollide = ppart.CanCollide
841
NoOutline(w1)
842
local sz = Vector3.new(0.2, width, len1)
843
w1.Size = sz
844
local sp = Instance.new("SpecialMesh",w1)
845
sp.MeshType = "Wedge"
846
sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
847
w1:BreakJoints()
848
w1.Anchored = true
849
w1.Parent = workspace
850
w1.Transparency = 0.8
851
coroutine.resume(coroutine.create(function(Part)
852
for i=0,1,0.1 do
853
wait()
854
Part.Transparency=Part.Transparency+0.02
855
end
856
end),w1)
857
w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
858
table.insert(list,w1)
859
end
860
 
861
if len2 > 0.01 then
862
local w2 = Instance.new('WedgePart', m)
863
w2.Material = "SmoothPlastic"
864
w2.FormFactor = 'Custom'
865
if Mode=="Unactive" then
866
w2.BrickColor = ppart.BrickColor
867
elseif Mode=="Hero" then
868
w2.BrickColor = BrickColor.new("Bright blue")
869
elseif Mode=="Infamous" then
870
w2.BrickColor = BrickColor.new("Bright red")
871
end
872
w2.Transparency = ppart.Transparency
873
w2.Reflectance = ppart.Reflectance
874
w2.Material = ppart.Material
875
w2.CanCollide = ppart.CanCollide
876
NoOutline(w2)
877
local sz = Vector3.new(0.2, width, len2)
878
w2.Size = sz
879
local sp = Instance.new("SpecialMesh",w2)
880
sp.MeshType = "Wedge"
881
sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
882
w2:BreakJoints()
883
w2.Anchored = true
884
w2.Parent = workspace
885
w2.Transparency = 0.8
886
coroutine.resume(coroutine.create(function(Part)
887
for i=0,1,0.1 do
888
wait()
889
Part.Transparency=Part.Transparency+0.02
890
end
891
end),w2)
892
w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
893
table.insert(list,w2)
894
end
895
return unpack(list)
896
end
897
---------------------1274182751856210985126509218u8071894718946189406194189410-------------------------------------------
898
---------------------1274182751856210985126509218u8071894718946189406194189410-------------------------------------------
899
---------------------1274182751856210985126509218u8071894718946189406194189410-------------------------------------------
900
901
902
903
904
------------------------------
905
Damagefunc=function(hit,minim,maxim,knockback,Type,Property)
906
        if hit.Parent==nil then
907
                return
908
        end
909
        CPlayer=Bin 
910
        h=hit.Parent:FindFirstChild("Humanoid")
911
        for _,v in pairs(hit.Parent:children()) do
912
        if v:IsA("Humanoid") then
913
        h=v
914
        end
915
        end
916
        if h~=nil and hit.Parent.Name~=char.Name and hit.Parent:FindFirstChild("Torso")~=nil then
917
        if attackdebounce == false then 
918
        attackdebounce = true 
919
        coroutine.resume(coroutine.create(function() 
920
        wait(0.2) 
921
        attackdebounce = false 
922
        end)) 
923
924
                        c=Instance.new("ObjectValue")
925
                        c.Name="creator"
926
                        c.Value=game:service("Players").LocalPlayer
927
                        c.Parent=h
928
                        game:GetService("Debris"):AddItem(c,.5)
929
                Damage=math.random(minim,maxim)
930
                blocked=false
931
                block=hit.Parent:findFirstChild("Block")
932
                if block~=nil then
933
                if block.Value>0 then
934
                blocked=true
935
                block.Value=block.Value-1
936
                print(block.Value)
937
                end
938
                end
939
                if blocked==false then
940
				print("NOOOOP")
941
                h.Health=h.Health-Damage
942
                showDamage(hit.Parent,Damage,.5,BrickColor:Red())
943
                else
944
				print("NOOOOP")
945
                h.Health=h.Health-(Damage/2)
946
                showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
947
                end
948
                if Type=="Knockdown" then
949
                hum=hit.Parent.Humanoid
950
hum.PlatformStand=true
951
coroutine.resume(coroutine.create(function(HHumanoid)
952
wait(1)
953
HHumanoid.PlatformStand=false
954
end),hum)
955
                local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
956
print(angle)
957
--hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
958
local bodvol=Instance.new("BodyVelocity")
959
bodvol.velocity=angle*knockback
960
bodvol.P=5000
961
bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
962
bodvol.Parent=hit
963
rl=Instance.new("BodyAngularVelocity")
964
rl.P=3000
965
rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
966
rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
967
rl.Parent=hit
968
game:GetService("Debris"):AddItem(bodvol,.5)
969
game:GetService("Debris"):AddItem(rl,.5)
970
                elseif Type=="Normal" then
971
                vp=Instance.new("BodyVelocity")
972
                vp.P=500
973
                vp.maxForce=Vector3.new(math.huge,0,math.huge)
974
				if Rootpart then
975
                vp.velocity=RootPart.CFrame.lookVector*knockback+RootPart.Velocity/1.05
976
				end
977
                if knockback>0 then
978
                        vp.Parent=hit.Parent.Torso
979
                end
980
                game:GetService("Debris"):AddItem(vp,.5)
981
                elseif Type=="Up" then
982
                local bodyVelocity=Instance.new("BodyVelocity")
983
                bodyVelocity.velocity=vt(0,20,0)
984
                bodyVelocity.P=5000
985
                bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
986
                bodyVelocity.Parent=hit
987
                game:GetService("Debris"):AddItem(bodyVelocity,.5)
988
                elseif Type=="Freeze" then
989
                BodPos=Instance.new("BodyPosition")
990
                BodPos.P=50000
991
                BodPos.D=1000
992
                BodPos.maxForce=Vector3.new(math.huge,math.huge,math.huge)
993
                BodPos.position=hit.Parent.Torso.Position
994
                BodPos.Parent=hit.Parent.Torso
995
                BodGy = it("BodyGyro") 
996
                BodGy.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge 
997
                BodGy.P = 20e+003 
998
                BodGy.Parent=hit.Parent.Torso
999
                BodGy.cframe = hit.Parent.Torso.CFrame
1000
                hit.Parent.Torso.Anchored=true
1001
                coroutine.resume(coroutine.create(function(Part) 
1002
                wait(1.5)
1003
                Part.Anchored=false
1004
                end),hit.Parent.Torso)
1005
                game:GetService("Debris"):AddItem(BodPos,3)
1006
                game:GetService("Debris"):AddItem(BodGy,3)
1007
                end
1008
                                c=Instance.new("ObjectValue")
1009
                        c.Name="creator"
1010
                        c.Value=Player
1011
                        c.Parent=h
1012
                        game:GetService("Debris"):AddItem(c,.5)
1013
                CRIT=false
1014
                hitDeb=true
1015
                AttackPos=6
1016
        end
1017
        end 
1018
end
1019
1020
showDamage=function(Char,Dealt,du,Color)
1021
        m=Instance.new("Model")
1022
        m.Name=tostring(Dealt)
1023
        h=Instance.new("Humanoid")
1024
        h.Health=0
1025
        h.MaxHealth=0
1026
        h.Parent=m
1027
        c=Instance.new("Part")
1028
        c.Transparency=0
1029
        c.BrickColor=Color
1030
        c.Name="Head"
1031
        c.TopSurface=0
1032
        c.BottomSurface=0
1033
        c.formFactor="Plate"
1034
        c.Size=Vector3.new(1,.4,1)
1035
        ms=Instance.new("CylinderMesh")
1036
        ms.Scale=Vector3.new(.8,.8,.8)
1037
        if CRIT==true then
1038
                ms.Scale=Vector3.new(1,1.25,1)
1039
        end
1040
        ms.Parent=c
1041
        c.Reflectance=0
1042
        Instance.new("BodyGyro").Parent=c
1043
        c.Parent=m
1044
        c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
1045
        f=Instance.new("BodyPosition")
1046
        f.P=2000
1047
        f.D=100
1048
        f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
1049
        f.position=c.Position+Vector3.new(0,3,0)
1050
        f.Parent=c
1051
        game:GetService("Debris"):AddItem(m,.5+du)
1052
        c.CanCollide=false
1053
        m.Parent=workspace
1054
        c.CanCollide=false
1055
end
1056
 
1057
 function humang()
1058
	if not canjump then
1059
	humanoid.Jump = false
1060
	end
1061
 end
1062
 
1063
 function checkint(tabl,thing)
1064
	for i = 1,#tabl do
1065
		if tabl[i] == thing then
1066
			return true
1067
		end
1068
	end
1069
	return false
1070
 end
1071
 ------------------------------------------------------
1072
 
1073
--humanoid.Running:connect(run)
1074
humanoid.Changed:connect(humang)
1075
hb.Deselected:connect(unequip)
1076
hb.Selected:connect(Equip)
1077
1078
1079
function checkdist(Part,magni)
1080
tabol = {}
1081
for _,c in pairs(workspace:children()) do
1082
local hum=c:findFirstChild("Humanoid")
1083
if hum~=nil then
1084
local head=c:findFirstChild("Torso")
1085
if head~=nil then
1086
local targ=head.Position-Part.Position
1087
local mag=targ.magnitude
1088
if mag<=magni and c.Name~=player.Name then 
1089
table.insert(tabol, c)
1090
end
1091
end
1092
end
1093
end
1094
1095
return tabol
1096
end
1097
1098
1099
1100
inf = 0;lejump = false;
1101
while true do
1102
if inf == 1000 then
1103
inf = 0
1104
end
1105
if (t.Velocity*Vector3.new(1, 0, 1)).magnitude <= 2 and not anim and equip and (fell and (t.Velocity.Y <= 1 and t.Velocity.Y >= -1)) then
1106
lerun=false;if rlw and hrpw and llw then
1107
	if lenormal then
1108
		for i = 0, 1, 0.2 do
1109
		if (t.Velocity*Vector3.new(1, 0, 1)).magnitude <= 2 and not anim and equip and (fell and (t.Velocity.Y <= 1 and t.Velocity.Y >= -1)) then
1110
		normal(i)
1111
		wait()
1112
		else
1113
		break
1114
		end
1115
		end
1116
		lenormal = false
1117
	end
1118
	animate("Toso",co-Vector3.new(0,0.4-0.2*math.cos(inf/23),0),0,math.rad(5),math.rad(90),1)
1119
	animate("reg",CFrame.new(0.5,-1.1-0.2*math.cos(inf/23),-0.65),math.rad(-15),0,0,1)
1120
	animate("leg",CFrame.new(-0.5,-1.2,0),math.rad(-25-15*(-1*math.cos(inf/23))),0,0,1)
1121
	animate("rr",CFrame.new(1.5,0.5,0),math.rad(90),math.rad(115),math.rad(-25+5*math.cos(inf/23)),1)
1122
	animate("lr",CFrame.new(-1.5,0.5,0),math.rad(35),0,math.rad(-25-10*math.cos(inf/23)),1)
1123
end
1124
elseif(t.Velocity*Vector3.new(1, 0, 1)).magnitude > 2 and not anim and equip and (fell and (t.Velocity.Y <= 1 and t.Velocity.Y >= -1)) or locanrun then
1125
	lenormal=true;
1126
	if not lerun and not locanrun then
1127
		runit()
1128
		lerun=true
1129
	end
1130
	animate("reg",CFrame.new(0.6,-1.2,0),math.rad(5+35*math.cos(inf/4)),math.rad(-40),0,1)
1131
	animate("leg",CFrame.new(-0.6,-1.2,0),math.rad(-2-35*math.cos(inf/4)),math.rad(-40),0,1)
1132
elseif t.Velocity.Y > 1 and not anim and equip and not lejump then
1133
lejump=true;lenormal=true;lerun=false
1134
	for i = 0, 1, 1/4 do
1135
	if not anim and equip and lejump then
1136
	animate("hr",CFrame.new(0,1,0),math.rad(15),math.rad(0),0,i)
1137
	animate("reg",CFrame.new(0.6,-1.2,0),math.rad(35),math.rad(-40),0,i)
1138
	animate("leg",CFrame.new(-0.6,-1.2,0),math.rad(-35),math.rad(-40),0,i)
1139
	animate("rr",CFrame.new(1.5,0.5,0),math.rad(90),math.rad(75),math.rad(-25),i)
1140
	animate("lr",CFrame.new(-1.5,0.5,0),math.rad(-35),0,math.rad(-30),i)
1141
	wait()
1142
	else
1143
		break
1144
	end
1145
	end
1146
	lejump=false
1147
if t.Velocity.Y > 1 and not anim and equip and not lejump then
1148
	fell = false
1149
end
1150
elseif t.Velocity.Y < -1 and not anim and equip and not lejump and not crosh then
1151
fell = false;lenormal=true;lerun=false
1152
	for i = 0, 1, 1/4 do
1153
	if not anim and equip and (crosh == nil or (crosh and crosh.CanCollide == false)) then
1154
	animate("hr",CFrame.new(0,1,0),math.rad(-5),math.rad(0),0,i)
1155
	animate("reg",CFrame.new(0.6,-1.2,0),math.rad(-25),math.rad(-40),0,i)
1156
	animate("leg",CFrame.new(-0.6,-1.2,0),math.rad(15),math.rad(-40),0,i)
1157
	animate("rr",CFrame.new(1.5,0.5,0),math.rad(90),math.rad(100),math.rad(-25),i)
1158
	animate("lr",CFrame.new(-1.5,0.5,0),math.rad(46),0,math.rad(-30),i)
1159
	wait()
1160
	else
1161
		print('break')
1162
		break
1163
	end
1164
	end
1165
	lejump = false
1166
else
1167
	idol = true;lenormal=true;lerun=false
1168
end
1169
1170
	ray = Ray.new(t.Position,(((t.CFrame*CFrame.new(0,-1.5,0)).p)-t.Position).unit*3)
1171
	crosh, endPoint = Workspace:FindPartOnRay(ray,char)
1172
	if (crosh) then
1173
		lejump=false
1174
		fell = true
1175
	end
1176
	if ss then
1177
windy= Add.part("Institutional white",Vector3.new(4, 1.2, 1),(hitbox.CFrame),sword,"wind",Vector3.new(math.random(50,110)/100, 0.3, 0.3),"Block","Sphere",false,nil,0.69999998807907,Part,"Brick");windy.Anchored = false; windyweld=weldIt(hitbox,windy,CFrame.new(math.random(-100,100)/130,-2,math.random(-100,100)/130)*CFrame.Angles(0,0,math.rad(90)),nil,nil)
1178
		coroutine.resume(coroutine.create(function(w,was,cu)
1179
			for i = 0, 1, 0.2 do
1180
			was.C0 = cu+Vector3.new(0,4*i,0)
1181
			wait()
1182
			end;was.Parent=nil;w.Parent = nil;print("yomama")
1183
		end),windy,windyweld,windyweld.C0)
1184
	end
1185
inf =inf+1
1186
wait()
1187
end