View difference between Paste ID: 9FUEcArb and bSdy5PFz
SHOW: | | - or go back to the newest paste.
1
-- This script has convert to FE by who i don't know?
2
3
-----------------------------------------------------
4
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
5
local Player,game,owner = owner,game
6
local RealPlayer = Player
7
do
8
    print("FE Compatibility code by Mokiros | Showcase by Bacon Hair!")
9
    local rp = RealPlayer
10
    script.Parent = rp.Character
11
   
12
    --RemoteEvent for communicating
13
    local Event = Instance.new("RemoteEvent")
14
    Event.Name = "UserInput_Event"
15
 
16
    --Fake event to make stuff like Mouse.KeyDown work
17
    local function fakeEvent()
18
        local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
19
        t.connect = t.Connect
20
        return t
21
    end
22
 
23
    --Creating fake input objects with fake variables
24
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
25
    local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
26
    local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
27
        CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
28
    end}
29
    --Merged 2 functions into one by checking amount of arguments
30
    CAS.UnbindAction = CAS.BindAction
31
 
32
    --This function will trigger the events that have been :Connect()'ed
33
    local function te(self,ev,...)
34
        local t = m[ev]
35
        if t and t._fakeEvent then
36
            for _,f in pairs(t.Functions) do
37
                f(...)
38
            end
39
        end
40
    end
41
    m.TrigEvent = te
42
    UIS.TrigEvent = te
43
 
44
    Event.OnServerEvent:Connect(function(plr,io)
45
        if plr~=rp then return end
46
        m.Target = io.Target
47
        m.Hit = io.Hit
48
        if not io.isMouse then
49
            local b = io.UserInputState == Enum.UserInputState.Begin
50
            if io.UserInputType == Enum.UserInputType.MouseButton1 then
51
                return m:TrigEvent(b and "Button1Down" or "Button1Up")
52
            end
53
            for _,t in pairs(CAS.Actions) do
54
                for _,k in pairs(t.Keys) do
55
                    if k==io.KeyCode then
56
                        t.Function(t.Name,io.UserInputState,io)
57
                    end
58
                end
59
            end
60
            m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
61
            UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
62
        end
63
    end)
64
    Event.Parent = NLS([==[
65
    local Player = game:GetService("Players").LocalPlayer
66
    local Event = script:WaitForChild("UserInput_Event")
67
 
68
    local Mouse = Player:GetMouse()
69
    local UIS = game:GetService("UserInputService")
70
    local input = function(io,a)
71
        if a then return end
72
        --Since InputObject is a client-side instance, we create and pass table instead
73
        Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
74
    end
75
    UIS.InputBegan:Connect(input)
76
    UIS.InputEnded:Connect(input)
77
 
78
    local h,t
79
    --Give the server mouse data 30 times every second, but only if the values changed
80
    --If player is not moving their mouse, client won't fire events
81
    while wait(1/30) do
82
        if h~=Mouse.Hit or t~=Mouse.Target then
83
            h,t=Mouse.Hit,Mouse.Target
84
            Event:FireServer({isMouse=true,Target=t,Hit=h})
85
        end
86
    end]==],Player.Character)
87
 
88
    ----Sandboxed game object that allows the usage of client-side methods and services
89
    --Real game object
90
    local _rg = game
91
 
92
    --Metatable for fake service
93
    local fsmt = {
94
        __index = function(self,k)
95
            local s = rawget(self,"_RealService")
96
            if s then return s[k] end
97
        end,
98
        __newindex = function(self,k,v)
99
            local s = rawget(self,"_RealService")
100
            if s then s[k]=v end
101
        end,
102
        __call = function(self,...)
103
            local s = rawget(self,"_RealService")
104
            if s then return s(...) end
105
        end
106
    }
107
    local function FakeService(t,RealService)
108
        t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
109
        return setmetatable(t,fsmt)
110
    end
111
 
112
    --Fake game object
113
    local g = {
114
        GetService = function(self,s)
115
            return self[s]
116
        end,
117
        Players = FakeService({
118
            LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
119
        },"Players"),
120
        UserInputService = FakeService(UIS,"UserInputService"),
121
        ContextActionService = FakeService(CAS,"ContextActionService"),
122
    }
123
    rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
124
    g.service = g.GetService
125
   
126
    g.RunService = FakeService({
127
        RenderStepped = _rg:GetService("RunService").Heartbeat,
128
        BindToRenderStep = function(self,name,_,fun)
129
 
130
        end,
131
        UnbindFromRenderStep = function(self,name)
132
            self._btrs[name]:Disconnect()
133
        end,
134
    },"RunService")
135
 
136
    setmetatable(g,{
137
        __index=function(self,s)
138
            return _rg:GetService(s) or typeof(_rg[s])=="function"
139
            and function(_,...)return _rg[s](_rg,...)end or _rg[s]
140
        end,
141
        __newindex = fsmt.__newindex,
142
        __call = fsmt.__call
143
    })
144
    --Changing owner to fake player object to support owner:GetMouse()
