View difference between Paste ID: sLSC1zc6 and dD84V34T
SHOW: | | - or go back to the newest paste.
1
2
3
-----------------------
4
--HOKUTO, NO SHINKEN!--
5
----------------------------------------------------------------
6
--By CKbackup (Sugarie Saffron)                               --
7
--YT: https://www.youtube.com/channel/UC8n9FFz7e6Zo13ob_5F9MJw--
8
--Discord: Sugarie Saffron#4705                               --
9
----------------------------------------------------------------
10
11
--https://github.com/Mokiros/roblox-FE-compatibility
12
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
13
local Player,game,owner = owner,game
14
local RealPlayer = Player
15
do
16
    print("FE Compatibility code V2 by Mokiros")
17
    local RealPlayer = RealPlayer
18
    script.Parent = RealPlayer.Character
19
 
20
    --Fake event to make stuff like Mouse.KeyDown work
21
    local Disconnect_Function = function(this)
22
        this[1].Functions[this[2]] = nil
23
    end
24
    local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
25
    local FakeEvent_Metatable = {__index={
26
        Connect = function(this,f)
27
            local i = tostring(math.random(0,10000))
28
            while this.Functions[i] do
29
                i = tostring(math.random(0,10000))
30
            end
31
            this.Functions[i] = f
32
            return setmetatable({this,i},Disconnect_Metatable)
33
        end
34
    }}
35
    FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
36
    local function fakeEvent()
37
        return setmetatable({Functions={}},FakeEvent_Metatable)
38
    end
39
 
40
    --Creating fake input objects with fake variables
41
    local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
42
    FakeMouse.keyUp = FakeMouse.KeyUp
43
    FakeMouse.keyDown = FakeMouse.KeyDown
44
    local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
45
    local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
46
        CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
47
    end}
48
    --Merged 2 functions into one by checking amount of arguments
49
    CAS.UnbindAction = CAS.BindAction
50
 
51
    --This function will trigger the events that have been :Connect()'ed
52
    local function TriggerEvent(self,ev,...)
53
        for _,f in pairs(self[ev].Functions) do
54
            f(...)
55
        end
56
    end
57
    FakeMouse.TriggerEvent = TriggerEvent
58
    UIS.TriggerEvent = TriggerEvent
59
 
60
    --Client communication
61
    local Event = Instance.new("RemoteEvent")
62
    Event.Name = "UserInput_Event"
63
    Event.OnServerEvent:Connect(function(plr,io)
64
        if plr~=RealPlayer then return end
65
        FakeMouse.Target = io.Target
66
        FakeMouse.Hit = io.Hit
67
        if not io.isMouse then
68
            local b = io.UserInputState == Enum.UserInputState.Begin
69
            if io.UserInputType == Enum.UserInputType.MouseButton1 then
70
                return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
71
            end
72
            if io.UserInputType == Enum.UserInputType.MouseButton2 then
73
                return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
74
            end
75
            for _,t in pairs(CAS.Actions) do
76
                for _,k in pairs(t.Keys) do
77
                    if k==io.KeyCode then
78
                        t.Function(t.Name,io.UserInputState,io)
79
                    end
80
                end
81
            end
82
            FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
83
            UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
84
        end
85
    end)
86
    Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
87
    local Mouse = owner:GetMouse()
88
    local UIS = game:GetService("UserInputService")
89
    local input = function(io,RobloxHandled)
90
        if RobloxHandled then return end
91
        --Since InputObject is a client-side instance, we create and pass table instead
92
        Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
93
    end
94
    UIS.InputBegan:Connect(input)
95
    UIS.InputEnded:Connect(input)
96
    local h,t
97
    --Give the server mouse data every second frame, but only if the values changed
98
    --If player is not moving their mouse, client won't fire events
99
    local HB = game:GetService("RunService").Heartbeat
100
    while true do
101
        if h~=Mouse.Hit or t~=Mouse.Target then
102
            h,t=Mouse.Hit,Mouse.Target
103
            Event:FireServer({isMouse=true,Target=t,Hit=h})
104
        end
105
        --Wait 2 frames
106
        for i=1,2 do
107
            HB:Wait()
108
        end
109
    end]==],script)
110
 
111
    ----Sandboxed game object that allows the usage of client-side methods and services
112
    --Real game object
113
    local RealGame = game
114
 
115
    --Metatable for fake service
116
    local FakeService_Metatable = {
117
        __index = function(self,k)
118
            local s = rawget(self,"_RealService")
119
            if s then
120
                return typeof(s[k])=="function"
121
                and function(_,...)return s[k](s,...)end or s[k]
122
            end
123
        end,
124
        __newindex = function(self,k,v)
125
            local s = rawget(self,"_RealService")
126
            if s then s[k]=v end
127
        end
128
    }
129
    local function FakeService(t,RealService)
130
        t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
131
        return setmetatable(t,FakeService_Metatable)
132
    end
133
 
134
    --Fake game object
