View difference between Paste ID: 0vnGKetr and Pqwf6ZXt
SHOW: | | - or go back to the newest paste.
1-
local plr = game.Players.LocalPlayer
1+
-- This script has been converted to FE by iPxter
2
3-
local maus = plr:GetMouse()
3+
4
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
5
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
6
do
7
	print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
8
	script.Parent = Player.Character
9
10
	--RemoteEvent for communicating
11
	local Event = Instance.new("RemoteEvent")
12
	Event.Name = "UserInput_Event"
13
14
	--Fake event to make stuff like Mouse.KeyDown work
15
	local function fakeEvent()
16
		local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
17
		t.connect = t.Connect
18
		return t
19
	end
20
21
	--Creating fake input objects with fake variables
22
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
23
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
24
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
25
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
26
	end}
27
	--Merged 2 functions into one by checking amount of arguments
28
	CAS.UnbindAction = CAS.BindAction
29
30
	--This function will trigger the events that have been :Connect()'ed
31
	local function te(self,ev,...)
32
		local t = m[ev]
33
		if t and t._fakeEvent and t.Function then
34
			t.Function(...)
35
		end
36
	end
37
	m.TrigEvent = te
38
	UIS.TrigEvent = te
39
40
	Event.OnServerEvent:Connect(function(plr,io)
41
	    if plr~=Player then return end
42
		if io.isMouse then
43
			m.Target = io.Target
44
			m.Hit = io.Hit
45
		else
46
			local b = io.UserInputState == Enum.UserInputState.Begin
47
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
48
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
49
			end
50
			for _,t in pairs(CAS.Actions) do
51
				for _,k in pairs(t.Keys) do
52
					if k==io.KeyCode then
53
						t.Function(t.Name,io.UserInputState,io)
54
					end
55
				end
56
			end
57
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
58
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
59
	    end
60
	end)
61
	Event.Parent = NLS([==[
62
	local Player = game:GetService("Players").LocalPlayer
63
	local Event = script:WaitForChild("UserInput_Event")
64
65
	local UIS = game:GetService("UserInputService")
66
	local input = function(io,a)
67
		if a then return end
68
		--Since InputObject is a client-side instance, we create and pass table instead
69
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
70
	end
71
	UIS.InputBegan:Connect(input)
72
	UIS.InputEnded:Connect(input)
73
74
	local Mouse = Player:GetMouse()
75
	local h,t
76
	--Give the server mouse data 30 times every second, but only if the values changed
77
	--If player is not moving their mouse, client won't fire events
78
	while wait(1/30) do
79
		if h~=Mouse.Hit or t~=Mouse.Target then
80
			h,t=Mouse.Hit,Mouse.Target
81
			Event:FireServer({isMouse=true,Target=t,Hit=h})
82
		end
83
	end]==],Player.Character)
84
	Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