145
    game,owner = g,g.Players.LocalPlayer
146
end
147
-------------------------------
148
--[[ The Coffe Rage Script ]]--
149
-------------------------------
150
--[[
151
	Created by LegendOfDarknees.
152
	and also leaked by LegendOfDarknees.
153
	
154
	Note:
155
		I decided to leak it cause this
156
		pathetic skid "pxire" leeched it out
157
		of my friend. If you see "pxire",
158
		never trade him or let your friends
159
		be friends with him.
160
		Anyway, pxire claims that he made this.
161
		Too bad I leaked it first
162
	
163
	Anyway, so you script kiddies enjoy this.
164
	By the way, this script is old, so I don't really care about it.
165
	
166
	
167
	Do not remove this credit.
168
--]]
169
local p=game:service("Players").LocalPlayer
170
171
ScreenGui0 = Instance.new("ScreenGui")
172
Frame1 = Instance.new("Frame")
173
TextLabel2 = Instance.new("TextLabel")
174
Frame3 = Instance.new("Frame")
175
Frame4 = Instance.new("Frame")
176
Frame5 = Instance.new("Frame")
177
Frame6 = Instance.new("Frame")
178
TextLabel7 = Instance.new("TextLabel")
179
ScreenGui0.Name = "sc"
180
ScreenGui0.Parent = p.PlayerGui
181
Frame1.Name = "bk"
182
Frame1.Parent = ScreenGui0
183
Frame1.Size = UDim2.new(0, 308, 0, 308)
184
Frame1.Position = UDim2.new(0.274853796, 0, -1, 0)
185
Frame1.BackgroundColor3 = Color3.new(0.00392157, 1, 0.584314)
186
Frame1.BorderSizePixel = 0
187
TextLabel2.Name = "txt"
188
TextLabel2.Parent = Frame1
189
TextLabel2.Transparency = 1
190
TextLabel2.Size = UDim2.new(0, 308, 0, 308) 
191
TextLabel2.Text = "L"
192
TextLabel2.BackgroundColor3 = Color3.new(1, 1, 1)
193
TextLabel2.BackgroundTransparency = 1
194
TextLabel2.BorderSizePixel = 0
195
TextLabel2.Font = Enum.Font.SourceSansLight
196
TextLabel2.FontSize = Enum.FontSize.Size14
197
TextLabel2.TextColor3 = BrickColor.new("Institutional white").Color
198
TextLabel2.TextScaled = true
199
TextLabel2.TextStrokeTransparency = 0.89999997615814
200
TextLabel2.TextWrapped = true
201
TextLabel2.TextTransparency=0
202
Frame3.Name = "b2"
203
Frame3.Parent = Frame1
204
Frame3.Size = UDim2.new(0, 308, 0, 68)
205
Frame3.Position = UDim2.new(0, 0, 0.77922076, 0)
206
Frame3.BackgroundColor3 = Color3.new(0, 1, 0.701961)
207
Frame3.BorderSizePixel = 0
208
Frame4.Name = "b3"
209
Frame4.Parent = Frame1
210
Frame4.Size = UDim2.new(0, 308, 0, 51)
211
Frame4.Position = UDim2.new(0, 0, 0.834415555, 0)
212
Frame4.BackgroundColor3 = Color3.new(0, 1, 0.886275)
213
Frame4.BorderSizePixel = 0
214
Frame5.Name = "b4"
215
Frame5.Parent = Frame1
216
Frame5.Size = UDim2.new(0, 308, 0, 19)
217
Frame5.Position = UDim2.new(0, 0, 0.938311696, 0)
218
Frame5.BackgroundColor3 = Color3.new(0, 0.768628, 1)
219
Frame5.BorderSizePixel = 0
220
Frame6.Name = "bk2"
221
Frame6.Parent = Frame1
222
Frame6.Size = UDim2.new(0, 308, 0, 40)
223
Frame6.Position = UDim2.new(0, 0, 0, 0)
224
Frame6.BackgroundColor3 = Color3.new(0, 0.65098, 1)
225
Frame6.BorderSizePixel = 0
226
TextLabel7.Name = "txt"
227
TextLabel7.Parent = Frame6
228
TextLabel7.Transparency = 1
229
TextLabel7.Size = UDim2.new(1, 0, 1, 0)
230
TextLabel7.Text = "Created by the programmer LegendOfDarknees."
231
TextLabel7.BackgroundColor3 = Color3.new(1, 1, 1)
232
TextLabel7.BackgroundTransparency = 1
233
TextLabel7.BorderSizePixel = 0
234
TextLabel7.Font = Enum.Font.SourceSansBold
235
TextLabel7.FontSize = Enum.FontSize.Size14
236
TextLabel7.TextColor3 = BrickColor.new("Institutional white").Color
237
TextLabel7.TextScaled = true
238
TextLabel7.TextTransparency=0
239
TextLabel7.TextStrokeTransparency = 0.89999997615814
240
241
TextLabel7.TextWrapped = true
242
243
local sc = ScreenGui0
244
sc.bk.ZIndex=2
245
sc.bk.b2.ZIndex=2
246
sc.bk.b3.ZIndex=2
247
sc.bk.b4.ZIndex=2
248
sc.bk.txt.ZIndex=2
249
250
sc.bk.Position = UDim2.new(0.274853796, 0, -1, 0)
251
sc.bk:TweenPosition(UDim2.new(0.275, 0,0.1, 0),"Out","Sine",2)
252
sc.bk.bk2:TweenPosition(UDim2.new(0,0,1,0),"Out","Sine",2)
253
wait(3)
254
sc.bk:TweenPosition(UDim2.new(0.275, 0,1.7, 0),"Out","Sine",2)
255
wait(2)
256
sc:Destroy()
257
258
wait(0.1)
259
-------------------------------
260
local p=game:service("Players").LocalPlayer
261
if  p.Name=="Reruderu" then
262
        p:Kick("go away, skid who uses crappy decompilers,v3rmie skid.")