135
    local FakeGame = {
136
        GetService = function(self,s)
137
            return rawget(self,s) or RealGame:GetService(s)
138
        end,
139
        Players = FakeService({
140
            LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
141
        },"Players"),
142
        UserInputService = FakeService(UIS,"UserInputService"),
143
        ContextActionService = FakeService(CAS,"ContextActionService"),
144
        RunService = FakeService({
145
            _btrs = {},
146
            RenderStepped = RealGame:GetService("RunService").Heartbeat,
147
            BindToRenderStep = function(self,name,_,fun)
148
                self._btrs[name] = self.Heartbeat:Connect(fun)
149
            end,
150
            UnbindFromRenderStep = function(self,name)
151
                self._btrs[name]:Disconnect()
152
            end,
153
        },"RunService")
154
    }
155
    rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
156
    FakeGame.service = FakeGame.GetService
157
    FakeService(FakeGame,game)
158
    --Changing owner to fake player object to support owner:GetMouse()
159
    game,owner = FakeGame,FakeGame.Players.LocalPlayer
160
end
161
162
print([[
163
--Hokuto Shinken (Divine Fist of the North Star)--
164
By CKbackup (Sugarie Saffron)                               
165
YT: https://www.youtube.com/channel/UC8n9FFz7e6Zo13ob_5F9MJw
166
Discord: Sugarie Saffron#4705    
167
--------------------------------
168
As I've been demoted from my SB
169
Mod rank in VSB, I don't see the
170
need to hold this back any longer.
171
172
Also, if the anims look weird or
173
the weapon looks out of place,
174
it's because it's actually modeled
175
off a scaled rig with a package.
176
It looks better with the Boy
177
package.
178
--------------------------------
179
(Keys)
180
M - Mute/Play Music
181
F - Energy Particles
182
183
K/L - Change the You Wa Shock song
184
to either the new/old instrumental ver.
185
186
(Hold) Click - Hundred Crack Fist
187
Q - Teleport
188
Z - Tell those you've struck that
189
they're already dead
190
]])
191
player = game.Players.LocalPlayer
192
mouse = player:GetMouse()
193
chara = player.Character
194
equipped = false
195
del = false
196
attacking = false
197
atkd = false
198
hum = chara:FindFirstChildOfClass("Humanoid")
199
debby = game.Debris
200
ws = 10
201
hum.WalkSpeed = 10
202
203
ArtificialHB = Instance.new("BindableEvent", script)
204
ArtificialHB.Name = "Heartbeat"
205
script:WaitForChild("Heartbeat")
206
frame = 0.03333333333333
207
tf = 0
208
allowframeloss = false
209
tossremainder = false
210
lastframe = tick()
211
script.Heartbeat:Fire()
212
game:GetService("RunService").Heartbeat:connect(function(s, p)
213
  tf = tf + s
214
  if tf >= frame then
215
    if allowframeloss then
216
      script.Heartbeat:Fire()
217
      lastframe = tick()
218
    else
219
      for i = 1, math.floor(tf / frame) do
220
        script.Heartbeat:Fire()
221
      end
222
      lastframe = tick()
223
    end
224
    if tossremainder then
225
      tf = 0
226
    else
227
      tf = tf - frame * math.floor(tf / frame)
228
    end
229
  end
230
end)
231
function swait(num)
232
  if num == 0 or num == nil then
233
    ArtificialHB.Event:wait()
234
  else
235
    for i = 0, num*30 do
236
      ArtificialHB.Event:wait()
237
    end
238
  end
239
end
240
241
New = function(Object, Parent, Name, Data)
242
	local Object = Instance.new(Object)
243
	for Index, Value in pairs(Data or {}) do
244
		Object[Index] = Value
245
	end
246
	Object.Parent = Parent
247
	Object.Name = Name
248
	return Object