85
end
86
local plr = owner
87
local chr = plr.Character
88
local PGui=plr.PlayerGui
89
local lleg = chr["Left Leg"]
90
local rleg = chr["Right Leg"]
91
local larm = chr["Left Arm"]
92
local rarm = chr["Right Arm"]
93
local hed = chr.Head
94
local rutprt = chr.HumanoidRootPart
95
local torso = chr.Torso
96
local otheranims=false
97
local armmovement=false
98
local hitdb=false
99
local toss=false
100
local jamp=false
101
chr.Animate.Disabled=true
102
chr.Humanoid.WalkSpeed=10
103
local running=false
104
local tempignore={}
105
106
local weit=Instance.new('Part',hed)
107
weit.Shape='Ball'
108
weit.BrickColor=BrickColor.new('Black')
109
weit.Material='Neon'
110
weit.Size=Vector3.new(3,3,3)
111
weit.CanCollide=true
112
weit.Name='Weight'
113
weit.Friction=1
114
weit.Elasticity=0
115
116
117
118
local at1=Instance.new("Attachment",torso)
119
local at2=Instance.new("Attachment",weit)
120
local const=Instance.new("RopeConstraint",chr)
121
const.Attachment0=at2
122
const.Attachment1=at1
123
const.Visible=true
124
const.Restitution=0
125
const.Length=100
126
127
local pseudohead=hed:Clone()
128
for i,x in pairs(pseudohead:GetChildren()) do if not x.ClassName:find('Mesh') then x:Destroy() end end
129
pseudohead.Name='PseudoHead'
130
pseudohead.Parent=chr.Head
131
local pseudoweld=Instance.new('Weld',torso)
132
pseudoweld.Part0=hed
133
pseudoweld.Name='PseudoHedWld'
134
pseudoweld.Part1=pseudohead
135
hed.Transparency=1
136
137
--[[coroutine.resume(coroutine.create(function()
138
local rate=.05
139
local Hats={}
140
for i,x in pairs(chr:GetChildren()) do if x:IsA("Hat") then table.insert(Hats,x) x.Handle.Mesh.TextureId="http://www.roblox.com/asset?id=25701026"
141
end
142
end
143
local lam=Instance.new("SpecialMesh",larm)
144
lam.MeshId="http://www.roblox.com/asset?id=12221505"
145
lam.TextureId="http://www.roblox.com/asset?id=25701026"
146
local ram=Instance.new("SpecialMesh",rarm)
147
ram.MeshId="http://www.roblox.com/asset?id=12221505"
148
ram.TextureId="http://www.roblox.com/asset?id=25701026"
149
local rlm=Instance.new("SpecialMesh",rleg)
150
rlm.MeshId="http://www.roblox.com/asset?id=12221626"
151
rlm.TextureId="http://www.roblox.com/asset?id=25701026"
152
local llm=Instance.new("SpecialMesh",lleg)
153
llm.MeshId="http://www.roblox.com/asset?id=12221626"
154
llm.TextureId="http://www.roblox.com/asset?id=25701026"
155
local trm=Instance.new("SpecialMesh",torso)
156
trm.MeshId="http://www.roblox.com/asset?id=12221758"
157
trm.TextureId="http://www.roblox.com/asset?id=25701026"
158
local hem=Instance.new("SpecialMesh",hed)
159
hem.MeshId="rbxasset://fonts/head.mesh"
160
hem.TextureId="http://www.roblox.com/asset?id=25701026"
161
local hem2=Instance.new("SpecialMesh",pseudohead)
162
hem2.MeshId="rbxasset://fonts/head.mesh"
163
hem2.TextureId="http://www.roblox.com/asset?id=25701026"
164
local weitmesh=Instance.new("SpecialMesh",weit)
165
weitmesh.MeshId="http://www.roblox.com/asset/?id=1527559"
166
weitmesh.TextureId="http://www.roblox.com/asset?id=25701026"
167
local asd=Instance.new('PointLight',torso)
168
asd.Brightness=123
169
asd.Range=12
170
asd.Shadows=true
171
172
while wait'0' do
173
for a=0,1,rate do
174
lam.VertexColor=Vector3.new(a,0,-a+1)
175
ram.VertexColor=Vector3.new(a,0,-a+1)
176
rlm.VertexColor=Vector3.new(a,0,-a+1)
177
llm.VertexColor=Vector3.new(a,0,-a+1)
178
trm.VertexColor=Vector3.new(a,0,-a+1)
179
hem.VertexColor=Vector3.new(a,0,-a+1)
180
hem2.VertexColor=Vector3.new(a,0,-a+1)
181
weitmesh.VertexColor=Vector3.new(a,0,-a+1)
182
asd.Color=Color3.new(a,0,-a+1)
183
coroutine.wrap(function()
184
for x=1,#Hats do
185
Hats[x].Handle.Mesh.VertexColor=Vector3.new(a,0,-a+1)
186
end
187
end)()
188
wait''
189
end
190
for a=0,1,rate do
191
lam.VertexColor=Vector3.new(-a+1,a,0)
192
ram.VertexColor=Vector3.new(-a+1,a,0)
193
rlm.VertexColor=Vector3.new(-a+1,a,0)
194
llm.VertexColor=Vector3.new(-a+1,a,0)
195
trm.VertexColor=Vector3.new(-a+1,a,0)
196
hem.VertexColor=Vector3.new(-a+1,a,0)
197
hem2.VertexColor=Vector3.new(-a+1,a,0)
198
weitmesh.VertexColor=Vector3.new(-a+1,a,0)
199
asd.Color=Color3.new(-a+1,a,0)
200
coroutine.wrap(function()
201
for x=1,#Hats do
202
Hats[x].Handle.Mesh.VertexColor=Vector3.new(-a+1,a,0)
203
end
204
end)()
205
wait''
206
end
207
for a=0,1,rate do
208
lam.VertexColor=Vector3.new(0,-a+1,a)
209
ram.VertexColor=Vector3.new(0,-a+1,a)
210
rlm.VertexColor=Vector3.new(0,-a+1,a)
211
llm.VertexColor=Vector3.new(0,-a+1,a)
212
trm.VertexColor=Vector3.new(0,-a+1,a)
213
hem.VertexColor=Vector3.new(0,-a+1,a)
214
hem2.VertexColor=Vector3.new(0,-a+1,a)
215
weitmesh.VertexColor=Vector3.new(0,-a+1,a)
216
asd.Color=Color3.new(0,-a+1,a)
217
coroutine.wrap(function()
218
for x=1,#Hats do
219
Hats[x].Handle.Mesh.VertexColor=Vector3.new(0,-a+1,a)
220
end
221
end)()
222
wait''
223
end
224
end
225
end))]]
226
227
228
function Lerp(a, b, i)
229
local com1 = {a.X, a.Y, a.Z, a:toEulerAnglesXYZ()}
230
local com2 = {b.X, b.Y, b.Z, b:toEulerAnglesXYZ()}
231
local calx = com1[1] + (com2[1] - com1[1]) * i
232
local caly = com1[2] + (com2[2] - com1[2]) * i
233
local calz = com1[3] + (com2[3] - com1[3]) * i
234
local cala = com1[4] + (com2[4] - com1[4]) * i
235
local calb = com1[5] + (com2[5] - com1[5]) * i
236
local calc = com1[6] + (com2[6] - com1[6]) * i
237
return CFrame.new(calx, caly, calz) * CFrame.Angles(cala, calb, calc)
238
end
239
240
function TwnSingleNumber(s,f,m)
241
local wot=s+(f-s)*m
242
return wot
243-
grunt.SoundId="http://www.roblox.com/asset?id=143384769" 
243+
244
245
function TwnVector3(q,w,e)
246
local begin={q.x,q.y,q.z}
247
local ending={w.x,w.y,w.z}
248
local bgx=begin[1]+(ending[1]-begin[1])*e
249
local bgy=begin[2]+(ending[2]-begin[2])*e
250
local bgz=begin[3]+(ending[3]-begin[3])*e
251
return Vector3.new(bgx,bgy,bgz)
252
end
253
254
newWeld = function(wld, wp0, wp1, wc0x, wc0y, wc0z)
255
wld = Instance.new("Weld", wp1)
256
wld.Part0 = wp0
257
wld.Part1 = wp1
258
wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
259
end
260
261
newWeld(law, torso, larm, -1.5, 0.5, 0)
262
newWeld(raw, torso, rarm, 1.5, 0.5, 0)
263
newWeld(llw, torso, lleg, -.5, -2, 0)
264
newWeld(rlw, torso, rleg, .5, -2, 0)
265
newWeld(hw, torso, hed, 0, 1.5, 0)
266
larm.Weld.C1 = CFrame.new(0, 0.5, 0)
267
rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
268
rleg.Weld.C1=CFrame.new(0,.25,.05)*CFrame.Angles(math.rad(30),0,0)
269
lleg.Weld.C1=CFrame.new(0,.25,.05)*CFrame.Angles(math.rad(30),0,0)
270
271
local anim = "Idling"
272
local lastanim = "Idling"
273
local val = 0
274
local syne = 0
275
local num = 0
276
local runtime = 0
277
278
279
maus.KeyUp:connect(function(kei)
280
if string.byte(kei)==48 and not otheranims then
281
running=false
282
chr.Humanoid.WalkSpeed=10
283
end
284
end)
285
286
maus.KeyDown:connect(function(kei)
287
if string.byte(kei)==48 and not otheranims then
288
running=true
289
chr.Humanoid.WalkSpeed=18
290
end
291
292
chr.Humanoid.Changed:connect(function(ch)
293
if ch=='Jump' and not chr.Humanoid.Sit and not chr.Humanoid.PlatformStand then
294
local rei=Ray.new(torso.CFrame.p,((torso.CFrame*CFrame.new(0,-1,0)).p-torso.CFrame.p).unit*10)
295
local t,p=Workspace:FindPartOnRay(rei,chr)
296
if t then
297
chr.Humanoid.Jump=false
298
end
299
end
300
end)
301
302
if kei==' ' and not chr.Humanoid.Jump and not chr.Humanoid.Sit and not chr.Humanoid.PlatformStand and not jamp then
303
local rei=Ray.new(torso.CFrame.p,((rutprt.CFrame*CFrame.new(0,-1,0)).p-rutprt.CFrame.p).unit*3)
304
local t,p=Workspace:FindPartOnRay(rei,chr)
305
if t then
306
chr.Humanoid.PlatformStand=true
307
jamp=true
308
coroutine.wrap(function()
309
repeat wait()
310
chr.Torso.Velocity=Vector3.new(0,35,0)
311
until not chr.Humanoid.PlatformStand
312
end)()
313
wait(.1)
314
chr.Humanoid.PlatformStand=false
315
jamp=false
316
end
317
end
318
end)
319
320
321
322
local grunt=Instance.new('Sound',hed)
323
grunt.Name='Grunt'
324
grunt.Volume=1
325
grunt.Pitch=.9
326
grunt.Looped=false
327
grunt.SoundId="http://www.roblox.com/asset?id=525743689" 
328
329
330
331
local hut=Instance.new('Sound',weit)
332
hut.Name='Hit'
333
hut.Volume=1
334
hut.Looped=false
335
hut.Pitch=1
336
hut.SoundId="http://www.roblox.com/asset?id=146163534" 
337
local wtl=Instance.new('PointLight',weit)
338
wtl.Shadows=true
339
wtl.Brightness=123
340
wtl.Range=12
341
wtl.Color=weit.BrickColor.Color
342
wtl.Name='WeightLight'
343
local wgui=Instance.new('SurfaceGui',weit)
344
wgui.Face='Front'
345
wgui.Adornee=weit
346
wgui.CanvasSize=Vector2.new(100,100)
347
wgui.Name='WeightGui'
348
local tb=Instance.new('TextLabel',wgui)
349
tb.Size=UDim2.new(1,0,1,0)
350
tb.Text=[[LAWL'D]]
351
tb.TextColor3=Color3.new(1,1,1)
352
tb.BackgroundTransparency=1
353
local wtw=Instance.new('Weld',torso)
354
wtw.Name='WeightWeld'
355
wtw.Part0=torso
356
wtw.Part1=weit
357
wtw.C0=CFrame.new(0,.5,-1.8)*CFrame.Angles(math.rad(-20),0,0)
358
weit.Touched:connect(function(hit)
359
if hit and hit.CanCollide and hit.Parent and hit.Parent~=chr and hit.Parent.Parent~=chr and otheranims then
360
hum=hit.Parent:findFirstChild('Humanoid') and hit.Parent:findFirstChild('Torso') and hit.Parent.ClassName=='Model'
361
if hum and not hitdb then
362
local ex=Instance.new('Explosion',workspace)
363
ex.DestroyJointRadiusPercent=0
364
ex.BlastPressure=222222
365
ex.BlastRadius=18
366
hitdb=true
367
ex.Position=hit.Parent.Torso.Position
368
hit.Parent.Humanoid.Health=hit.Parent.Humanoid.Health-(101*(hit.Parent.Humanoid.MaxHealth/100))
369
table.insert(tempignore,hit.Parent)
370
hut:Play()
371
toss=false
372
hit.Parent.Humanoid.PlatformStand=true
373
coroutine.wrap(function()
374
repeat wait()
375
hit.Parent.Torso.Velocity=((hit.Parent.Torso.CFrame.p*Vector3.new(1,0,1))-(weit.CFrame.p*Vector3.new(1,0,1))).unit*100
376
weit.Velocity=((hit.Parent.Torso.CFrame.p*Vector3.new(1,0,1))-(weit.CFrame.p*Vector3.new(1,0,1))).unit*-10+Vector3.new(0,20,0)
377
until not hit.Parent.Humanoid.PlatformStand
378
end)()
379
wait(.2)
380
hit.Parent.Humanoid.PlatformStand=false
381
end
382
end
383
end)
384
maus.Button1Down:connect(function()
385
if not otheranims then
386
chr.Humanoid.WalkSpeed=0
387
otheranims=true
388
anim='PreThrow'
389
hitdb=false
390
coroutine.resume(coroutine.create(function()
391
for fgh,hgf in pairs(tempignore) do
392
table.remove(tempignore,hgf)
393
end
394
end))
395
wait(.3)
396
grunt:Play()
397
wait(.2)
398
anim='Throw'
399
const.Parent=nil
400
wtw.Parent=nil
401
wtw.Part0=nil
402
toss=true
403
weit.CFrame=rutprt.CFrame*CFrame.new(0,3,-3)
404
wait()
405
weit.Velocity=((rutprt.CFrame.p*Vector3.new(1,0,1))-(weit.CFrame.p*Vector3.new(1,0,1))).unit*-200+Vector3.new(0,12,0)
406
wait(.25)
407
const.Parent=chr
408
anim='Rest'
409
wait(1)
410
wtw.Parent=torso
411
wtw.Part0=torso
412
otheranims=false
413
chr.Humanoid.WalkSpeed=10
414
toss=false
415
end
416
end)
417
418
-----------------------------------------------------------------------------
419
420
game:service'RunService'.RenderStepped:connect(function()
421
chr.Humanoid.CameraOffset=(rutprt.CFrame:toObjectSpace(hed.CFrame)).p+Vector3.new(0,-1.25,0)
422
syne=syne+.95
423
if running and not otheranims then chr.Humanoid.WalkSpeed=18
424
elseif not running and not otheranims then chr.Humanoid.WalkSpeed=10
425
end
426
if not otheranims then
427
if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 1 and torso.Velocity.y<1 and torso.Velocity.y>-1 then
428
anim="Idling"
429
430
elseif (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude > 1 and (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude < 12 and torso.Velocity.y<1 and torso.Velocity.y>-1 then
431
anim="Walking"
432
433
elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 12 and torso.Velocity.y<1 and torso.Velocity.y>-1 then
434
anim="Sprinting"
435
436
elseif torso.Velocity.y>1 then
437
anim='Jumping'
438
439
elseif (torso.Velocity.y < -1) then
440
anim='Falling'
441
end
442
end
443
444
if anim=="Idling" then if not armmovement then
445
rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.35,.425,-.225)*CFrame.Angles(math.rad(67),0,math.rad(-12.5)),.05)
446
end
447
wtw.C0=Lerp(wtw.C0,CFrame.new(0,.375,-1.7)*CFrame.Angles(math.rad(-20),0,0),.25)
448
larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.35,.425,-.225)*CFrame.Angles(math.rad(67),0,math.rad(12.5)),.05)
449
lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.525,-1.3,.35)*CFrame.Angles(math.rad(-7),0,math.rad(-2.5)),.05)
450
rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.525,-1.3,.35)*CFrame.Angles(math.rad(-7),0,math.rad(2.5)),.05)
451
hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(30),0,math.cos(syne/30)/25),.05)
452
rutprt.RootJoint.C0=Lerp(rutprt.RootJoint.C0,CFrame.new(0,math.cos(syne/40)/15-.5,0)*CFrame.Angles(math.rad(125),math.rad(180),0),.05)
453
end
454
if anim=="Walking" then if not armmovement then
455
rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.35,.425,-.225)*CFrame.Angles(math.rad(67),0,math.rad(-12.5)),.05)
456
end
457
wtw.C0=Lerp(wtw.C0,CFrame.new(0,.375,-1.8)*CFrame.Angles(math.rad(-20),0,0),.25)
458
larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.35,.425,-.225)*CFrame.Angles(math.rad(67),0,math.rad(12.5)),.05)
459
lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.525,(math.cos(syne/10))-1.3,(math.cos(syne/10))+.475)*CFrame.Angles((math.cos(syne/10))*-1,0,math.rad(-2.5)),.05)
460
rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.525,(math.cos(syne/10))*-1-1.3,(math.cos(syne/10))*-1+.475)*CFrame.Angles((math.cos(syne/10)),0,math.rad(2.5)),.05)
461
hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(30),math.cos(syne/10)/10*-1,math.cos(syne/10)/20),.05)
462
rutprt.RootJoint.C0=Lerp(rutprt.RootJoint.C0,CFrame.new(0,math.cos(syne/6)/4-.5,0)*CFrame.Angles(math.rad(125),math.cos(syne/10)/10+math.rad(180),0),.05)
463
end
464
465
if anim=="Sprinting" then if not armmovement then
466
rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.35,.425,-.225)*CFrame.Angles(math.rad(67),0,math.rad(-12.5)),.05)
467
end
468
wtw.C0=Lerp(wtw.C0,CFrame.new(0,.375,-1.8)*CFrame.Angles(math.rad(-20),0,0),.25)
469
larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.35,.425,-.225)*CFrame.Angles(math.rad(67),0,math.rad(12.5)),.05)
470
lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.525,(math.cos(syne/7))-1.3,(math.cos(syne/7))+.475)*CFrame.Angles((math.cos(syne/7))*-1,0,math.rad(-2.5)),.05)
471
rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.525,(math.cos(syne/7))*-1-1.3,(math.cos(syne/7))*-1+.475)*CFrame.Angles((math.cos(syne/7)),0,math.rad(2.5)),.05)
472
hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(30),math.cos(syne/7)/7*-1,math.cos(syne/7)/20),.05)
473
rutprt.RootJoint.C0=Lerp(rutprt.RootJoint.C0,CFrame.new(0,math.cos(syne/6)/4-.5,0)*CFrame.Angles(math.rad(125),math.cos(syne/7)/7+math.rad(180),0),.05)
474
end
475
476
if anim=="Jumping" then if not armmovement then
477
rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(30),0,math.rad(30)),.15)
478
end
479
larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(30),0,math.rad(-30)),.15)
480
lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.85,1)*CFrame.Angles(0,0,math.rad(-2.5)),.05)
481
rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.85,1)*CFrame.Angles(0,0,math.rad(2.5)),.05)
482
hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),0,0),.05)
483
rutprt.RootJoint.C0=Lerp(rutprt.RootJoint.C0,CFrame.new(0,math.cos(syne/50)/20,.5)*CFrame.Angles(math.rad(75),math.rad(180),math.rad(0)),.05)
484
end
485
486
if anim=="Falling" then if not armmovement then
487
rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.425,.525,0)*CFrame.Angles(math.cos(syne/10)/5+math.rad(120),0,math.rad(22.5)),.15)
488
end
489
wtw.C0=Lerp(wtw.C0,CFrame.new(0,1.25,-2.25)*CFrame.Angles(math.cos(syne/20)/20,math.cos(syne/10)/30,0),.25)
490
larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.425,.525,0)*CFrame.Angles((math.cos(syne/10)/5)*-1+math.rad(120),0,math.rad(-22.5)),.15)
491
lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.725,-1.5,-.3)*CFrame.Angles(math.cos(syne/10)/5+math.rad(33),0,math.rad(-15)),.05)
492
rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.725,-1.5,-.3)*CFrame.Angles(math.cos(syne/10)/5*-1+math.rad(33),0,math.rad(15)),.05)
493
hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(30),0,0),.05)
494
rutprt.RootJoint.C0=Lerp(rutprt.RootJoint.C0,CFrame.new(0,0,1)*CFrame.Angles(math.rad(125),math.rad(180),math.rad(0)),.05)
495
end
496
497
if anim=="PreThrow" then
498
rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.35,.5,-.225)*CFrame.Angles(math.rad(105),0,math.rad(-12.5)),.1)
499
wtw.C0=Lerp(wtw.C0,CFrame.new(0,1,-2)*CFrame.Angles(math.rad(-10),0,0),.1)
500
larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.35,.425,-.225)*CFrame.Angles(math.rad(105),0,math.rad(12.5)),.1)
501
lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.525,-1.3,.3)*CFrame.Angles(math.rad(-10),0,math.rad(-2.5)),.1)
502
rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.525,-1.3,.3)*CFrame.Angles(math.rad(-10),0,math.rad(2.5)),.1)
503
hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(40),0,0),.1)
504
rutprt.RootJoint.C0=Lerp(rutprt.RootJoint.C0,CFrame.new(0,math.cos(syne/40)/15-.5,0)*CFrame.Angles(math.rad(132.5),math.rad(180),0),.1)
505
end
506
507
if anim=="Throw" then
508
rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.35,.6,-.225)*CFrame.Angles(math.rad(105),0,math.rad(-12.5)),.1)
509
larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.35,.425,-.225)*CFrame.Angles(math.rad(105),0,math.rad(12.5)),.1)
510
lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.525,-1.3,0)*CFrame.Angles(math.rad(40),0,math.rad(-2.5)),.1)
511
rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.525,-1.3,0)*CFrame.Angles(math.rad(40),0,math.rad(2.5)),.1)
512
hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-5),0,0),.1)
513
rutprt.RootJoint.C0=Lerp(rutprt.RootJoint.C0,CFrame.new(0,math.cos(syne/40)/15-.5,0)*CFrame.Angles(math.rad(75),math.rad(180),0),.1)
514
end
515
516
if anim=="Rest" then
517
rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.35,.55,-.225)*CFrame.Angles(math.rad(35),0,math.rad(-12.5)),.1)
518
larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.35,.425,-.225)*CFrame.Angles(math.rad(35),0,math.rad(12.5)),.1)
519
lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.525,-.85,-.25)*CFrame.Angles(math.rad(40),0,math.rad(-2.5)),.1)
520
rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.525,-.85,-.25)*CFrame.Angles(math.rad(40),0,math.rad(2.5)),.1)
521
hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-5),0,0),.1)
522
rutprt.RootJoint.C0=Lerp(rutprt.RootJoint.C0,CFrame.new(0,math.cos(syne/40)/15-1,0)*CFrame.Angles(math.rad(75),math.rad(180),0),.1)
523
end
524
525
end)