263
elseif p.Name=="Rerumu" then
264
        p:Kick("no thanks, skid who uses crappy decompilers that they didnt make.also being an pathetic v3rmie kid")
265
end
266
local char=p.Character
267
script.Parent=char 
268
local torso=char.Torso
269
local hed=char.Head
270
local larm=char:FindFirstChild("Left Arm")
271
local rarm=char:FindFirstChild("Right Arm")
272
local lleg=char:FindFirstChild("Left Leg")
273
local rleg=char:FindFirstChild("Right Leg") 
274
local hum=char.Humanoid
275
local cam=workspace.CurrentCamera
276
local root=char.HumanoidRootPart
277
local mouse=p:GetMouse()
278
local hb=game:service("RunService").Heartbeat
279
local rs=game:service("RunService").Stepped
280
hum.MaxHealth=150000
281
hum.Health=hum.MaxHealth
282
local pgui=Instance.new("ScreenGui",p.PlayerGui)
283
random={25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-55,-56,-57,-58,-59,-60,-61,-62,-63,-64,-65,-66,-67,-68,-69,-70,-71,-72,-73,-74,-75,-76,-77,-78,-79,-80,-81,-82,-83,-84,-85,-86,-87,-88,-89,-90,-91,-92,-93,-94,-95,-96,-97,-98,-99,-100}
284
local run = 30
285
local normal = 16
286
local color = "Really black"
287
-------------------
288
local drinks="10722059"
289
local m="41707332"
290
local tx="41708701"
291
local ragesong="655337888"
292
local breaks="368270172"
293
local scream="527276541"
294
-------------------
295
296
function fnt(pos,dist,splr)
297
    if splr then return(splr.Torso.CFrame.p -pos).magnitude < dist end
298
        local list = {}
299
        for i,v in pairs(workspace:GetChildren())do
300
            if v:IsA("Model")then
301
                if v:findFirstChild("Torso")then
302
                    if v ~= char then
303
                        if(v.Torso.Position -pos).magnitude <= dist then
304
                            table.insert(list,v)
305
                        end
306
                    end
307
                end
308
            end
309
        end
310
    return list
311
end
312
function fnp(pos,dist,splr)
313
    if splr then return(splr.Torso.CFrame.p -pos).magnitude < dist end
314
        local list = {}
315
        for i,v in pairs(workspace:GetChildren())do
316
            if v:IsA("Part")then
317
                    if v ~= char and v.Name~="Car" and v~=torso and v.Name~="Base" and v.Name~="Baseplate" then
318
                        if(v.Position -pos).magnitude <= dist then
319
                            table.insert(list,v)
320
                        end
321
                end
322
            end
323
        end
324
    return list