249
end
250
251
RightArm = New("Model",chara,"RightArm",{})
252
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,})
253
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),})
254
Emit2Part = New("Part",RightArm,"Emit2Part",{BrickColor = BrickColor.new("Royal purple"),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),})
255
Mesh = New("SpecialMesh",Emit2Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
256
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),})
257
LeftArm = New("Model",chara,"LeftArm",{})
258
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,})
259
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),})
260
EmitPart = New("Part",LeftArm,"EmitPart",{BrickColor = BrickColor.new("Royal purple"),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),})
261
Mesh = New("SpecialMesh",EmitPart,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
262
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),})
263
264
lach = LeftArm:GetChildren()
265
rach = RightArm:GetChildren()
266
267
local pemit = Instance.new("ParticleEmitter")
268
pemit.Name = "beter"
269
pemit.Enabled = false
270
pemit.LightEmission = 1
271
pemit.Size = NumberSequence.new(1,0)
272
pemit.Transparency = NumberSequence.new(0,1)
273
pemit.Texture = "rbxassetid://745304849"
274
pemit.Lifetime = NumberRange.new(.5)
275
pemit.Acceleration = Vector3.new(0,20,0)
276
pemit.Rate = 200
277
pemit.Rotation = NumberRange.new(0,360)
278
pemit.Speed = NumberRange.new(2)
279
pemit.RotSpeed = NumberRange.new(100)
280
pemit.VelocitySpread = 100
281
pemit.ZOffset = -.5
282
283
for i, v in pairs(chara:GetChildren()) do
284
if v ~= chara.HumanoidRootPart and v:IsA("BasePart") then
285
pemit:Clone().Parent = v
286
end
287
if v:IsA("ShirtGraphic") or v:IsA("Shirt") or v:IsA("Pants") then
288
v:Destroy()
289
end
290
if v.Name == "Chest" then
291
for a, t in pairs(v:GetChildren()) do
292
if t ~= v.MainPart and t ~= v.Tail then
293
t:Destroy()
294
end
295
end
296
end
297
if v.Name == "FakeHeadM" then
298
v.FakeHead.Normal.Texture = "http://www.roblox.com/asset/?id=1000657824"
299
for a, t in pairs(v:GetChildren()) do
300
if t.Name == "SpecPart" then
301
t:Destroy()
302
end
303
end
304
end
305
end
306
307
ShadowHead = New("Part",chara,"ShadowHeads",{BrickColor = BrickColor.new("Really black"),Size = Vector3.new(1.20000005, 0.600000024, 1),CFrame = CFrame.new(68.5999985, 0.700013041, 9.89999962, 1, 0, 0, 0, 1, 0, 0, 0, 1),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
308
Mesh = New("SpecialMesh",ShadowHead,"Mesh",{Scale = Vector3.new(1.3, 1.5, 1.3),})
309
Weld = New("ManualWeld",ShadowHead,"Weld",{Part0 = ShadowHead,Part1 = chara.Head,C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
310
ShadowHead.Transparency = 1
311
312
--LACM = New("CharacterMesh",chara,"LACM",{MeshId = "32328397",BodyPart = "LeftArm"})
313
--LLCM = New("CharacterMesh",chara,"LLCM",{MeshId = "319336109",BodyPart = "LeftLeg"})
314
--RACM = New("CharacterMesh",chara,"RACM",{MeshId = "32328563",BodyPart = "RightArm"})
315
--RLCM = New("CharacterMesh",chara,"RLCM",{MeshId = "319336155",BodyPart = "RightLeg"})
316
--TOCM = New("CharacterMesh",chara,"TOCM",{MeshId = "32328670",BodyPart = "Torso"})
317
318
local shi = Instance.new("Shirt",chara)
319
shi.ShirtTemplate = "http://www.roblox.com/asset/?id=1188791280"
320
local pan = Instance.new("Pants",chara)
321
pan.PantsTemplate = "http://www.roblox.com/asset/?id=1188789468"
322
local gshi = Instance.new("ShirtGraphic",nil)
323
gshi.Graphic = "http://www.roblox.com/asset/?id=114844135"
324
325
--Sounds--
326
function LoadSnd(id,loop,vol,pit)
327
local snd = New("Sound",chara.Head,"Sound",{SoundId = "rbxassetid://"..id,Looped = loop,Volume = vol,Pitch = pit})
328
return snd
329
end
330
--AtataSnd = LoadSnd(130767866,false,1,1)
331
--DeadSnd = LoadSnd(992192914,false,1,1)
332
Music = LoadSnd(1072454168,true,1,1)
333
Music.Parent = chara
334
335
--Play Sound in Part--
336
function PlaySnd(snd,part,pitch,vol)
337
local sound = Instance.new("Sound",part)
338
sound.PlayOnRemove = true
339
sound.SoundId = "rbxassetid://"..snd
340
sound.PlaybackSpeed = pitch
341
sound.Volume = vol
342
sound:Destroy()
343
end
344
345
function CamShake(par,magni,env,dur)
346
coroutine.wrap(function()
347
for i=0,dur*60 do
348
swait()
349
hum.CameraOffset = Vector3.new(math.random(-(env*10),(env*10))/10,math.random(-(env*10),(env*10))/10,math.random(-(env*10),(env*10))/10)
350
end
351
hum.CameraOffset = Vector3.new(0,0,0)
352
end)()
353
end
354
355
--function PlaySnd2(snd,part)
356
--local sound = snd:Clone()
357
--sound.Parent = part
358
--sound.PlayOnRemove = true
359
--sound:Destroy()
360
--end
361
362
maincol = "White"
363
364
function CreateTrailObj(parent,color1,color2,ofsx,ofsz)
365
local Att1 =  New("Attachment",parent,"Att1",{Position = Vector3.new(ofsx,parent.Size.Y/2,ofsz)})
366
local Att2 =  New("Attachment",parent,"Att2",{Position = Vector3.new(ofsx,-(parent.Size.Y/2),ofsz)})
367
local TEff = New("Trail",parent,"TrailEff",{Color = ColorSequence.new({ColorSequenceKeypoint.new(0,BrickColor.new(color1).Color),ColorSequenceKeypoint.new(1,BrickColor.new(color2).Color)}),Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.5),NumberSequenceKeypoint.new(1,1)}),Attachment0 = Att1,Attachment1 = Att2,Enabled = false,Lifetime = .5,MinLength = .001})
368
return TEff
369
end
370
371
RPunchT = CreateTrailObj(chara["Right Arm"],"White","White",0,0)
372
LPunchT = CreateTrailObj(chara["Left Arm"],"White","White",0,0)
373
RKickT = CreateTrailObj(chara["Right Leg"],"White","White",0,0)
374
LKickT = CreateTrailObj(chara["Left Leg"],"White","White",0,0)
375
376
--Punch Hit Effect--
377
function PunchEff(pos)
378
local p = Instance.new("Part",game.Workspace)
379
p.Size = Vector3.new(1,1,1)
380
p.BrickColor = BrickColor.new(maincol)
381
p.Material = "Neon"
382
p.Anchored = true
383
p.CanCollide = false
384
p.CFrame = pos
385
CamShake(p,10,.7,.1)
386
local pm = Instance.new("SpecialMesh",p)
387
pm.MeshType = "Sphere"
388
coroutine.resume(coroutine.create(function()
389
for i = 0,1,.05 do
390
swait()
391
p.Transparency = i
392
pm.Scale = Vector3.new(2*i,2*i,2*i)
393
end
394
swait()
395
p:Destroy()
396
end))
397
end
398
function BigHitEff(pos)
399
for i = 1, 5 do
400
local p = Instance.new("Part",game.Workspace)
401
p.Size = Vector3.new(1,1,1)
402
p.BrickColor = BrickColor.new("White")
403
p.Material = "Neon"
404
p.Anchored = true
405
p.CanCollide = false
406
p.CFrame = pos * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
407
local pm = Instance.new("SpecialMesh",p)
408
pm.MeshType = "Sphere"
409
pm.Scale = Vector3.new(.5,0,.5)
410
local disp = coroutine.wrap(function()
411
for i = 0,1,.05 do
412
swait()
413
p.Transparency = i
414
pm.Scale = Vector3.new(2*i,2*i,2*i)
415
end
416
swait()
417
p:Destroy()
418
end)
419
disp()
420
local p = Instance.new("Part",game.Workspace)
421
p.Size = Vector3.new(1,1,1)
422
p.BrickColor = BrickColor.new("White")
423
p.Material = "Neon"
424
p.Anchored = true
425
p.CanCollide = false
426
p.CFrame = pos * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
427
CamShake(p,10,1,.4)
428
local pm = Instance.new("SpecialMesh",p)
429
pm.MeshType = "Sphere"
430
pm.Scale = Vector3.new(.5,.5,.5)
431
local disp = coroutine.wrap(function()
432
for i = 0,1,.05 do
433
swait()
434
p.Transparency = i
435
pm.Scale = Vector3.new(.5*i,.5*i,.5*i)
436
pm.Offset = Vector3.new(0,8*i,0)
437
end
438
swait()
439
p:Destroy()
440
end)
441
disp()
442
end
443
end
444
445
--Damage Function--
446
function dealdmg(dude)
447
if dude ~= chara and dude:IsDescendantOf(chara) == false then
448
if dude:FindFirstChild("IsAlreadyDead") == nil then
449
local vall = Instance.new("ObjectValue",dude)
450
vall.Name = "IsAlreadyDead"
451
local faceg = Instance.new("BillboardGui",dude)
452
faceg.Name = "IsAlreadyDeadBillBoardGui"
453
faceg.Size = UDim2.new(4,0,4,0)
454
faceg.Adornee = dude.Head
455
faceg.StudsOffset = Vector3.new(0,5.5,0)
456
local simgl = Instance.new("ImageLabel",faceg)
457
simgl.Position = UDim2.new(0,0,0,0)
458
simgl.Size = UDim2.new(1,0,1,0)
459
simgl.Image = "http://www.roblox.com/asset/?id=47110473" 
460
simgl.BackgroundTransparency = 1
461
end
462
local vall = Instance.new("ObjectValue",dude)
463
vall.Name = "IsHit"
464
debby:AddItem(vall,.01)
465
local bfos = Instance.new("BodyVelocity",dude.Head)
466
bfos.P = 200000
467
bfos.MaxForce = Vector3.new(bfos.P,bfos.P,bfos.P)
468
bfos.Velocity = Vector3.new(0,0,0) --+ chara.HumanoidRootPart.CFrame.lookVector * kbx
469
game.Debris:AddItem(bfos,.5)
470
end
471
end
472
473
--Explode Hitbox--
474
function ExHitbox(rad,pos,damage,env,toim,kby,kbx)
475
local E = Instance.new("Explosion") 
476
E.Position = pos
477
E.Parent = game.Workspace
478
E.BlastRadius = rad
479
E.BlastPressure = 0
480
E.Visible = false
481
E.Hit:connect(function(hit)
482
if hit.Parent:FindFirstChildOfClass("Humanoid")~=nil then
483
dealdmg(hit.Parent,damage,env,toim,kby,kbx)
484
end
485
end)
486
end
487
function PExHitbox()
488
local E = Instance.new("Explosion",workspace) 
489
E.Position = chara.HumanoidRootPart.Position + chara.HumanoidRootPart.CFrame.lookVector*3
490
E.BlastRadius = 1
491
E.BlastPressure = 0
492
E.Visible = false
493
debby:AddItem(E,.05)
494
E.Hit:connect(function(hit)
495
if hit.Parent:FindFirstChildOfClass("Humanoid")~=nil then
496
if punchactive == true then
497
if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("IsHit")==nil and hit.Parent.Name ~= "Salvo_Starly" then
498
dealdmg(hit.Parent)
499
PlaySnd(386946017,hit.Parent.Head,math.random(8,12)/10,1)
500
PunchEff(hit.CFrame + Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-1,1)))
501
end
502
end
503
if hpunchactive == true then
504
if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil and hit.Parent ~= chara and hit.Parent.Name ~= "Salvo_Starly" then
505
dealdmg(hit.Parent)
506
PlaySnd(200633636,hit.Parent.Head,1,1)
507
BigHitEff(hit.CFrame)
508
coroutine.resume(coroutine.create(function()
509
if hit.Parent.Head:FindFirstChildOfClass("BodyVelocity") then
510
hit.Parent.Head:FindFirstChildOfClass("BodyVelocity"):Destroy()
511
end
512
local bfos = Instance.new("BodyVelocity",hit.Parent.Head)
513
bfos.P = 100000
514
bfos.MaxForce = Vector3.new(bfos.P,bfos.P,bfos.P)
515
bfos.Velocity = chara.HumanoidRootPart.CFrame.lookVector * 100
516
game.Debris:AddItem(bfos,.5)
517
hit.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = true
518
swait(2)
519
hit.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = false
520
end))
521
end
522
end
523
end
524
end)
525
end
526
527
--Punch Touch--
528
dela = .05
529
punchactive = false
530
function punchhit(hit)
531
if punchactive == true then
532
if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("IsHit")==nil then
533
dealdmg(hit.Parent)
534
PlaySnd(153092227,hit.Parent.Head,1,1)
535
PunchEff(hit.CFrame)
536
end
537
end
538
end
539
Emit2Part.Touched:connect(punchhit)
540
EmitPart.Touched:connect(punchhit)
541
542
--Chat Function--
543
function chatfunc(text,dude)
544
coroutine.resume(coroutine.create(function()
545
if dude:FindFirstChild("TalkingBillBoard")~= nil then
546
dude:FindFirstChild("TalkingBillBoard"):destroy()
547
end
548
local naeeym2 = Instance.new("BillboardGui",chara)
549
naeeym2.Size = UDim2.new(0,100,0,40)
550
naeeym2.StudsOffset = Vector3.new(0,3,0)
551
naeeym2.Adornee = dude.Head
552
naeeym2.Name = "TalkingBillBoard"
553
local tecks2 = Instance.new("TextLabel",naeeym2)
554
tecks2.BackgroundTransparency = 1
555
tecks2.BorderSizePixel = 0
556
tecks2.Text = ""
557
tecks2.Font = "Fantasy"
558
tecks2.FontSize = "Size24"
559
tecks2.TextStrokeTransparency = 0
560
tecks2.TextColor3 = Color3.new(1,1,1)
561
tecks2.TextStrokeColor3 = Color3.new(0,0,0)
562
tecks2.Size = UDim2.new(1,0,0.5,0)
563
coroutine.resume(coroutine.create(function()
564
for i = 1,string.len(text),1 do
565
tecks2.Text = string.sub(text,1,i)
566
swait(0.01)
567
end
568
swait(1)
569
for i = 1, 5 do
570
swait(.01)
571
tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0)
572
tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2
573
tecks2.TextTransparency = tecks2.TextTransparency + .2
574
end
575
naeeym2:Destroy()
576
end))
577
end))
578
end
579
580
--function onChatted(msg)
581
--chatfunc(msg,chara)
582
--end
583
--player.Chatted:connect(onChatted)
584
585
--Clerp Animations--
586
TC = chara.HumanoidRootPart.RootJoint
587
HC = chara.Torso.Neck
588
RAC = chara.Torso["Right Shoulder"]
589
LAC = chara.Torso["Left Shoulder"]
590
RLC = chara.Torso["Right Hip"]
591
LLC = chara.Torso["Left Hip"]
592
TCF = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
593
HCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
594
RACF = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
595
LACF = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
596
RLCF = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
597
LLCF = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
598
RWF = CFrame.new(-1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
599
LWF = CFrame.new(1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
600
RLWF = CFrame.new(-.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
601
LLWF = CFrame.new(.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
602
grp = Instance.new("Model",chara)
603
RW = nil
604
LW = nil
605
RLW = nil
606
LLW = nil
607
608
function AddLegWelds()
609
RLW = Instance.new("Weld",chara["Right Leg"])
610
RLW.Part1 = HC.Parent
611
RLW.Part0 = chara["Right Leg"]
612
RLW.C0 = RLWF
613
LLW = Instance.new("Weld",chara["Left Leg"])
614
LLW.Part1 = HC.Parent
615
LLW.Part0 = chara["Left Leg"]
616
LLW.C0 = LLWF
617
end
618
619
function AddArmWelds()
620
RW = Instance.new("Weld",HC.Parent)
621
RW.Part1 = HC.Parent
622
RW.Part0 = chara["Right Arm"]
623
RW.C0 = RWF
624
LW = Instance.new("Weld",HC.Parent)
625
LW.Part1 = HC.Parent
626
LW.Part0 = chara["Left Arm"]
627
LW.C0 = LWF
628
end
629
630
function DestroyLegWelds()
631
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),})
632
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),})
633
RLW:Destroy()
634
LLW:Destroy()
635
end
636
637
function DestroyArmWelds()
638
RAC = New("Motor6D",chara.Torso,"Right Shoulder",{Part0 = chara.Torso,Part1 = chara["Right Arm"],C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0),C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)})
639
LAC = New("Motor6D",chara.Torso,"Left Shoulder",{Part0 = chara.Torso,Part1 = chara["Left Arm"],C0 = CFrame.new(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0),C1 = CFrame.new(0.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)})
640
RW:Destroy()
641
LW:Destroy()
642
end
643
644
function clerp(a,b,c)
645
return a:lerp(b,c)
646
end
647
648
ITCF = TCF
649
IHCF = HCF
650
IRWF = RWF
651
ILWF = LWF
652
653
function res()
654
TC.C0 = ITCF
655
HC.C0 = IHCF
656
end
657
res()
658
659
--Teleport--
660
function Teleport()
661
PlaySnd(153613030,chara.Head,1,1)
662
for i, v in pairs(chara:GetChildren()) do
663
if v:IsA("BasePart") then
664
local trace = Instance.new("Part",game.Workspace)
665
trace.Size = v.Size
666
trace.Position = v.Position
667
trace.CFrame = v.CFrame
668
trace.Anchored = true
669
trace.CanCollide = false
670
trace.BrickColor = BrickColor.new("White")
671
trace.Material = "Neon"
672
coroutine.resume(coroutine.create(function()
673
for i = 0,1,.1 do
674
swait()
675
trace.Transparency = i
676
end
677
trace:Destroy()
678
end))
679
end
680
end
681
chara.Torso.CFrame = mouse.Hit + Vector3.new(0,3,0)
682
end
683
684
--Keys--
685
holdingdown = false
686
function onButton1Down()
687
holdingdown = true
688
if del == false then
689
del = true
690
AddArmWelds()
691
for i = 0,.6,.1 do
692
swait()
693
TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,0),ITCF,.6-i)
694
HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(-10),0,0),IHCF,.6-i)
695
RW.C0 = clerp(RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-20)),IRWF,.6-i)
696
LW.C0 = clerp(LWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(20)),ILWF,.6-i)
697
end
698
punchactive = true
699
local AtataSnd = LoadSnd(130767866,false,1,1)
700
AtataSnd:Play() --PlaySnd(130767866,chara.Head,1,1)
701
chatfunc("ATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATATA",chara)
702
local punches = 0
703
repeat
704
swait()
705
RW.C0 = (RWF + Vector3.new(math.rad(-10,10),math.random(1,2),math.random(0,1))) * CFrame.fromEulerAnglesXYZ(math.rad(-100+math.random(-15,15)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15)))
706
LW.C0 = (LWF + Vector3.new(math.rad(-10,10),math.random(1,2),math.random(0,1))) * CFrame.fromEulerAnglesXYZ(math.rad(-100+math.random(-15,15)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15)))
707
TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(math.rad(10),math.rad(math.random(-10,10)),0)
708
coroutine.resume(coroutine.create(function()
709
local part1 = Instance.new("Part",workspace)
710
part1.Size = Vector3.new(1,2,1)
711
part1.CanCollide = false
712
part1.Anchored = true
713
part1.BrickColor = chara["Right Arm"].BrickColor
714
part1.CFrame = chara["Right Arm"].CFrame
715
local part2 = Instance.new("Part",workspace)
716
part2.Size = Vector3.new(1,2,1)
717
part2.CanCollide = false
718
part2.Anchored = true
719
part2.BrickColor = chara["Left Arm"].BrickColor
720
part2.CFrame = chara["Left Arm"].CFrame
721
if chara:FindFirstChildOfClass("CharacterMesh") then
722
local mh = Instance.new("SpecialMesh",part1)
723
mh.MeshId = "rbxassetid://279174886"
724
mh.Scale = Vector3.new(1.1,1.1,1.1)
725
local mh = Instance.new("SpecialMesh",part2)
726
mh.MeshId = "rbxassetid://279174949"
727
mh.Scale = Vector3.new(1.1,1.1,1.1)
728
end
729
coroutine.resume(coroutine.create(function()
730
for i = .4,1,.1 do
731
swait()
732
part1.Transparency = i
733
part2.Transparency = i
734
end
735
part1:Destroy()
736
part2:Destroy()
737
end))
738
end))
739
PExHitbox()
740
punches = punches + 1
741
until holdingdown == false or punches >= 230
742
punchactive = false
743
LW.C0 = ILWF
744
AtataSnd:Stop()
745
AtataSnd.TimePosition = 7.5
746
AtataSnd:Play()
747
hpunchactive = true
748
chatfunc("WATAU!",chara)
749
for i = 0,.6,.2 do
750
swait()
751
TC.C0 = clerp((TCF - Vector3.new(0,0,2)) * CFrame.fromEulerAnglesXYZ(math.rad(10),math.rad(-10),0),TCF * CFrame.fromEulerAnglesXYZ(math.rad(-10),math.rad(10),0),.6-i)
752
HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(-10),math.rad(10),0),HCF * CFrame.fromEulerAnglesXYZ(math.rad(10),math.rad(-10),0),.6-i)
753
RW.C0 = clerp((RWF + Vector3.new(0,1,-1)) * CFrame.fromEulerAnglesXYZ(math.rad(-100),0,0),(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-100),0,0),.6-i)
754
end
755
PExHitbox()
756
swait()
757
TC.C0 = (TCF - Vector3.new(0,0,2)) * CFrame.fromEulerAnglesXYZ(math.rad(10),math.rad(-10),0)
758
HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(math.rad(-10),math.rad(10),0)
759
RW.C0 = (RWF + Vector3.new(0,1,1)) * CFrame.fromEulerAnglesXYZ(math.rad(-100),0,0)
760
swait(.2)
761
hpunchactive = false
762
punchactive = false
763
swait(.5)
764
for i = 0,.6,.1 do
765
swait()
766
TC.C0 = clerp((TCF - Vector3.new(0,0,2)) * CFrame.fromEulerAnglesXYZ(math.rad(10),math.rad(-10),0),ITCF,.4+i)
767
HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(-10),math.rad(10),0),IHCF,.4+i)
768
RW.C0 = clerp((RWF + Vector3.new(0,1,1)) * CFrame.fromEulerAnglesXYZ(math.rad(-100),0,0),IRWF,.4+i)
769
LW.C0 = ILWF
770
end
771
DestroyArmWelds()
772
walking = false
773
AtataSnd.TimePosition = 0
774
debby:AddItem(AtataSnd,2)
775
del = false
776
end
777
end
778
function onButton2Down()
779
if del == false then
780
del = true
781
AddArmWelds()
782
ShadowHead.Transparency = 0
783
for i = 0,.6,.05 do
784
swait()
785
TC.C0 = ITCF
786
HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,0),.4+i)
787
RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,.5,.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0),.4+i)
788
LW.C0 = ILWF
789
end
790
RW.C0 = (RWF + Vector3.new(0,.5,.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
791
local DeadSnd = LoadSnd(992192914,false,1,1)
792
DeadSnd:Play() --PlaySnd(992192914,workspace,1,1)
793
chatfunc("You are already dead.",chara)
794
swait(2.8)
795
local dudes = {}
796
for i, v in pairs(workspace:GetDescendants()) do
797
if v:IsA("ObjectValue") and v.Name == "IsAlreadyDead" and v.Parent:FindFirstChildOfClass("Humanoid") then
798
table.insert(dudes,v.Parent)
799
end
800
end
801
if #dudes == 0 then
802
DeadSnd:Destroy()
803
end
804
for no = 1, #dudes do
805
coroutine.resume(coroutine.create(function()
806
dudes[no].IsAlreadyDead:Destroy()
807
dudes[no].IsAlreadyDeadBillBoardGui:Destroy()
808
if dudes[no]:FindFirstChildOfClass("Humanoid").Health > 1 then
809
chatfunc("What?!",dudes[no])
810
end
811
debby:AddItem(DeadSnd,6)
812
swait(.5)
813
for i, v in pairs(dudes[no]:GetChildren()) do
814
if v:IsA("BasePart") then
815
v.Anchored = true
816
end
817
end
818
for oa = 1, 60 do
819
local effp = Instance.new("Part",workspace)
820
effp.CanCollide = false
821
effp.BottomSurface = 0
822
effp.TopSurface = 0
823
effp.Size = Vector3.new(1,1,1)
824
effp.Anchored = true
825
effp.CFrame = (dudes[no].Head.CFrame * CFrame.new(0,-1.5,0)) * CFrame.fromEulerAnglesXYZ(math.rad(math.random(0,359)),math.rad(math.random(0,359)),math.rad(math.random(0,359)))
826
effp.Material = "Neon"
827
effp.BrickColor = BrickColor.new("White")
828
local efm = Instance.new("BlockMesh",effp)
829
CamShake(effp,20,.4,.1)
830
coroutine.resume(coroutine.create(function()
831
for a = 0,1,.05 do
832
efm.Scale = Vector3.new(1-a,1000*a,1-a)
833
effp.Transparency = a
834
swait()
835
end
836
effp:Destroy()
837
end))
838
swait(.05)
839
end
840
dudes[no]:BreakJoints()
841
for oa = 1, 5 do
842
local effp = Instance.new("Part",workspace)
843
effp.CanCollide = false
844
effp.BottomSurface = 0
845
effp.TopSurface = 0
846
effp.Size = Vector3.new(1,1,1)
847
effp.Anchored = true
848
effp.CFrame = (dudes[no].Head.CFrame * CFrame.new(0,-1.5,0)) * CFrame.fromEulerAnglesXYZ(math.rad(math.random(0,359)),math.rad(math.random(0,359)),math.rad(math.random(0,359)))
849
effp.Material = "Neon"
850
effp.BrickColor = BrickColor.new("White")
851
local efm = Instance.new("BlockMesh",effp)
852
CamShake(effp,20,1,.4)
853
coroutine.resume(coroutine.create(function()
854
for a = 0,1,.01 do
855
efm.Scale = Vector3.new(2-a*2,1000*a,2-a*2)
856
effp.Transparency = a
857
swait()
858
end
859
effp:Destroy()
860
end))
861
end
862
for i, v in pairs(dudes[no]:GetChildren()) do
863
if v:IsA("BasePart") then
864
v.Anchored = false
865
end
866
end
867
for a, v in pairs(dudes[no]:GetChildren()) do
868
if v:IsA("BasePart") then
869
local bodpos = Instance.new("BodyPosition",v)
870
bodpos.Position = v.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
871
v.BrickColor = BrickColor.new("Really white")
872
v.Material = "Neon"
873
end
874
end
875
for d = 0,1,.1 do
876
for i, v in pairs(dudes[no]:GetChildren()) do
877
if v:IsA("BasePart") then
878
v.Transparency = d
879
swait()
880
end
881
end
882
end
883
for i, v in pairs(dudes[no]:GetChildren()) do
884
if v:IsA("BasePart") then
885
v:Destroy()
886
end
887
end
888
end))
889
end
890
for i = 0,.6,.05 do
891
swait()
892
TC.C0 = ITCF
893
HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,0),.6-i)
894
RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,.5,.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0),.6-i)
895
LW.C0 = ILWF
896
end
897
ShadowHead.Transparency = 1
898
DestroyArmWelds()
899
walking = false
900
del = false
901
end
902
end
903
904
rage = false
905
if mouse then
906
mouse.Button1Down:connect(onButton1Down)
907
mouse.Button1Up:connect(function()
908
holdingdown = false
909
end)
910
mouse.KeyDown:connect(function(key)
911
if key == "z" then
912
onButton2Down()
913
elseif key == "f" then
914
if rage == false then
915
for i, v in pairs(chara:GetDescendants()) do
916
if v.Name == "beter" then
917
v.Enabled = true
918
end
919
end
920
rage = true
921
elseif rage == true then
922
for i, v in pairs(chara:GetDescendants()) do
923
if v.Name == "beter" then
924
v.Enabled = false
925
end
926
end
927
rage = false
928
end
929
elseif key == "q" then
930
Teleport()
931
elseif key == "m" then
932
if Music.IsPlaying == true then
933
Music:Stop()
934
elseif Music.IsPlaying == false then
935
Music:Play()
936
end
937
elseif key == "k" then
938
Music.SoundId = "rbxassetid://548642448"
939
elseif key == "l" then
940
Music.SoundId = "rbxassetid://1072454168"
941
end
942
end)
943
--mouse.KeyUp:connect(onKeyUp)
944
end
945
946
--Loop Function--
947
walking = false
948
toim = 0
949
while true do
950
swait()
951
hum.Name = "hoomanood"
952
hum.Health = math.huge
953
hum.MaxHealth = math.huge
954
--if gkeydown == true then
955
--coroutine.resume(coroutine.create(function()
956
--onButton1Down()
957
--end))
958
--end
959
toim = toim + .1
960
if del == false then attacking = false elseif del == true then attacking = true end
961
torvel = (chara.HumanoidRootPart.Velocity*Vector3.new(1,0,1)).magnitude
962
if torvel < 1 and walking == true and del == false and atkd == false and attacking == false then
963
for i = 0,1,.25 do
964
swait()
965
if del == false and attacking == false then
966
TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,0),ITCF,i)
967
HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,0),IHCF,i)
968
--RW.C0 = IRWF
969
--LW.C0 = IRWF
970
end
971
end
972
walking = false
973
elseif torvel > 1 and walking == false and del == false and atkd == false and attacking == false then
974
for i = 0,1,.25 do
975
swait()
976
if del == false and attacking == false then
977
TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,0),ITCF,1-i)
978
HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,0),IHCF,1-i)
979
--RW.C0 = IRWF
980
--LW.C0 = ILWF
981
end
982
end
983
walking = true
984
else
985
end
986
end