View difference between Paste ID: BdKyGC25 and 3YrjpC8J
SHOW: | | - or go back to the newest paste.
1-
local plr=game.Players.Wlnged
1+
local player = game.Players.LocalPlayer
2
local mouse = player:GetMouse()
3
plr2 = game.Players.LocalPlayer
4
cyan = true
5
green = false
6
red = false
7
purple = false
8
local plr = game.Players.LocalPlayer.Character
9
cleanup = true
10
path = false
11
12
local m = Instance.new("Model")
13
m.Name = "m" 
14
m.Parent = plr
15
16
mouse.KeyDown:connect(function(key)
17
    if key == "q" then
18
        if path == true then path = false elseif path == false then path = true end
19
    elseif key == "e" then
20
        if cleanup == true then cleanup = false elseif cleanup == false then cleanup = true end
21
    elseif key == "x" then 
22
        plr.m:ClearAllChildren()
23
    end
24
end)
25
spawn(function()
26
    while wait(1.35) do
27
       if cyan == true then
28
            green = true 
29
            cyan = false
30
        elseif green == true then 
31
            red = true 
32
            green = false
33
        elseif red == true then
34
            purple = true
35
            red = false
36
        elseif purple == true then
37
            cyan = true
38
            purple = false
39
        end
40
    end
41
end)
42
function fade(part)
43
    wait(0.15)
44
    for i = 0.3,1,0.1 do wait()
45
       part.Transparency = i
46
       if i == 0.8 or i == 0.9 or i == 0.7 or i == 0.6 or i == 0.5 or i == 0.4 then
47
           if cyan == true then
48
           part.BrickColor = BrickColor.new("Dark blue")
49
       elseif green == true then
50
           part.BrickColor = BrickColor.new("Dark red")
51
       elseif red == true then
52
           part.BrickColor = BrickColor.new("Dark green")
53
            end
54
           part.Material = "Neon"
55
        end
56
    end
57
    part:remove''