325
end
326
fw = function(wp0, wp1, wc0x, wc0y, wc0z) -- fast weld
327
local wld = Instance.new("Weld", wp1)
328
wld.Part0 = wp0
329
wld.Part1 = wp1
330
wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
331
end
332
local trans=false
333
------------------------------------
334
local msgs=0
335
function say(msg,speed,tme)
336
msgs=msgs+1
337
local bg=Instance.new("BillboardGui",char)
338
bg.Enabled=true;
339
bg.Active=true
340
bg.Adornee=hed
341
bg.Size=UDim2.new(1,0,1,0)
342
bg.StudsOffset=Vector3.new(0,3+msgs,0)
343
local txt=Instance.new("TextLabel",bg)
344
txt.Position=UDim2.new(0,0,0,0)
345
txt.Size=UDim2.new(8,0,1.3,0)
346
txt.BackgroundTransparency=1
347
txt.BorderSizePixel=0
348
txt.Font="Bodoni"
349
txt.TextScaled=true;
350
txt.TextWrapped=true;
351
txt.TextColor3=Color3.new(255,255,255)
352
txt.TextStrokeTransparency=0
353
txt.TextStrokeColor3=Color3.new(0,0,0)
354
txt.Text=""
355
if trans == true then
356
txt.TextColor3=Color3.new(255,0,0)
357
txt.Font="Antique"
358
end
359
coroutine.wrap(function()
360
for i = 1,string.len(msg) do
361
        print(i)
362
        if speed>0 then
363
        wait(speed)
364
        else
365
        wait()
366
        end
367
        txt.Text=txt.Text..msg:sub(i,i)
368
end
369
wait(tme)
370
txt:Destroy()
371
bg:Destroy()
372
msgs=msgs-1
373
end)()
374
375
end
376
local s0=Instance.new("Sound",char)
377
s0.SoundId="rbxassetid://"..ragesong
378
s0.Volume=1999
379
s0.Pitch=1
380
s0.Looped=true
381
382
local hair = Instance.new("Part",char)
383
hair.Material="Neon"
384
hair.CanCollide=false
385
hair.Size=Vector3.new(0.1,0.1,0.1)
386
hair.BrickColor=BrickColor.new(color)
387
hair.Transparency=1
388
389
local msh = Instance.new("SpecialMesh",hair)
390
msh.MeshId="rbxassetid://560196103"
391
msh.Scale=Vector3.new(6.5,6.5,6.5)
392
393
local w = Instance.new("Weld",hair)
394
w.Part1=hair
395
w.Part0=hed
396
w.C0=CFrame.new(0,-0.1,0.6)
397
398
----------chat
399
p.Chatted:connect(function(m)
400
say(string.sub(m, 1, string.len(m)),0,3)
401
end)
402
------------------------------------
403
anim="idle"
404
local sine=0
405
local add=0
406
local value=0
407
local ffing=false
408
local msgs=0
409
attack=false
410
NoAnims=false
411
----preparing character----
412
fw(torso, larm, -1.5, 0.5, 0)
413
larm.Weld.C1 = CFrame.new(0, 0.5, 0)
414
fw(torso, rarm, 1.5, 0.5, 0)
415
rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
416
fw(torso, hed, 0, 1.5, 0)
417
fw(torso, lleg, -0.5, -1, 0)
418
lleg.Weld.C1 = CFrame.new(0, 1, 0)
419
fw(torso, rleg, 0.5, -1, 0)
420
rleg.Weld.C1 = CFrame.new(0, 1, 0)
421
fw(root, torso, 0, -1, 0)
422
torso.Weld.C1 = CFrame.new(0, -1, 0)
423
--------------rot------------
424
local r=0
425
local radd=0.04
426
coroutine.wrap(function()
427
while rs:wait() do
428
r=r+radd
429
end
430
end)()
431
attack = false
432
-----------------------------
433
local e = Instance.new("Part",char)
434
e.Name="Mug"
435
e.CanCollide=false
436
e.Size=Vector3.new(1,1,1)
437
438
local me=Instance.new("SpecialMesh",e)
439
me.MeshId="rbxassetid://"..m
440
me.TextureId="rbxassetid://"..tx
441
me.Scale=Vector3.new(1.6,1.6,1.6)
442
443
local w=Instance.new("Weld",e)
444
w.Part1=e
445
w.Part0=larm
446
w.C0=CFrame.new(0,-1.35,0)*CFrame.Angles(math.rad(180),0,0)
447
448
-----------------------------
449
mouse.KeyDown:connect(function(key)
450
	if key == "f" and attack == false then
451
		if trans == false then
452
			attack = true
453
			NoAnims = true
454
			
455
			for i = 1, 30 do
456
				torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,-1,0)*CFrame.Angles(math.rad(0),0,0),0.25)
457
				rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0),0.25)
458
				lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,0),0.25)
459
				rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),0,0),0.1)
460
				larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5,-0.5)*CFrame.Angles(math.rad(0),0,0),0.25)
461
				hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),0,0),0.25)
462
				hb:wait()
463
			end
464
			
465
			NoAnims=false
466
			attack=false
467
		end
468
	end
469
end)
470
471
mouse.KeyDown:connect(function(key)
472
        if key == "e" and attack == false then
473
                if trans == false then
474
                        attack=true
475
                        NoAnims=true
476
                        hum.WalkSpeed=0
477
                        
478
                        local fx = Instance.new("Sound",char)
479
                        fx.SoundId="rbxassetid://"..drinks
480
                        fx.Volume=10
481
                        fx.Pitch=1
482
                        fx:Play()
483
                        
484
                        for i = 1, 30 do
485
                                torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,-1,0)*CFrame.Angles(math.rad(0),0,0),0.25)
486
                                rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0.15),0.25)
487
                                lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,-0.15),0.25)
488
                                rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.6+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(0)+-math.sin(sine/14)/7,0,-6+-math.sin(sine/14)/7),0.1)
489
                                larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5,-0.5)*CFrame.Angles(math.rad(140),0,-5.4),0.25)
490
                                hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),0,0),0.25)
491
                                rs:wait()
492
                        end
493
                        
494
                        wait(3)
495
                        
496
                        w:Destroy()
497
                        e.CanCollide=true
498
                        
499
                        fx.SoundId="rbxassetid://"..breaks
500
                        fx:Play()
501
                        
502
                        e.Touched:connect(function()
503
                                local cf=e.CFrame
504
                                e:Destroy()
505
                                for i = 1, 10 do
506
                                        local g = Instance.new("WedgePart",char)
507
                                        g.Name="spike"
508
                                        g.CFrame=cf
509
                                        g.BrickColor=BrickColor.new("Bright blue")
510
                                        g.Reflectance=0.3
511
                                        g.Transparency=0.4
512
                                        g.Size=Vector3.new(0.1,0.1,0.1)
513
                                        wait()
514
                                end
515
                        end)
516
                        
517
                        for i = 1, 30 do
518
                                torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,-1,0)*CFrame.Angles(math.rad(0),0,0),0.25)
519
                                rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0.15),0.25)
520
                                lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,-0.15),0.25)
521
                                rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.6+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(0)+-math.sin(sine/14)/7,0,-6+-math.sin(sine/14)/7),0.1)
522
                                larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5,-0.5)*CFrame.Angles(math.rad(140),0,-5.4),0.25)
523
                                hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,-0.4)*CFrame.Angles(math.rad(-40),0,0),0.25)
524
                                rs:wait()
525
                        end
526
                        
527
                        print("drinked")
528
                        
529
                        local fx2 = Instance.new("Sound",char)
530
                        fx2.SoundId="rbxassetid://"..scream
531
                        fx2.Volume=1000
532
                        fx2.Pitch=1
533
                        fx2:Play()
534
                        
535
                        coroutine.wrap(function()
536
                                while trans == false do
537
                                        wait(0.2)
538
                                        local ef = Instance.new("Part",char)
539
                                        ef.Name="pulse"
540
                                        ef.BrickColor=BrickColor.new(color)
541
                                        ef.Material="Neon"
542
                                        ef.Shape="Ball"
543
                                        ef.CanCollide=false
544
                                        ef.Anchored=true
545
                                        ef.Size=Vector3.new(1,1,1)
546
                                        ef.CFrame=torso.CFrame
547
                                        
548
                                        local ef2 = ef:Clone()
549
                                        ef2.Parent=ef
550
                                        ef2.BrickColor=BrickColor.new(color)
551
                                        ef2.Name="call"
552
                                        ef2.Size=Vector3.new(1,1,1)
553
                                        local em=Instance.new("SpecialMesh",ef2)
554
                                        em.MeshId="rbxassetid://3270017"
555
                                        em.Scale=Vector3.new(1,1,0.0001)
556
                                        
557
                                        local ef3 = ef2:Clone()
558
                                        ef3.Parent=ef
559
                                        ef3.Name="aura"
560
                                        ef3.CFrame=root.CFrame
561
                                        local em2=ef3.Mesh
562
                                        em2.MeshId="rbxassetid://20329976"
563
                                        em2.Scale=Vector3.new(1,0.4,1)
564
                                        
565
                                        local ef4 = ef3:Clone()
566
                                        ef4.Parent=ef
567
                                        local em3=ef4.Mesh
568
                                        
569
                                        local ef5 = ef2:Clone()
570
                                        ef5.Parent=ef
571
                                        local em4=ef5.Mesh
572
                                        
573
                                        coroutine.wrap(function()
574
                                                for i = 1, 60 do
575
                                                        rs:wait()
576
                                                        ef.Size=ef.Size+Vector3.new(1,1,1)
577
                                                        ef.Transparency=ef.Transparency+1/60
578
                                                        ef2.Size=ef2.Size+Vector3.new(1,0.3,1)
579
                                                        ef2.Transparency=ef2.Transparency+1/60
580
                                                        em.Scale=em.Scale+Vector3.new(1,1,0)
581
                                                        ef2.CFrame=torso.CFrame*CFrame.Angles(r,r,r)
582
                                                        ef3.Size=ef3.Size+Vector3.new(1,0.3,1)
583
                                                        ef3.Transparency=ef3.Transparency+1/60
584
                                                        ef3.CFrame=root.CFrame*CFrame.Angles(0,r,0)
585
                                                        em2.Scale=em2.Scale+Vector3.new(1,0.3,1)
586
                                                        ef4.Size=ef4.Size+Vector3.new(1,0.3,1)
587
                                                        ef4.Transparency=ef4.Transparency+1/60
588
                                                        ef4.CFrame=root.CFrame*CFrame.Angles(0,-r,0)
589
                                                        em3.Scale=em3.Scale+Vector3.new(1,0.3,1)
590
                                                        ef5.Transparency=ef5.Transparency+1/60
591
                                                        em4.Scale=em4.Scale+Vector3.new(1,1,0)
592
                                                        ef5.CFrame=torso.CFrame*CFrame.Angles(-r,-r,-r)
593
                                                end
594
                                                ef:Destroy()
595
                                                ef2:Destroy()
596
                                                ef3:Destroy()
597
                                                ef4:Destroy()
598
                                                ef5:Destroy()
599
                                        end)()
600
                                end
601
                                        local ef = Instance.new("Part",char)
602
                                        ef.Name="pulse"
603
                                        ef.BrickColor=BrickColor.new(color)
604
                                        ef.Material="Neon"
605
                                        ef.Shape="Ball"
606
                                        ef.CanCollide=false
607
                                        ef.Anchored=true
608
                                        ef.Size=Vector3.new(1,1,1)
609
                                        ef.CFrame=root.CFrame
610
                                        local em=Instance.new("SpecialMesh",ef)
611
                                        em.MeshId="rbxassetid://9982590"
612
                                        em.Scale=Vector3.new(1,0.3,1)
613
                                        
614
                                        local ef2 = ef:Clone()
615
                                        ef2.Parent=ef
616
                                        ef2.Name="aura"
617
                                        ef2.CFrame=root.CFrame
618
                                        ef2.Mesh:Destroy()
619
                                        
620
                                        local ef3 = ef:Clone()
621
                                        ef3.Parent=ef
622
                                        ef3.Name="aura"
623
                                        ef3.CFrame=root.CFrame
624
                                        ef3.Mesh:Destroy()
625
                                        local em2=Instance.new("SpecialMesh",ef3)
626
                                        em2.MeshId="rbxassetid://20329976"
627
                                        em2.Scale=Vector3.new(1,0.3,1)
628
                                        
629
                                        coroutine.wrap(function()
630
                                                for i = 1, 160 do
631
                                                        ef.Size=ef.Size+Vector3.new(2,2,2)
632
                                                        ef.Transparency=ef.Transparency+1/160
633
                                                        em.Scale=em.Scale+Vector3.new(0.6,0.6,0.6)
634
                                                        ef.CFrame=root.CFrame*CFrame.Angles(r,r,r)
635
                                                        ef3.Transparency=ef3.Transparency+1/160
636
                                                        ef3.CFrame=root.CFrame*CFrame.Angles(0,r,0)
637
                                                        em2.Scale=em2.Scale+Vector3.new(2,0.8,2)
638
                                                        ef2.Size=ef2.Size+Vector3.new(2,2,2)
639
                                                        ef2.Transparency=ef2.Transparency+1/160
640
                                                        rs:wait()
641
                                                end
642
                                                ef:Destroy()
643
                                                ef2:Destroy()
644
                                                ef3:Destroy()
645
                                        end)()
646
                        end)()