58
end
59
local num = 0.1
60
spawn(function()
61
while true do coroutine.yield()
62
    if path == true then
63
        num = num + 3.5
64
        local p = Instance.new("Part")
65
        p.Name = "p"
66
        p.Parent = plr.m
67
        p.FormFactor = "Custom"
68
        p.Size = Vector3.new(3,0.4,3)
69
        p.CFrame = plr.Torso.CFrame * CFrame.new(0,-3-(p.Size.Y/2),0) * CFrame.Angles(0,math.rad(num),0)
70
        p.Transparency = 0.3
71
        p.BrickColor = BrickColor.new("Really black")
72
        p.Anchored = true
73
        p.TopSurface = "Smooth"
74
        p.BottomSurface = "Smooth"
75
        spawn(function()
76
            if cleanup == true then
77
            fade(p)
78
            end
79
        end)
80
        else
81
    end
82
end
83
end)
84
print("Controls: \nQ: Toggle path \nX: Clear all path \nE: Toggle path fade, ALSO EDITED/REMADE BY SMOKEDELSIN '_-")
85
86
local plr=game.Players.SmokeDelsin
87
local chr=plr.Character
88
local mouse = plr:GetMouse()
89
local PGui=plr.PlayerGui
90
local lleg = chr["Left Leg"]
91
local rleg = chr["Right Leg"]
92
local larm = chr["Left Arm"]
93
local rarm = chr["Right Arm"]
94
local hed = chr.Head
95
local rutprt = chr.HumanoidRootPart
96
local torso = chr.Torso
97
local otheranims=false
98
local armmovement=false
99
chr.Animate.Disabled=true
100
local RunSpeed=30
101
local WlkSpeed=18
102
local runnin=false
103
local disabled=false
104
local tik=0
105
local height=1
106
local raising=false
107
local lowering=false
108
local pseudohead=hed:Clone()
109
for i,x in pairs(pseudohead:GetChildren()) do if not x.ClassName:find('Mesh') then x:Destroy() end end
110
pseudohead.Name='PseudoHead'
111
pseudohead.Parent=chr.Head
112
local pseudoweld=Instance.new('Weld',torso)
113
pseudoweld.Part0=hed
114
pseudoweld.Name='PseudoHedWld'
115
pseudoweld.Part1=pseudohead
116
hed.Transparency=1
117
118
coroutine.resume(coroutine.create(function()
119
local rate=.05
120
local Hats={}
121
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"
122
end
123
end
124
local lam=Instance.new("SpecialMesh",larm)
125
lam.MeshId="http://www.roblox.com/asset?id=12221505"
126
lam.TextureId="http://www.roblox.com/asset?id=25701026"
127
local ram=Instance.new("SpecialMesh",rarm)
128
ram.MeshId="http://www.roblox.com/asset?id=12221505"
129
ram.TextureId="http://www.roblox.com/asset?id=25701026"
130
local rlm=Instance.new("SpecialMesh",rleg)
131
rlm.MeshId="http://www.roblox.com/asset?id=12221626"
132
rlm.TextureId="http://www.roblox.com/asset?id=25701026"
133
local llm=Instance.new("SpecialMesh",lleg)
134
llm.MeshId="http://www.roblox.com/asset?id=12221626"
135
llm.TextureId="http://www.roblox.com/asset?id=25701026"
136
local trm=Instance.new("SpecialMesh",torso)
137
trm.MeshId="http://www.roblox.com/asset?id=12221758"
138
trm.TextureId="http://www.roblox.com/asset?id=25701026"
139
local hem=Instance.new("SpecialMesh",hed)
140
hem.MeshId="rbxasset://fonts/head.mesh"
141
hem.TextureId="http://www.roblox.com/asset?id=25701026"
142
local hem2=Instance.new("SpecialMesh",pseudohead)
143
hem2.MeshId="rbxasset://fonts/head.mesh"
144
hem2.TextureId="http://www.roblox.com/asset?id=25701026"
145
local asd=Instance.new('PointLight',torso)
146
asd.Brightness=123
147
asd.Range=12
148
asd.Shadows=true
149
150
while wait'0' do
151
for a=0,1,rate do 
152
lam.VertexColor=Vector3.new(a,0,-a+1)
153
ram.VertexColor=Vector3.new(a,0,-a+1)
154
rlm.VertexColor=Vector3.new(a,0,-a+1)
155
llm.VertexColor=Vector3.new(a,0,-a+1)
156
trm.VertexColor=Vector3.new(a,0,-a+1)
157
hem.VertexColor=Vector3.new(a,0,-a+1)
158
hem2.VertexColor=Vector3.new(a,0,-a+1)
159
asd.Color=Color3.new(a,0,-a+1)
160
coroutine.wrap(function()
161
for x=1,#Hats do
162
Hats[x].Handle.Mesh.VertexColor=Vector3.new(a,0,-a+1)
163
end
164
end)()
165
wait''
166
end
167
for a=0,1,rate do
168
lam.VertexColor=Vector3.new(-a+1,a,0)
169
ram.VertexColor=Vector3.new(-a+1,a,0)
170
rlm.VertexColor=Vector3.new(-a+1,a,0)
171
llm.VertexColor=Vector3.new(-a+1,a,0)
172
trm.VertexColor=Vector3.new(-a+1,a,0)
173
hem.VertexColor=Vector3.new(-a+1,a,0)
174
hem2.VertexColor=Vector3.new(-a+1,a,0)
175
asd.Color=Color3.new(-a+1,a,0)
176
coroutine.wrap(function()
177
for x=1,#Hats do
178
Hats[x].Handle.Mesh.VertexColor=Vector3.new(-a+1,a,0)
179
end
180
end)()
181
wait''
182
end
183
for a=0,1,rate do
184
lam.VertexColor=Vector3.new(0,-a+1,a)
185
ram.VertexColor=Vector3.new(0,-a+1,a)
186
rlm.VertexColor=Vector3.new(0,-a+1,a)
187
llm.VertexColor=Vector3.new(0,-a+1,a)
188
trm.VertexColor=Vector3.new(0,-a+1,a)
189
hem.VertexColor=Vector3.new(0,-a+1,a)
190
hem2.VertexColor=Vector3.new(0,-a+1,a)
191
asd.Color=Color3.new(0,-a+1,a)
192
coroutine.wrap(function()
193
for x=1,#Hats do
194
Hats[x].Handle.Mesh.VertexColor=Vector3.new(0,-a+1,a)
195
end
196
end)()
197
wait''
198
end
199
end
200
end))
201
202
203
204
205
206
207
208
209
210
coroutine.wrap(function()
211
for i,x in pairs(hed:GetChildren()) do if x:IsA('Sound') then x:Destroy() end end end)()
212
213
local flap=Instance.new("Sound",torso)
214
flap.Volume=.3
215
flap.Pitch=1
216
flap.SoundId="http://www.roblox.com/asset?id=90820031"
217
218
function Lerp(a, b, i)
219
local com1 = {a.X, a.Y, a.Z, a:toEulerAnglesXYZ()}
220
local com2 = {b.X, b.Y, b.Z, b:toEulerAnglesXYZ()}
221
local calx = com1[1] + (com2[1] - com1[1]) * i
222
local caly = com1[2] + (com2[2] - com1[2]) * i
223
local calz = com1[3] + (com2[3] - com1[3]) * i
224
local cala = com1[4] + (com2[4] - com1[4]) * i
225
local calb = com1[5] + (com2[5] - com1[5]) * i
226
local calc = com1[6] + (com2[6] - com1[6]) * i
227
return CFrame.new(calx, caly, calz) * CFrame.Angles(cala, calb, calc)
228
end
229
230
function TwnSingleNumber(s,f,m)
231
local wot=s+(f-s)*m
232
return wot
233
end
234
235
function TwnVector3(q,w,e)
236
local begin={q.x,q.y,q.z}
237
local ending={w.x,w.y,w.z}
238
local bgx=begin[1]+(ending[1]-begin[1])*e
239
local bgy=begin[2]+(ending[2]-begin[2])*e
240
local bgz=begin[3]+(ending[3]-begin[3])*e
241
return Vector3.new(bgx,bgy,bgz)
242
end
243
244
newWeld = function(wld, wp0, wp1, wc0x, wc0y, wc0z)
245
wld = Instance.new("Weld", wp1)
246
wld.Part0 = wp0
247
wld.Part1 = wp1
248
wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
249
end
250
251
newWeld(law, torso, larm, -1.5, 0.5, 0)
252
newWeld(raw, torso, rarm, 1.5, 0.5, 0)
253
newWeld(llw, torso, lleg, -.5, -2, 0)
254
newWeld(rlw, torso, rleg, .5, -2, 0)
255
newWeld(hw, torso, hed, 0, 1.5, 0)
256
local rutwald=Instance.new('Weld',rutprt)
257
rutwald.Part0=rutprt
258
rutwald.Part1=torso
259
rutprt.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),0)
260
larm.Weld.C1 = CFrame.new(0, 0.5, 0)
261
rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
262
rleg.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,0)
263
lleg.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,0)
264
265
local anim = "Idling"
266
local lastanim = "Idling"
267
local val = 0
268
local syne = 0
269
local num = 0
270
local runtime = 0
271
272
--[[local pseudohead=hed:Clone()
273
for i,x in pairs(pseudohead:GetChildren()) do if not x.ClassName:find('Mesh') then x:Destroy() end end
274
pseudohead.Name='PseudoHead'
275
pseudohead.Parent=chr.Head
276
local pseudoweld=Instance.new('Weld',torso)
277
pseudoweld.Part0=hed
278
pseudoweld.Name='PseudoHedWld'
279
pseudoweld.Part1=pseudohead
280
hed.Transparency=1]]
281
282
283
284
maus.KeyDown:connect(function(kei)
285
if string.byte(kei)==48 and not otheranims and not disabled then
286
chr.Humanoid.WalkSpeed=RunSpeed
287
runnin=true
288
end
289
if kei=="e" and not otheranims and not disabled and not lowering then
290
raising=true
291
end
292
if kei=="q" and not otheranims and not disabled and not raising then
293
lowering=true
294
end
295
end)
296
297
maus.KeyUp:connect(function(kei)
298
if string.byte(kei)==48 and not otheranims and not disabled then
299
chr.Humanoid.WalkSpeed=WlkSpeed
300
runnin=false
301
end
302
if kei=="e" and not otheranims and not disabled then
303
raising=false
304
end
305
if kei=="q" and not otheranims and not disabled then
306
lowering=false
307
end
308
end)
309
310
game:service'RunService'.RenderStepped:connect(function()
311
if raising and not lowering then height=height+.2
312
elseif lowering and not raising then height=height-.2
313
end
314
if height>50 then height=50
315
elseif height<-.75 then height=-.75
316
end
317
syne=syne+1
318
if not otheranims then
319
if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 1 and not dnc  and torso.Velocity.y<5 and torso.Velocity.y>-5 then
320
anim="Idling"
321
322
elseif (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude > 1 and (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude < 25 and torso.Velocity.y<5 and torso.Velocity.y>-5 then
323
anim="Walking"
324
dnc=false
325
326
elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 25  and torso.Velocity.y<5 and torso.Velocity.y>-5 then
327
anim="Sprinting"
328
dnc=false
329
330
elseif torso.Velocity.y>5 then
331
anim='Jumping'
332
dnc=false
333
334
elseif (torso.Velocity.y < -5) then
335
anim='Falling'
336
dnc=false
337
end
338
end
339
340
if anim=="Idling" then
341
tik=tik+1
342
if tik==45 then tik=0
343
flap:play''
344
end
345
if not armmovement then
346
rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.55,0)*CFrame.Angles(math.sin(syne/16)/3,0,(math.sin(syne/8)*1.5)+math.rad(55)),.1)
347
larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.55,0)*CFrame.Angles(math.sin(syne/16)/3,0,-(math.sin(syne/8)*1.5)-math.rad(55)),.1)
348
end
349
lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.8,math.sin(syne/16)/3)*CFrame.Angles(-math.sin(syne/16)/3,0,math.rad(-2.5)),.1)
350
rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.8,math.sin(syne/16)/3)*CFrame.Angles(-math.sin(syne/16)/3,0,math.rad(2.5)),.1)
351
hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(0,math.rad(0),0),.1)
352
rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-(math.sin(syne/8))*1.8+height,-(math.sin(syne/16)/2))*CFrame.Angles(math.sin(syne/16)/10,math.rad(0),math.rad(0)),.025)
353
end
354
if anim=="Walking" then
355
tik=tik+1
356
if tik==43 then tik=0
357
flap:play''
358
end
359
rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.5,0)*CFrame.Angles(math.rad(-3)+math.sin(syne/7)/4,0,(math.sin(syne/7)*1.5)+math.rad(55)),.1)
360
larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.5,0)*CFrame.Angles(math.rad(-3)+math.sin(syne/7)/4,0,-(math.sin(syne/7)*1.5)-math.rad(55)),.1)
361
lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.8,-math.sin(syne/14)/10)*CFrame.Angles(math.sin(syne/14)/10+math.rad(-5),0,math.rad(-2.5)),.1)
362
rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.8,-math.sin(syne/14)/10)*CFrame.Angles(math.sin(syne/14)/10+math.rad(-5),0,math.rad(2.5)),.1)
363
hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(0,math.rad(0),0),.1)
364
rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-(math.sin(syne/7))*1.8+height,math.sin(syne/14)/2)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(0)),.025)
365
end
366
if anim=="Sprinting" then
367
tik=tik+1
368
if tik==40 then tik=0
369
flap:play''
370
end
371
rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.5,0)*CFrame.Angles(math.rad(-3)-math.sin(syne/6.5)/2,0,(math.sin(syne/6.5)*1.5)+math.rad(55)),.1)
372
larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.5,0)*CFrame.Angles(math.rad(-3)-math.sin(syne/6.5)/2,0,-(math.sin(syne/6.5)*1.5)-math.rad(55)),.1)
373
lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-2,0)*CFrame.Angles(math.rad(0),0,math.rad(-2.5)),.1)
374
rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.5,-.1)*CFrame.Angles(math.rad(-17.5),0,math.rad(2.5)),.1)
375
hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(0,math.rad(0),0),.1)
376
rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-(math.sin(syne/6.5)*1.6)+height,math.sin(syne/6.5)/5)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),.025)
377
end
378
if anim=="Jumping" then
379
rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.55,0)*CFrame.Angles(0,0,math.rad(5)),.1)
380
larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.55,0)*CFrame.Angles(0,0,math.rad(5)),.1)
381
lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-2,0)*CFrame.Angles(math.rad(0),0,math.rad(-2.5)),.1)
382
rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.5,-.1)*CFrame.Angles(math.rad(-12.5),0,math.rad(2.5)),.125)
383
hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(20),math.rad(0),0),.1)
384
rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,height,0)*CFrame.Angles(math.rad(5),math.rad(0),math.rad(0)),.025)
385
end
386
if anim=="Falling" then
387
rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,1,0)*CFrame.Angles(math.rad(15),0,math.rad(175)),.1)
388
larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,1,0)*CFrame.Angles(math.rad(15),0,math.rad(-175)),.1)
389
lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-2,0)*CFrame.Angles(math.rad(0),0,math.rad(-2.5)),.1)
390
rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.5,0)*CFrame.Angles(math.rad(-7.5),0,math.rad(2.5)),.125)
391
hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,-.1)*CFrame.Angles(math.rad(-20),math.rad(0),0),.1)
392
rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,rutprt.Weld.C0.y+1,0)*CFrame.Angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
393
end
394
395
396
chr.Humanoid.CameraOffset=(rutprt.CFrame:toObjectSpace(hed.CFrame)).p+Vector3.new(0,-1.25,0)
397
end)