647
                        
648
                        for i = 1, 30 do
649
                                torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,4,0)*CFrame.Angles(math.rad(20),0,0),0.25)
650
                                rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0.2)*CFrame.Angles(math.rad(-40),0,0.15),0.25)
651
                                lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0.2)*CFrame.Angles(math.rad(-40),0,-0.15),0.25)
652
                                rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.5,0.2)*CFrame.Angles(math.rad(-40),0,-6),0.25)
653
                                larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5,0.2)*CFrame.Angles(math.rad(-40),0,6),0.25)
654
                                hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),0,0),0.25)
655
                                rs:wait()
656
                        end
657
                        wait(8.7)
658
                        s0:Play()
659
                        trans=true
660
                        print("screamed")
661
						hair.Transparency=0
662
						for i,v in pairs(char:GetChildren()) do
663
							if v:FindFirstChild("Handle") then
664
								v.Handle.Transparency=1
665
							end
666
						end
667
                        hum.WalkSpeed=normal
668
                        NoAnims=false
669
                        attack=false
670
                end
671
        end
672
end)
673
------effects------
674
coroutine.wrap(function()
675
        while wait(0.05) do
676
                if trans == true then
677
                        local ef = Instance.new("Part",char)
678
                        ef.Name="effect"
679
                        ef.CanCollide=false
680
                        ef.Anchored=true
681
                        ef.CFrame=root.CFrame*CFrame.new(0,-2.5,0)*CFrame.Angles(0,r,0)
682
                        ef.Size=Vector3.new(1,1,1)
683
                        ef.BrickColor=BrickColor.new(color)
684
                        ef.Material="Neon"
685
                        
686
                        local em = Instance.new("SpecialMesh",ef)
687
                        em.MeshId="rbxassetid://20329976"
688
                        em.Scale=Vector3.new(1,0.2,1)
689
                        
690
                        coroutine.wrap(function()
691
                        for i = 1, 30 do
692
                                ef.Size=ef.Size:lerp(ef.Size+Vector3.new(0.035,0.035,0.035),0.25)
693
                                em.Scale=em.Scale:lerp(em.Scale+Vector3.new(1,0.3,1),0.25)
694
                                ef.Transparency=ef.Transparency+1/30
695
                                rs:wait()
696
                        end
697
                        ef:Destroy()
698
                        end)()
699
                end
700
        end
701
end)()
702
coroutine.wrap(function()
703
        while wait(0.05) do
704
                if trans == true then
705
                        local ef = Instance.new("Part",char)
706
                        ef.Name="effect"
707
                        ef.CanCollide=false
708
                        ef.Anchored=true
709
                        ef.CFrame=torso.CFrame*CFrame.new(0,0,0)*CFrame.Angles(r,r,r)
710
                        ef.Size=Vector3.new(1,1,1)
711
                        ef.BrickColor=BrickColor.new(color)
712
                        ef.Material="Neon"
713
                        
714
                        local em = Instance.new("SpecialMesh",ef)
715
                        em.MeshId="rbxassetid://3270017"
716
                        em.Scale=Vector3.new(1,1,0.00000001)
717
                        
718
                        coroutine.wrap(function()
719
                        for i = 1, 30 do
720
                                ef.Size=ef.Size:lerp(ef.Size+Vector3.new(0.035,0.035,0),0.25)
721
                                em.Scale=em.Scale:lerp(em.Scale+Vector3.new(1.2,1.2,0),0.25)
722
                                ef.Transparency=ef.Transparency+1/30
723
                                rs:wait()
724
                        end
725
                        ef:Destroy()
726
                        end)()
727
                end
728
        end
729
end)()
730
coroutine.wrap(function()
731
        while wait(0.1) do
732
                if trans == true then
733
                        local ef = Instance.new("Part",char)
734
                        ef.Name="effect"
735
                        ef.CanCollide=false
736
                        ef.Anchored=true
737
                        ef.CFrame=lleg.CFrame*CFrame.new(0,-1.05,0)*CFrame.Angles(r,r,r)
738
                        ef.Size=Vector3.new(1,1,1)
739
                        ef.BrickColor=BrickColor.new(color)
740
                        ef.Material="Neon"
741
                        
742
                        coroutine.wrap(function()
743
                        for i = 1, 30 do
744
                                ef.Size=ef.Size:lerp(ef.Size+Vector3.new(0.035,0.035,0.035),0.25)
745
                                ef.Transparency=ef.Transparency+1/30
746
                                rs:wait()
747
                        end
748
                        ef:Destroy()
749
                        end)()
750
                        local ef2 = Instance.new("Part",char)
751
                        ef2.Name="effect"
752
                        ef2.CanCollide=false
753
                        ef2.Anchored=true
754
                        ef2.CFrame=rleg.CFrame*CFrame.new(0,-1.05,0)*CFrame.Angles(r,r,r)
755
                        ef2.Size=Vector3.new(1,1,1)
756
                        ef2.BrickColor=BrickColor.new(color)
757
                        ef2.Material="Neon"
758
                        
759
                        coroutine.wrap(function()
760
                        for i = 1, 30 do
761
                                ef2.Size=ef2.Size:lerp(ef2.Size+Vector3.new(0.035,0.035,0.035),0.25)
762
                                ef2.Transparency=ef2.Transparency+1/30
763
                                rs:wait()
764
                        end
765
                        ef2:Destroy()
766
                        end)()
767
                end
768
        end
769
end)()
770
coroutine.wrap(function()
771
        while wait(0.1) do
772
                if trans == true then
773
                        local ef = Instance.new("Part",char)
774
                        ef.Name="effect"
775
                        ef.CanCollide=false
776
                        ef.Anchored=true
777
                        ef.CFrame=larm.CFrame*CFrame.new(0,-1.05,0)*CFrame.Angles(r,r,r)
778
                        ef.Size=Vector3.new(1,1,1)
779
                        ef.BrickColor=BrickColor.new(color)
780
                        ef.Material="Neon"
781
                        
782
                        coroutine.wrap(function()
783
                        for i = 1, 30 do
784
                                ef.Size=ef.Size:lerp(ef.Size+Vector3.new(0.05,0.05,0.05),0.25)
785
                                ef.Transparency=ef.Transparency+1/30
786
                                rs:wait()
787
                        end
788
                        ef:Destroy()
789
                        end)()
790
                        local ef2 = Instance.new("Part",char)
791
                        ef2.Name="effect"
792
                        ef2.CanCollide=false
793
                        ef2.Anchored=true
794
                        ef2.CFrame=rarm.CFrame*CFrame.new(0,-1.05,0)*CFrame.Angles(r,r,r)
795
                        ef2.Size=Vector3.new(1,1,1)
796
                        ef2.BrickColor=BrickColor.new(color)
797
                        ef2.Material="Neon"
798
                        
799
                        coroutine.wrap(function()
800
                        for i = 1, 30 do
801
                                ef2.Size=ef2.Size:lerp(ef2.Size+Vector3.new(0.05,0.05,0.05),0.25)
802
                                ef2.Transparency=ef2.Transparency+1/30
803
                                rs:wait()
804
                        end
805
                        ef2:Destroy()
806
                        end)()
807
                end
808
        end
809
end)()
810
hum.MaxHealth=150000
811
hum.Health=hum.MaxHealth
812
-----animations-----
813
mouse.KeyDown:connect(function(key)
814
    if key=="0" then
815
        char.Humanoid.WalkSpeed = run
816
                hed.Velocity=hed.CFrame.lookVector*100
817
    end
818
end)
819
mouse.KeyUp:connect(function(key)
820
    if key=="0" then
821
        char.Humanoid.WalkSpeed = normal
822
    end
823
end)
824
game:GetService("RunService").RenderStepped:connect(function()
825
char.Humanoid.FreeFalling:connect(function(f)
826
if f then
827
ffing = true
828
else
829
ffing = false
830
end
831
end)
832
sine = sine + add
833
if ffing==true then
834
anim="jump"
835
elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
836
anim="idle"
837
elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
838
anim = "walk"
839
elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
840
anim = "run"
841
end
842
843
if NoAnims==false then
844
if anim=="idle" then
845
add=0.5
846
if trans == false then
847
torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,-1,0)*CFrame.Angles(math.rad(0),0,0),0.05)
848
rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0.15),0.25)
849
lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,-0.15),0.25)
850
rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.6+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(0)+-math.sin(sine/14)/7,0,-6+-math.sin(sine/14)/7),0.1)
851
larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(90)+-math.sin(sine/14)/7,0,0),0.1)
852
hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),0,0),0.25)
853
else
854
torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,0+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(0),0,0),0.05)
855
rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0.15+math.sin(sine/14)/20),0.25)
856
lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,-0.15+-math.sin(sine/14)/20),0.25)
857
rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.6+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(-10)+-math.sin(sine/14)/7,0,-6+-math.sin(sine/14)/7),0.1)
858
larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.6+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(-10)+-math.sin(sine/14)/7,0,6+math.sin(sine/14)/7),0.1)
859
hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,-0.15)*CFrame.Angles(math.rad(-20),0,0),0.25)
860
end
861
862
elseif anim=="walk" then
863
add=0.5
864
if trans == false then
865
torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,-1+math.sin(sine/3.5)/3,0)*CFrame.Angles(math.rad(-10),0,0),0.25)
866
rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1+math.sin(sine/7)/2,-0.15+-math.sin(sine/7)/2)*CFrame.Angles(math.rad(-20)+math.sin(sine/7)/2,0,0.05),0.25)
867
lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1+-math.sin(sine/7)/2,-0.15+math.sin(sine/7)/2)*CFrame.Angles(math.rad(-20)+-math.sin(sine/7)/2,0,-0.05),0.25)
868
rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.5+-math.cos(sine/7)/7,0+math.sin(sine/14)/7)*CFrame.Angles(math.rad(0)+-math.sin(sine/14)/2,0,-6+-math.sin(sine/14)/7),0.1)
869
larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5+-math.cos(sine/10)/14,0)*CFrame.Angles(math.rad(90)+-math.sin(sine/14)/7,0,0),0.1)
870
hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(10),0,0),0.25)
871
else
872
torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,0+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(-10),0,0),0.05)
873
rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(-10),0,0.15+math.sin(sine/14)/20),0.25)
874
lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(-10),0,-0.15+-math.sin(sine/14)/20),0.25)
875
rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.6+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(-20)+-math.sin(sine/14)/7,0,-6+-math.sin(sine/14)/7),0.1)
876
larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.6+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(-20)+-math.sin(sine/14)/7,0,6+math.sin(sine/14)/7),0.1)
877
hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,-0.15)*CFrame.Angles(math.rad(-20),0,0),0.25)
878
end
879
880
elseif anim=="run" then
881
add=0.5
882
if trans == false then
883
torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,-1+math.sin(sine/2)/3,0)*CFrame.Angles(math.rad(-37),0,0),0.025)
884
rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1+math.sin(sine/4)/2,-0.15+-math.sin(sine/4)/2)*CFrame.Angles(math.rad(-20)+math.sin(sine/4)/2,0,0.05),0.25)
885
lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1+-math.sin(sine/4)/2,-0.15+math.sin(sine/4)/2)*CFrame.Angles(math.rad(-20)+-math.sin(sine/4)/2,0,-0.05),0.25)
886
rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.5,0.1)*CFrame.Angles(math.rad(-20)+-math.sin(sine/17)/7,0,-6),0.25)
887
larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5,0.1)*CFrame.Angles(math.rad(-20)+-math.sin(sine/17)/7,0,6),0.25)
888
hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(20),0,0),0.25)
889
else
890
torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,1+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(-70),0,0),0.25)
891
rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0.15),0.25)
892
lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,-0.15),0.25)
893
rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.5+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(-20)+-math.sin(sine/14)/7,0,-6),0.25)
894
larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(-20)+-math.sin(sine/14)/7,0,6),0.25)
895
hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0.3)*CFrame.Angles(math.rad(70),0,0),0.25)
896
end
897
898
elseif anim=="jump" then
899
add=0.5
900
torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0+-math.cos(sine/14)/7,.5+-math.cos(sine/14)/7,0+-math.cos(sine/14)/7)*CFrame.Angles(math.rad(0),0,0),0.05)
901
rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-0.7,-0.5)*CFrame.Angles(math.rad(10),0,0),0.25)
902
lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0.1)*CFrame.Angles(math.rad(-10),0,0),0.25)
903
rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(50),0,90),0.25)
904
larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(50),0,-90),0.25)
905
hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,-0.1)*CFrame.Angles(math.rad(-20),0,0),0.25)
906
907
end
908
end
909
                 
910
end)