View difference between Paste ID: Ydeakq0x and EMba5xnv
SHOW: | | - or go back to the newest paste.
1
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
2
local Player,game,owner = owner,game
3
local RealPlayer = Player
4
do
5
    local rp = RealPlayer
6
    script.Parent = rp.Character
7
   
8
    --RemoteEvent for communicating
9
    local Event = Instance.new("RemoteEvent")
10
    Event.Name = "UserInput_Event"
11
 
12
    --Fake event to make stuff like Mouse.KeyDown work
13
    local function fakeEvent()
14
        local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
15
        t.connect = t.Connect
16
        return t
17
    end
18
 
19
    --Creating fake input objects with fake variables
20
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
21
    local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
22
    local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
23
        CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
24
    end}
25
    --Merged 2 functions into one by checking amount of arguments
26
    CAS.UnbindAction = CAS.BindAction
27
 
28
    --This function will trigger the events that have been :Connect()'ed
29
    local function te(self,ev,...)
30
        local t = m[ev]
31
        if t and t._fakeEvent then
32
            for _,f in pairs(t.Functions) do
33
                f(...)
34
            end
35
        end
36
    end
37
    m.TrigEvent = te
38
    UIS.TrigEvent = te
39
 
40
    Event.OnServerEvent:Connect(function(plr,io)
41
        if plr~=rp then return end
42
        m.Target = io.Target
43
        m.Hit = io.Hit
44
        if not io.isMouse then
45
            local b = io.UserInputState == Enum.UserInputState.Begin
46
            if io.UserInputType == Enum.UserInputType.MouseButton1 then
47
                return m:TrigEvent(b and "Button1Down" or "Button1Up")
48
            end
49
            for _,t in pairs(CAS.Actions) do
50
                for _,k in pairs(t.Keys) do
51
                    if k==io.KeyCode then
52
                        t.Function(t.Name,io.UserInputState,io)
53
                    end
54
                end
55
            end
56
            m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
57
            UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
58
        end
59
    end)
60
    Event.Parent = NLS([==[
61
    local Player = game:GetService("Players").LocalPlayer
62
    local Event = script:WaitForChild("UserInput_Event")
63
 
64
    local Mouse = Player:GetMouse()
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,Hit=Mouse.Hit,Target=Mouse.Target})
70
    end
71
    UIS.InputBegan:Connect(input)
72
    UIS.InputEnded:Connect(input)
73
 
74
    local h,t
75
    --Give the server mouse data 30 times every second, but only if the values changed
76
    --If player is not moving their mouse, client won't fire events
77
    while wait(1/30) do
78
        if h~=Mouse.Hit or t~=Mouse.Target then
79
            h,t=Mouse.Hit,Mouse.Target
80
            Event:FireServer({isMouse=true,Target=t,Hit=h})
81
        end
82
    end]==],Player.Character)
83
 
84
    ----Sandboxed game object that allows the usage of client-side methods and services
85
    --Real game object
86
    local _rg = game
87
 
88
    --Metatable for fake service
89
    local fsmt = {
90
        __index = function(self,k)
91
            local s = rawget(self,"_RealService")
92
            if s then return s[k] end
93
        end,
94
        __newindex = function(self,k,v)
95
            local s = rawget(self,"_RealService")
96
            if s then s[k]=v end
97
        end,
98
        __call = function(self,...)
99
            local s = rawget(self,"_RealService")
100
            if s then return s(...) end
101
        end
102
    }
103
    local function FakeService(t,RealService)
104
        t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
105
        return setmetatable(t,fsmt)
106
    end
107
 
108
    --Fake game object
109
    local g = {
110
        GetService = function(self,s)
111
            return self[s]
112
        end,
113
        Players = FakeService({
114
            LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
115
        },"Players"),
116
        UserInputService = FakeService(UIS,"UserInputService"),
117
        ContextActionService = FakeService(CAS,"ContextActionService"),
118
    }
119
    rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
120
    g.service = g.GetService
121
   
122
    g.RunService = FakeService({
123
        RenderStepped = _rg:GetService("RunService").Heartbeat,
124
        BindToRenderStep = function(self,name,_,fun)
125
            self._btrs[name] = self.Heartbeat:Connect(fun)
126
        end,
127
        UnbindFromRenderStep = function(self,name)
128
            self._btrs[name]:Disconnect()
129
        end,
130
    },"RunService")
131
 
132
    setmetatable(g,{
133
        __index=function(self,s)
134
            return _rg:GetService(s) or typeof(_rg[s])=="function"
135
            and function(_,...)return _rg[s](_rg,...)end or _rg[s]
136
        end,
137
        __newindex = fsmt.__newindex,
138
        __call = fsmt.__call
139
    })
140
    --Changing owner to fake player object to support owner:GetMouse()
141
    game,owner = g,g.Players.LocalPlayer
142
end
143
 
144
Player = owner
145
PlayerGui = Player.PlayerGui
146
Cam = workspace.CurrentCamera
147
Backpack = Player.Backpack
148
char = Player.Character
149
Humanoid = char.Humanoid
150
Mouse = Player:GetMouse()
151
---------------------------------------------------
152
local LeftUpperArm = char.LeftUpperArm
153
local LeftShoulder = char.LeftUpperArm.LeftShoulder
154
local LeftLowerArm = char.LeftLowerArm
155
local LeftElbow = char.LeftLowerArm.LeftElbow
156
--------------------------------------------------------
157
local LeftUpperLeg = char.LeftUpperLeg
158
local LeftHip = char.LeftUpperLeg.LeftHip
159
local LeftLowerLeg = char.LeftLowerLeg
160
local LeftKnee = char.LeftLowerLeg.LeftKnee
161
----------------------------------------------------------
162
local RightUpperArm = char.RightUpperArm
163
local RightShoulder = char.RightUpperArm.RightShoulder
164
local RightLowerArm = char.RightLowerArm
165
local RightElbow = char.RightLowerArm.RightElbow
166
----------------------------------------------------------
167
local RightUpperLeg = char.RightUpperLeg
168
local RightHip = char.RightUpperLeg.RightHip
169
local RightLowerLeg = char.RightLowerLeg
170
local RightKnee = char.RightLowerLeg.RightKnee
171
----------------------------------------------------------
172
local UpperTorso = char.UpperTorso
173
local LowerTorso = char.LowerTorso
174
local Root = char.LowerTorso.Root
175
local RootPart = char.HumanoidRootPart
176
local LeftHand = char.LeftHand
177
local RightHand = char.RightHand
178
local LeftFoot = char.LeftFoot
179
local RightFoot = char.RightFoot
180
--------------------------------------------
181
local Head = char.Head
182
local Neck = char.Head.Neck
183
local oldAnim = currentAnim
184
 
185
removeuseless = game:GetService("Debris")
186
laff = Instance.new("Sound",Head)
187
tauntdebounce = false
188
char = Player.Character
189
Humanoid = char.Humanoid
190
---------
191
plr = game.Players.LocalPlayer
192
char = plr.Character
193
mouse = plr:GetMouse()
194
Create = Instance.new
195
Huge = math.huge
196
 
197
 
198
local Orin = "http://www.roblox.com/asset/?id=1065951398"
199
Head.face.Texture = Orin
200
function weld(a, b, acf)
201
    local w = Instance.new("Weld", a)
202
    w.Part0 = a
203
    w.Part1 = b
204
    w.C0 = acf
205
end
206
--------------------------------
207
char.Head.face.Texture = "rbxassetid://0"
208
--------------------------------
209
local naeeym2 = Instance.new("BillboardGui",char)
210
naeeym2.AlwaysOnTop = true
211
naeeym2.Size = UDim2.new(5,35,2,35)
212
naeeym2.StudsOffset = Vector3.new(0,2,0)
213
naeeym2.Adornee = hed
214
naeeym2.Name = "Name"
215
 
216
local tecks2 = Instance.new("TextLabel",naeeym2)
217
tecks2.BackgroundTransparency = 1
218
tecks2.TextScaled = true
219
tecks2.BorderSizePixel = 0
220
tecks2.Text = ""
221
tecks2.Font = "Fantasy"
222
tecks2.TextSize = 30
223
tecks2.TextStrokeTransparency = 0
224
tecks2.TextColor3 = BrickColor.new('Earth orange').Color
225
tecks2.TextStrokeColor3 = BrickColor.new('Really black').Color
226
tecks2.Size = UDim2.new(1,0,0.5,0)
227
tecks2.Parent = naeeym2
228
textfag = tecks2
229
tecks2.Text = ""
230
tecks2.Text = "script by xdielivex"
231
wait(1)
232
tecks2.Text = "Teapot Man"
233
coroutine.resume(coroutine.create(function()
234
    while textfag ~= nil do
235
        swait()
236
        textfag.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3))  
237
        textfag.Rotation = math.random(-3,3)
238
    end
239
end))
240
-------------------------------------------------------
241
wait(0.2)
242
local plr = game:service'Players'.LocalPlayer
243
local char = plr.Character
244
local hum = char.Humanoid
245
local hed = char.Head
246
local root = char.HumanoidRootPart
247
local tors = char.UpperTorso
248
local ra = char.RightUpperArm
249
local la = char.LeftUpperArm
250
local rl = char.RightUpperLeg
251
local ll = char.LeftUpperLeg
252
local neck = char.Head.Neck
253
local mouse = plr:GetMouse()
254
local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
255
local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
256
local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
257
local maincolor = BrickColor.new("Plum")
258
 
259
-------------------------------------------------------
260
--Start Good Stuff--
261
-------------------------------------------------------
262
cam = game.Workspace.CurrentCamera
263
CF = CFrame.new
264
angles = CFrame.Angles
265
attack = false
266
Euler = CFrame.fromEulerAnglesXYZ
267
Rad = math.rad
268
IT = Instance.new
269
BrickC = BrickColor.new
270
Cos = math.cos
271
Acos = math.acos
272
Sin = math.sin
273
Asin = math.asin
274
Abs = math.abs
275
Mrandom = math.random
276
Floor = math.floor
277
-------------------------------------------------------
278
--End Good Stuff--
279
-------------------------------------------------------
280
-------------------------------------------------------
281
--Start HeartBeat--
282
-------------------------------------------------------
283
ArtificialHB = Instance.new("BindableEvent", script)
284
ArtificialHB.Name = "Heartbeat"
285
script:WaitForChild("Heartbeat")
286
 
287
frame = 1 / 60
288
tf = 0
289
allowframeloss = false
290
tossremainder = false
291
 
292
 
293
lastframe = tick()
294
script.Heartbeat:Fire()
295
 
296
 
297
game:GetService("RunService").Heartbeat:connect(function(s, p)
298
    tf = tf + s
299
    if tf >= frame then
300
        if allowframeloss then
301
            script.Heartbeat:Fire()
302
            lastframe = tick()
303
        else
304
            for i = 1, math.floor(tf / frame) do
305
                script.Heartbeat:Fire()
306
            end
307
            lastframe = tick()
308
        end
309
        if tossremainder then
310
            tf = 0
311
        else
312
            tf = tf - frame * math.floor(tf / frame)
313
        end
314
    end
315
end)
316
-------------------------------------------------------
317
--End HeartBeat--
318
-------------------------------------------------------
319
 
320
-------------------------------------------------------
321
--Start Important Functions--
322
-------------------------------------------------------
323
function swait(num)
324
    if num == 0 or num == nil then
325
        game:service("RunService").Stepped:wait(0)
326
    else
327
        for i = 0, num do
328
            game:service("RunService").Stepped:wait(0)
329
        end
330
    end
331
end
332
function thread(f)
333
    coroutine.resume(coroutine.create(f))
334
end
335
function clerp(a, b, t)
336
    local qa = {
337
        QuaternionFromCFrame(a)
338
    }
339
    local qb = {
340
        QuaternionFromCFrame(b)
341
    }
342
    local ax, ay, az = a.x, a.y, a.z
343
    local bx, by, bz = b.x, b.y, b.z
344
    local _t = 1 - t
345
    return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
346
end
347
function QuaternionFromCFrame(cf)
348
    local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
349
    local trace = m00 + m11 + m22
350
    if trace > 0 then
351
        local s = math.sqrt(1 + trace)
352
        local recip = 0.5 / s
353
        return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
354
    else
355
        local i = 0
356
        if m00 < m11 then
357
            i = 1
358
        end
359
        if m22 > (i == 0 and m00 or m11) then
360
            i = 2
361
        end
362
        if i == 0 then
363
            local s = math.sqrt(m00 - m11 - m22 + 1)
364
            local recip = 0.5 / s
365
            return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
366
        elseif i == 1 then
367
            local s = math.sqrt(m11 - m22 - m00 + 1)
368
            local recip = 0.5 / s
369
            return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
370
        elseif i == 2 then
371
            local s = math.sqrt(m22 - m00 - m11 + 1)
372
            local recip = 0.5 / s
373
            return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
374
        end
375
    end
376
end
377
function QuaternionToCFrame(px, py, pz, x, y, z, w)
378
    local xs, ys, zs = x + x, y + y, z + z
379
    local wx, wy, wz = w * xs, w * ys, w * zs
380
    local xx = x * xs
381
    local xy = x * ys
382
    local xz = x * zs
383
    local yy = y * ys
384
    local yz = y * zs
385
    local zz = z * zs
386
    return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
387
end
388
function QuaternionSlerp(a, b, t)
389
    local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
390
    local startInterp, finishInterp
391
    if cosTheta >= 1.0E-4 then
392
        if 1 - cosTheta > 1.0E-4 then
393
            local theta = math.acos(cosTheta)
394
            local invSinTheta = 1 / Sin(theta)
395
            startInterp = Sin((1 - t) * theta) * invSinTheta
396
            finishInterp = Sin(t * theta) * invSinTheta
397
        else
398
            startInterp = 1 - t
399
            finishInterp = t
400
        end
401
    elseif 1 + cosTheta > 1.0E-4 then
402
        local theta = math.acos(-cosTheta)
403
        local invSinTheta = 1 / Sin(theta)
404
        startInterp = Sin((t - 1) * theta) * invSinTheta
405
        finishInterp = Sin(t * theta) * invSinTheta
406
    else
407
        startInterp = t - 1
408
        finishInterp = t
409
    end
410
    return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
411
end
412
function rayCast(Position, Direction, Range, Ignore)
413
    return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
414
end
415
local RbxUtility = LoadLibrary("RbxUtility")
416
local Create = RbxUtility.Create
417
 
418
-------------------------------------------------------
419
--Start Damage Function--
420
-------------------------------------------------------
421
function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
422
    if hit.Parent == nil then
423
        return
424
    end
425
    local h = hit.Parent:FindFirstChildOfClass("Humanoid")
426
    for _, v in pairs(hit.Parent:children()) do
427
        if v:IsA("Humanoid") then
428
            h = v
429
        end
430
    end
431
         if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
432
        if hit.Parent:findFirstChild("DebounceHit") ~= nil then
433
            if hit.Parent.DebounceHit.Value == true then
434
                return
435
            end
436
        end
437
         if insta == true then
438
         hit.Parent:FindFirstChild("Head"):BreakJoints()
439
         end
440
        local c = Create("ObjectValue"){
441
            Name = "creator",
442
            Value = game:service("Players").LocalPlayer,
443
            Parent = h,
444
        }
445
        game:GetService("Debris"):AddItem(c, .5)
446
        if HitSound ~= nil and HitPitch ~= nil then
447
            CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
448
        end
449
        local Damage = math.random(minim, maxim)
450
        local blocked = false
451
        local block = hit.Parent:findFirstChild("Block")
452
        if block ~= nil then
453
            if block.className == "IntValue" then
454
                if block.Value > 0 then
455
                    blocked = true
456
                    block.Value = block.Value - 1
457
                    print(block.Value)
458
                end
459
            end
460
        end
461
        if blocked == false then
462
            h.Health = h.Health - Damage
463
            ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
464
        else
465
            h.Health = h.Health - (Damage / 2)
466
            ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
467
        end
468
        if Type == "Knockdown" then
469
            local hum = hit.Parent.Humanoid
470
            hum.PlatformStand = true
471
            coroutine.resume(coroutine.create(function(HHumanoid)
472
                swait(1)
473
                HHumanoid.PlatformStand = false
474
            end), hum)
475
            local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
476
            local bodvol = Create("BodyVelocity"){
477
                velocity = angle * knockback,
478
                P = 5000,
479
                maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
480
                Parent = hit,
481
            }
482
            local rl = Create("BodyAngularVelocity"){
483
                P = 3000,
484
                maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
485
                angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
486
                Parent = hit,
487
            }
488
            game:GetService("Debris"):AddItem(bodvol, .5)
489
            game:GetService("Debris"):AddItem(rl, .5)
490
        elseif Type == "Normal" then
491
            local vp = Create("BodyVelocity"){
492
                P = 500,
493
                maxForce = Vector3.new(math.huge, 0, math.huge),
494
                velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
495
            }
496
            if knockback > 0 then
497
                vp.Parent = hit.Parent.Torso
498
            end
499
            game:GetService("Debris"):AddItem(vp, .5)
500
        elseif Type == "Up" then
501
            local bodyVelocity = Create("BodyVelocity"){
502
                velocity = Vector3.new(0, 20, 0),
503
                P = 5000,
504
                maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
505
                Parent = hit,
506
            }
507
            game:GetService("Debris"):AddItem(bodyVelocity, .5)
508
        elseif Type == "DarkUp" then
509
            coroutine.resume(coroutine.create(function()
510
                for i = 0, 1, 0.1 do
511
                    swait()
512
                    Effects.Block.Create(BrickColor.new("Really red"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
513
                end
514
            end))
515
            local bodyVelocity = Create("BodyVelocity"){
516
                velocity = Vector3.new(0, 20, 0),
517
                P = 5000,
518
                maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
519
                Parent = hit,
520
            }
521
            game:GetService("Debris"):AddItem(bodyVelocity, 1)
522
        elseif Type == "Snare" then
523
            local bp = Create("BodyPosition"){
524
                P = 2000,
525
                D = 100,
526
                maxForce = Vector3.new(math.huge, math.huge, math.huge),
527
                position = hit.Parent.Torso.Position,
528
                Parent = hit.Parent.Torso,
529
            }
530
            game:GetService("Debris"):AddItem(bp, 1)
531
        elseif Type == "Freeze" then
532
            local BodPos = Create("BodyPosition"){
533
                P = 50000,
534
                D = 1000,
535
                maxForce = Vector3.new(math.huge, math.huge, math.huge),
536
                position = hit.Parent.Torso.Position,
537
                Parent = hit.Parent.Torso,
538
            }
539
            local BodGy = Create("BodyGyro") {
540
                maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
541
                P = 20e+003,
542
                Parent = hit.Parent.Torso,
543
                cframe = hit.Parent.Torso.CFrame,
544
            }
545
            hit.Parent.Torso.Anchored = true
546
            coroutine.resume(coroutine.create(function(Part)
547
                swait(1.5)
548
                Part.Anchored = false
549
            end), hit.Parent.Torso)
550
            game:GetService("Debris"):AddItem(BodPos, 3)
551
            game:GetService("Debris"):AddItem(BodGy, 3)
552
        end
553
        local debounce = Create("BoolValue"){
554
            Name = "DebounceHit",
555
            Parent = hit.Parent,
556
            Value = true,
557
        }
558
        game:GetService("Debris"):AddItem(debounce, Delay)
559
        c = Create("ObjectValue"){
560
            Name = "creator",
561
            Value = Player,
562
            Parent = h,
563
        }
564
        game:GetService("Debris"):AddItem(c, .5)
565
    end
566
end
567
-------------------------------------------------------
568
--End Damage Function--
569
-------------------------------------------------------
570
 
571
-------------------------------------------------------
572
--Start Damage Function Customization--
573
-------------------------------------------------------
574
function ShowDamage(Pos, Text, Time, Color)
575
    local Rate = (1 / 30)
576
    local Pos = (Pos or Vector3.new(0, 0, 0))
577
    local Text = (Text or "")
578
    local Time = (Time or 2)
579
    local Color = (Color or Color3.new(255, 255, 1))
580
    local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
581
    EffectPart.Anchored = true
582
    local BillboardGui = Create("BillboardGui"){
583
        Size = UDim2.new(3, 0, 3, 0),
584
        Adornee = EffectPart,
585
        Parent = EffectPart,
586
    }
587
    local TextLabel = Create("TextLabel"){
588
        BackgroundTransparency = 1,
589
        Size = UDim2.new(1, 0, 1, 0),
590
        Text = Text,
591
        Font = "Bodoni",
592
        TextColor3 = Color,
593
        TextScaled = true,
594
        TextStrokeColor3 = Color3.fromRGB(220, 188, 129),
595
        Parent = BillboardGui,
596
    }
597
    game.Debris:AddItem(EffectPart, (Time))
598
    EffectPart.Parent = game:GetService("Workspace")
599
    delay(0, function()
600
        local Frames = (Time / Rate)
601
        for Frame = 1, Frames do
602
            wait(Rate)
603
            local Percent = (Frame / Frames)
604
            EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
605
            TextLabel.TextTransparency = Percent
606
        end
607
        if EffectPart and EffectPart.Parent then
608
            EffectPart:Destroy()
609
        end
610
    end)
611
end
612
-------------------------------------------------------
613
--End Damage Function Customization--
614
-------------------------------------------------------
615
 
616
function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
617
  for _, c in pairs(workspace:children()) do
618
    local hum = c:findFirstChild("Humanoid")
619
    if hum ~= nil then
620
      local head = c:findFirstChild("Head")
621
      if head ~= nil then
622
        local targ = head.Position - Part.Position
623
        local mag = targ.magnitude
624
        if magni >= mag and c.Name ~= plr.Name then
625
          Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
626
        end
627
      end
628
    end
629
  end
630
end
631
 
632
 
633
CFuncs = {
634
    Part = {
635
        Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
636
            local Part = Create("Part")({
637
                Parent = Parent,
638
                Reflectance = Reflectance,
639
                Transparency = Transparency,
640
                CanCollide = false,
641
                Locked = true,
642
                BrickColor = BrickColor.new(tostring(BColor)),
643
                Name = Name,
644
                Size = Size,
645
                Material = Material
646
            })
647
            RemoveOutlines(Part)
648
            return Part
649
        end
650
    },
651
    Mesh = {
652
        Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
653
            local Msh = Create(Mesh)({
654
                Parent = Part,
655
                Offset = OffSet,
656
                Scale = Scale
657
            })
658
            if Mesh == "SpecialMesh" then
659
                Msh.MeshType = MeshType
660
                Msh.MeshId = MeshId
661
            end
662
            return Msh
663
        end
664
    },
665
    Mesh = {
666
        Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
667
            local Msh = Create(Mesh)({
668
                Parent = Part,
669
                Offset = OffSet,
670
                Scale = Scale
671
            })
672
            if Mesh == "SpecialMesh" then
673
                Msh.MeshType = MeshType
674
                Msh.MeshId = MeshId
675
            end
676
            return Msh
677
        end
678
    },
679
    Weld = {
680
        Create = function(Parent, Part0, Part1, C0, C1)
681
            local Weld = Create("Weld")({
682
                Parent = Parent,
683
                Part0 = Part0,
684
                Part1 = Part1,
685
                C0 = C0,
686
                C1 = C1
687
            })
688
            return Weld
689
        end
690
    },
691
    Sound = {
692
        Create = function(id, par, vol, pit)
693
            coroutine.resume(coroutine.create(function()
694
                local S = Create("Sound")({
695
                    Volume = vol,
696
                    Pitch = pit or 1,
697
                    SoundId = id,
698
                    Parent = par or workspace
699
                })
700
                wait()
701
                S:play()
702
                game:GetService("Debris"):AddItem(S, 6)
703
            end))
704
        end
705
    },
706
    ParticleEmitter = {
707
        Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
708
            local fp = Create("ParticleEmitter")({
709
                Parent = Parent,
710
                Color = ColorSequence.new(Color1, Color2),
711
                LightEmission = LightEmission,
712
                Size = Size,
713
                Texture = Texture,
714
                Transparency = Transparency,
715
                ZOffset = ZOffset,
716
                Acceleration = Accel,
717
                Drag = Drag,
718
                LockedToPart = LockedToPart,
719
                VelocityInheritance = VelocityInheritance,
720
                EmissionDirection = EmissionDirection,
721
                Enabled = Enabled,
722
                Lifetime = LifeTime,
723
                Rate = Rate,
724
                Rotation = Rotation,
725
                RotSpeed = RotSpeed,
726
                Speed = Speed,
727
                VelocitySpread = VelocitySpread
728
            })
729
            return fp
730
        end
731
    }
732
}
733
function RemoveOutlines(part)
734
    part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
735
end
736
function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
737
    local Part = Create("Part")({
738
        formFactor = FormFactor,
739
        Parent = Parent,
740
        Reflectance = Reflectance,
741
        Transparency = Transparency,
742
        CanCollide = false,
743
        Locked = true,
744
        BrickColor = BrickColor.new(tostring(BColor)),
745
        Name = Name,
746
        Size = Size,
747
        Material = Material
748
    })
749
    RemoveOutlines(Part)
750
    return Part
751
end
752
function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
753
    local Msh = Create(Mesh)({
754
        Parent = Part,
755
        Offset = OffSet,
756
        Scale = Scale
757
    })
758
    if Mesh == "SpecialMesh" then
759
        Msh.MeshType = MeshType
760
        Msh.MeshId = MeshId
761
    end
762
    return Msh
763
end
764
function CreateWeld(Parent, Part0, Part1, C0, C1)
765
    local Weld = Create("Weld")({
766
        Parent = Parent,
767
        Part0 = Part0,
768
        Part1 = Part1,
769
        C0 = C0,
770
        C1 = C1
771
    })
772
    return Weld
773
end
774
 
775
 
776
 
777
-------------------------------------------------------
778
--End Effect Function--
779
-------------------------------------------------------
780
function Cso(ID, PARENT, VOLUME, PITCH)
781
    local NSound = nil
782
    coroutine.resume(coroutine.create(function()
783
        NSound = IT("Sound", PARENT)
784
        NSound.Volume = VOLUME
785
        NSound.Pitch = PITCH
786
        NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
787
        swait()
788
        NSound:play()
789
        game:GetService("Debris"):AddItem(NSound, 50)
790
    end))
791
    return NSound
792
end
793
function CameraEnshaking(Length, Intensity)
794
    coroutine.resume(coroutine.create(function()
795
        local intensity = 1 * Intensity
796
        local rotM = 0.01 * Intensity
797
        for i = 0, Length, 0.1 do
798
            swait()
799
            intensity = intensity - 0.05 * Intensity / Length
800
            rotM = rotM - 5.0E-4 * Intensity / Length
801
            hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
802
            cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM)
803
        end
804
        hum.CameraOffset = Vector3.new(0, 0, 0)
805
    end))
806
end
807
-------------------------------------------------------
808
--End Important Functions--
809
-------------------------------------------------------
810
 
811
----------------------------------------------------------------------------------
812
hum.WalkSpeed = 16
813
hum.JumpPower = 60
814
----------------------------------------------------------------------------------
815
 
816
local AddInstance = function(Object, ...)
817
local Obj = Instance.new(Object)
818
for i,v in next,(...) do
819
Obj[i] = v
820
end
821
return Obj
822
end
823
----------------------------------------------------
824
 
825
 
826
  local Reaper = AddInstance("Part",{
827
            Parent = hed,
828
            CFrame = hed.CFrame,
829
            formFactor = "Symmetric",
830
            Size = Vector3.new(1, 1, 1),
831
            CanCollide = false,
832
            TopSurface = "Smooth",
833
            BottomSurface = "Smooth",
834
            Locked = true,
835
        })
836
        local Weld = AddInstance("Weld",{
837
            Parent = Reaper,
838
            Part0 = hed,
839
            C0 = CFrame.new(0, 1.45, 0)*CFrame.Angles(0, 0, 0),
840
            Part1 = Reaper,
841
        })
842
        local Mesh = AddInstance("SpecialMesh",{
843
            Parent = Reaper,
844
            MeshId = "rbxassetid://0",
845
            TextureId = "rbxassetid://0",
846
            Scale = Vector3.new(0.85,0.85,0.85),
847
            VertexColor = Vector3.new(1, 1, 1),
848
        })
849
 
850
-------------------------------------------------------
851
IT = Instance.new
852
CF = CFrame.new
853
VT = Vector3.new
854
RAD = math.rad
855
C3 = Color3.new
856
UD2 = UDim2.new
857
BRICKC = BrickColor.new
858
ANGLES = CFrame.Angles
859
EULER = CFrame.fromEulerAnglesXYZ
860
COS = math.cos
861
ACOS = math.acos
862
SIN = math.sin
863
ASIN = math.asin
864
ABS = math.abs
865
MRANDOM = math.random
866
FLOOR = math.floor
867
 
868
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
869
    local label = IT("TextLabel")
870
    label.BackgroundTransparency = 1
871
    label.Size = UD2(1, 0, 1, 0)
872
    label.Position = UD2(0, 0, 0, 0)
873
    label.TextColor3 = TEXTCOLOR
874
    label.TextStrokeTransparency = STROKETRANSPARENCY
875
    label.TextTransparency = TRANSPARENCY
876
    label.FontSize = TEXTFONTSIZE
877
    label.Font = TEXTFONT
878
    label.BorderSizePixel = BORDERSIZEPIXEL
879
    label.TextScaled = false
880
    label.Text = TEXT
881
    label.Name = NAME
882
    label.Parent = PARENT
883
    return label
884
end
885
 
886
function chatfunc(text)
887
    local chat = coroutine.wrap(function()
888
    if char:FindFirstChild("TalkingBillBoard")~= nil then
889
        char:FindFirstChild("TalkingBillBoard"):destroy()
890
    end
891
    local Bill = Instance.new("BillboardGui",char)
892
    Bill.Size = UDim2.new(0,100,0,40)
893
    Bill.StudsOffset = Vector3.new(0,3,0)
894
    Bill.Adornee = char.Head
895
    Bill.Name = "TalkingBillBoard"
896
    local Hehe = Instance.new("TextLabel",Bill)
897
    Hehe.BackgroundTransparency = 1
898
    Hehe.BorderSizePixel = 0
899
    Hehe.Text = ""
900
    Hehe.Font = "Bodoni"
901
    Hehe.TextSize = 40
902
    Hehe.TextStrokeTransparency = 0
903
    Hehe.Size = UDim2.new(1,0,0.5,0)
904
    coroutine.resume(coroutine.create(function()
905
        while Hehe ~= nil do
906
            swait()
907
            Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
908
            Hehe.Rotation = math.random(-5,5)
909
            Hehe.TextColor3 = Color3.new(220, 188, 129)
910
            Hehe.TextStrokeColor3 = Color3.new(220, 188, 129)
911
        end
912
    end))
913
    for i = 1,string.len(text),1 do
914
        swait()
915
        Hehe.Text = string.sub(text,1,i)
916
    end
917
    swait(90)--Re[math.random(1, 93)]
918
    for i = 0, 1, .025 do
919
        swait()
920
        Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
921
        Hehe.TextStrokeTransparency = i
922
        Hehe.TextTransparency = i
923
    end
924
    Bill:Destroy()
925
    end)
926
chat()
927
end
928
 
929
function onChatted(msg)
930
    chatfunc(msg)
931
end
932
 
933
Player.Chatted:connect(onChatted)
934
 
935
for i,v in pairs(char:GetChildren()) do
936
if v:IsA("Shirt") or v:IsA("Hat") then
937
v:Destroy()
938
end
939
end
940
 
941
local ab = Instance.new("Decal")
942
ab.Parent = char.UpperTorso
943
ab.Texture = "http://www.roblox.com/asset/?id=200264388"
944
 
945
  local Hair = AddInstance("Part",{
946
            Parent = hed,
947
            CFrame = hed.CFrame,
948
            formFactor = "Symmetric",
949
            Size = Vector3.new(1, 1, 1),
950
            CanCollide = false,
951
            TopSurface = "Smooth",
952
            BottomSurface = "Smooth",
953
            Locked = true,
954
        })
955
        local Weld = AddInstance("Weld",{
956
            Parent = Hair,
957
            Part0 = hed,
958
            C0 = CFrame.new(0, 0, 0)*CFrame.Angles(0, 480.5, 0),
959
            Part1 = Hair,
960
        })
961
        local Mesh = AddInstance("SpecialMesh",{
962
            Parent = Hair,
963
            MeshId = "rbxassetid://553688034",
964
            TextureId = "rbxassetid://869796655",
965
            Scale = Vector3.new(2,2,2),
966
            VertexColor = Vector3.new(1, 1, 1),
967
        })
968
 
969
 
970
swait()
971
plr = game.Players.LocalPlayer
972
char = plr.Character
973
mouse = plr:GetMouse()
974
whitecolor = Color3.new(220, 188, 129)
975
epicmode = false
976
normal = true
977
for i,v in pairs(char:GetChildren()) do
978
    if v.ClassName == "Hat" or v.ClassName == "Accessory" then
979
        v:Destroy()
980
    end
981
end
982
 
983
cam = game.Workspace.CurrentCamera
984
CF = CFrame.new
985
angles = CFrame.Angles
986
attack = false
987
Euler = CFrame.fromEulerAnglesXYZ
988
Rad = math.rad
989
IT = Instance.new
990
BrickC = BrickColor.new
991
Cos = math.cos
992
Acos = math.acos
993
Sin = math.sin
994
Asin = math.asin
995
Abs = math.abs
996
Mrandom = math.random
997
Floor = math.floor
998
 
999
themee = Instance.new("Sound", Head)
1000
themee.Volume = 1
1001
themee.Name = "themee"
1002
themee.Looped = true
1003
 
1004
id = 1713855118
1005
themee.SoundId = "rbxassetid://"..id
1006
themee:Play()
1007
 
1008
 
1009
 
1010
function Eviscerate(dude)
1011
    if dude.Name ~= char then
1012
        local bgf = IT("BodyGyro", dude.Head)
1013
        bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
1014
        local val = IT("BoolValue", dude)
1015
        val.Name = "IsHit"
1016
        local ds = coroutine.wrap(function()
1017
            dude:WaitForChild("Head"):BreakJoints()
1018
            wait(0.5)
1019
            target = nil
1020
            coroutine.resume(coroutine.create(function()
1021
                for i, v in pairs(dude:GetChildren()) do
1022
                    if v:IsA("Accessory") then
1023
                        v:Destroy()
1024
                    end
1025
                    if v:IsA("Humanoid") then
1026
                        v:Destroy()
1027
                    end
1028
                    if v:IsA("charMesh") then
1029
                        v:Destroy()
1030
                    end
1031
                    if v:IsA("Model") then
1032
                        v:Destroy()
1033
                    end
1034
                    if v:IsA("Part") or v:IsA("MeshPart") then
1035
                        for x, o in pairs(v:GetChildren()) do
1036
                            if o:IsA("Decal") then
1037
                                o:Destroy()
1038
                            end
1039
                        end
1040
                        coroutine.resume(coroutine.create(function()
1041
                            v.Material = "Neon"
1042
                            v.CanCollide = false
1043
                            local PartEmmit1 = IT("ParticleEmitter", v)
1044
                            PartEmmit1.LightEmission = 1
1045
                            PartEmmit1.Texture = "rbxassetid://243160943"
1046
                            PartEmmit1.Color = ColorSequence.new(maincolor.Color)
1047
                            PartEmmit1.Rate = 150
1048
                            PartEmmit1.Lifetime = NumberRange.new(1)
1049
                            PartEmmit1.Size = NumberSequence.new({
1050
                                NumberSequenceKeypoint.new(0, 0.75, 0),
1051
                                NumberSequenceKeypoint.new(1, 0, 0)
1052
                            })
1053
                            PartEmmit1.Transparency = NumberSequence.new({
1054
                                NumberSequenceKeypoint.new(0, 0, 0),
1055
                                NumberSequenceKeypoint.new(1, 1, 0)
1056
                            })
1057
                            PartEmmit1.Speed = NumberRange.new(0, 0)
1058
                            PartEmmit1.VelocitySpread = 30000
1059
                            PartEmmit1.Rotation = NumberRange.new(-500, 500)
1060
                            PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
1061
                            local BodPoss = IT("BodyPosition", v)
1062
                            BodPoss.P = 3000
1063
                            BodPoss.D = 1000
1064
                            BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
1065
                            BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
1066
                            v.Color = maincolor.Color
1067
                            coroutine.resume(coroutine.create(function()
1068
                                for i = 0, 49 do
1069
                                    swait(1)
1070
                                    v.Transparency = v.Transparency + 0.08
1071
                                end
1072
                                wait(0.5)
1073
                                PartEmmit1.Enabled = false
1074
                                wait(3)
1075
                                v:Destroy()
1076
                                dude:Destroy()
1077
                            end))
1078
                        end))
1079
                    end
1080
                end
1081
            end))
1082
        end)
1083
        ds()
1084
    end
1085
end
1086
 
1087
function FindNearestHead(Position, Distance, SinglePlayer)
1088
    if SinglePlayer then
1089
        return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
1090
    end
1091
    local List = {}
1092
    for i, v in pairs(workspace:GetChildren()) do
1093
        if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
1094
            table.insert(List, v)
1095
        end
1096
    end
1097
    return List
1098
end
1099
 
1100
function Magic(bonuspeed, type, pos, scale, value, color, MType)
1101
    local type = type
1102
    local rng = Instance.new("Part", char)
1103
    rng.Anchored = true
1104
    rng.BrickColor = color
1105
    rng.CanCollide = false
1106
    rng.FormFactor = 3
1107
    rng.Name = "Ring"
1108
    rng.Material = "Neon"
1109
    rng.Size = Vector3.new(1, 1, 1)
1110
    rng.Transparency = 0
1111
    rng.TopSurface = 0
1112
    rng.BottomSurface = 0
1113
    rng.CFrame = pos
1114
    local rngm = Instance.new("SpecialMesh", rng)
1115
    rngm.MeshType = MType
1116
    rngm.Scale = scale
1117
    local scaler2 = 1
1118
    if type == "Add" then
1119
        scaler2 = 1 * value
1120
    elseif type == "Divide" then
1121
        scaler2 = 1 / value
1122
    end
1123
    coroutine.resume(coroutine.create(function()
1124
        for i = 0, 10 / bonuspeed, 0.1 do
1125
            swait()
1126
            if type == "Add" then
1127
                scaler2 = scaler2 - 0.01 * value / bonuspeed
1128
            elseif type == "Divide" then
1129
                scaler2 = scaler2 - 0.01 / value * bonuspeed
1130
            end
1131
            rng.Transparency = rng.Transparency + 0.01 * bonuspeed
1132
            rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
1133
        end
1134
        rng:Destroy()
1135
    end))
1136
end
1137
function Ban()
1138
    Magic(5, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(123, 46, 47), 1, maincolor, "Sphere")
1139
    Magic(10, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(27, 42, 53), 2, maincolor, "Sphere")
1140
    Magic(1, "Add", mouse.Hit, Vector3.new(1000, 1000, 1000), 0.5, maincolor, "Sphere")
1141
    Magic(1, "Add", mouse.Hit, Vector3.new(1000, 1000, 1000), 0.75, maincolor, "Sphere")
1142
Cso("2220756150", hed, 10, 1.1)
1143
Cso("2847401943", hed, 10, 1.1)
1144
    for i, v in pairs(FindNearestHead(mouse.Hit.p, 14.5)) do
1145
        if v:FindFirstChild("Head") then
1146
            Eviscerate(v)
1147
    end
1148
    end
1149
end
1150
 
1151
mouse.Button1Down:connect(function(key)
1152
    if attack == false then
1153
        Ban()
1154
    end
1155
end)
1156
1157
1158
if flying1 == true and canfly == true and nill == true then
1159
	idle = false
1160
	walk = false
1161
	canjump = false
1162
	LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-20)),0.1) --LeftUpperArm
1163
	RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(20)),0.1)--RightUpperArm
1164
	LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftLowerArm
1165
	RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightLowerArm
1166
	LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(60),rad(0),rad(0)),0.1)--LeftUpperLeg
1167
	RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg
1168
	LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-30),rad(0),rad(0)),0.1)--LeftLowerLeg
1169
	RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg
1170
	Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--Torso
1171
	Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--Head
1172
	
1173
end
1174
if flying1 == true and canfly == true and foward == true then
1175
	
1176
	LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(-20),rad(0),rad(-10)),0.05) --LeftUpperArm
1177
	RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(-20),rad(0),rad(10)),0.05)--RightUpperArm
1178
	LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.05)--LeftLowerArm
1179
	RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.05)--RightLowerArm
1180
	LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.05)--LeftUpperLeg
1181
	RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.05)--RightUpperLeg
1182
	LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.05)--LeftLowerLeg
1183
	RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.05)--RightUpperLeg
1184
	Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),0.05)--Torso
1185
	Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(40),rad(0),rad(0)),0.01)--Head
1186
	
1187
end
1188
-----------------------------------------------
1189
local kamehameha5 = false
1190
local ssjg = false
1191
local ssjbkaio = false
1192
local GroundShake = false
1193
local GroundShake2 = false
1194
local transform5 = false
1195
local auranum = 0
1196
local auranum1 = 0
1197
local auranum2 = 0
1198
local ssjbkaiox10 = false
1199
local auracan3 = true
1200
local auraon = true
1201
local ssjb = false
1202
local kiblastdone = true
1203
local kigo = 2.3
1204
local num1 = 16
1205
local go11 = 2.3
1206
local grab = false
1207
local up = 0
1208
local number = 1
1209
local punch1 = false
1210
local punch2 = false
1211
local punch3 = false
1212
local punch4 = false
1213
local punched1 = true
1214
local punched2 = false
1215
local punched3 = false
1216
local punched4 = false
1217
local kiblast1 = false
1218
local kiblast2 = false
1219
local kiblast3 = false
1220
local kiblast4 = false
1221
local kick1 = false
1222
local kick2 = false
1223
local kick3 = false
1224
local kick4 = false
1225
local uppercut1 = false
1226
local uppercut2 = false
1227
local knockdown1 = false
1228
local knockdown2 = false
1229
local foward = false
1230
local nill = true
1231
local canfly1 = false
1232
local canfly = true
1233
local flying1 = true
1234
local aim = false
1235
local cam=workspace.Camera
1236
local ssj1 = false
1237
local ssj2 = false
1238
local ssj3 = false
1239
local onaura = true
1240
local transform1 = false
1241
local transform2 = false
1242
local transform3 = false
1243
local transform3 = false
1244
local canjump = true
1245
local num = 0
1246
local jumped = false
1247
local beamgo = 6
1248
local beamgo1 = 1
1249
local startk = false
1250
local beam1 = false
1251
local beam2 = false
1252
local p = game.Players.LocalPlayer
1253
local char = p.Character
1254
local rad = math.rad
1255
local hum = char.Humanoid
1256
local kamehameha1 = false
1257
local kamehameha2 = false
1258
local kamehameha3 = false
1259
local kamehameha4 = false
1260
local idle = true
1261
local walk = true
1262
local walk1 = true
1263
local runAnimKeyframeHandler = nil
1264
local mouse = p:GetMouse()
1265
local v3 = Vector3.new
1266
local ns = NumberSequence.new
1267
local nr = NumberRange.new
1268
local new = Instance.new
1269
local cf = CFrame.new
1270
local cfa = CFrame.Angles
1271
local bc = BrickColor.new
1272
local canattack = true
1273
local Character = char
1274
local Humanoid = Character:WaitForChild("Humanoid")
1275
local pose = "Standing"
1276
1277
local currentAnim = ""
1278
local currentAnimInstance = nil
1279
local currentAnimTrack = nil
1280
local currentAnimKeyframeHandler = nil
1281
local currentAnimSpeed = 1.0
1282
1283
1284
mouse.KeyDown:connect(function(Press)
1285
Press=Press:lower()
1286
if Press=='z' then
1287
id = 0
1288
themee.SoundId = "rbxassetid://"..id
1289
themee:Play()
1290
end
1291
end)
1292
 
1293
mouse.KeyDown:connect(function(Press)
1294
Press=Press:lower()
1295
if Press=='c' then
1296
id = 2979417135
1297
themee.SoundId = "rbxassetid://"..id
1298
themee:Play()
1299
tecks2.Text = "I'l show you the true power of teapot"
1300
wait(2)
1301
tecks2.Text = ""
1302
wait()
1303
tecks2.Text = "Are you ready?"
1304
wait(3)
1305
tecks2.Text = ""
1306
wait()
1307
hum.WalkSpeed = 50
1308
hum.JumpPower = 100
1309
local l = game.Lighting
1310
l.TimeOfDay = "06:00:00"
1311
l.Brightness = 1
1312
l.Ambient = Color3.new(0.25, 0.5, 0.75)
1313
tecks2.Text = "Balanced Teapot"
1314
        local BC = char["Body Colors"]
1315
        BC.HeadColor = BrickColor.new("Earth orange")
1316
        BC.LeftArmColor = BrickColor.new("Earth orange")
1317
        BC.LeftLegColor = BrickColor.new("Earth orange")
1318
        BC.RightArmColor = BrickColor.new("Earth orange")
1319
        BC.RightLegColor = BrickColor.new("Earth orange")
1320
        BC.TorsoColor = BrickColor.new("Earth orange")
1321
1322
if flying then flying = false
1323
	flying1 = false
1324
idle = true
1325
	walk = true
1326
	canjump = true
1327
else 
1328
	hum.Jump = true
1329
	wait(0.5)
1330
	flying1 = true
1331
flying = true
1332
-- return to idle if finishing an emote
1333
	if (emoteNames[oldAnim] ~= nil and emoteNames[oldAnim] == false) then
1334
	oldAnim = "idle"
1335
	end
1336
1337
	currentAnim = ""
1338
	currentAnimInstance = nil
1339
	if (currentAnimKeyframeHandler ~= nil) then
1340
	currentAnimKeyframeHandler:disconnect()
1341
	end
1342
1343
	if (currentAnimTrack ~= nil) then
1344
	currentAnimTrack:Stop()
1345
	currentAnimTrack:Destroy()
1346
	currentAnimTrack = nil
1347
	end
1348
1349
	-- clean up walk if there is one
1350
	if (runAnimKeyframeHandler ~= nil) then
1351
	runAnimKeyframeHandler:disconnect()
1352
	end
1353
	
1354
	if (runAnimTrack ~= nil) then
1355
	runAnimTrack:Stop()
1356
	runAnimTrack:Destroy()
1357
	runAnimTrack = nil
1358
	end
1359
Fly() 
1360
end 
1361
elseif key:lower() == "w" then 
1362
ctrl.f = 1 
1363
nill = false
1364
foward = true
1365
elseif key:lower() == "s" then 
1366
ctrl.b = -1 
1367
elseif key:lower() == "a" then 
1368
ctrl.l = -1 
1369
elseif key:lower() == "d" then 
1370
ctrl.r = 1 
1371
end
1372
end)
1373
1374
function sandbox(var,func)
1375
	local env = getfenv(func)
1376
	local newenv = setmetatable({},{
1377
		__index = function(self,k)
1378
			if k=="script" then
1379
				return var
1380
			else
1381
				return env[k]
1382
			end
1383
		end,
1384
	})
1385
	setfenv(func,newenv)
1386
	return func
1387
end
1388
cors = {}
1389
mas = Instance.new("Model",game:GetService("Lighting"))
1390
Sky0 = Instance.new("Sky")
1391
Sky0.Name = "Stardust Speedway (good future) Skybox"
1392
Sky0.Parent = mas
1393
Sky0.CelestialBodiesShown = false
1394
Sky0.SkyboxBk = "http://www.roblox.com/asset/?id=160314837"
1395
Sky0.SkyboxDn = "http://www.roblox.com/asset/?id=160328515"
1396
Sky0.SkyboxFt = "http://www.roblox.com/asset/?id=160314896"
1397
Sky0.SkyboxLf = "http://www.roblox.com/asset/?id=160314866"
1398
Sky0.SkyboxRt = "http://www.roblox.com/asset/?id=160314805"
1399
Sky0.SkyboxUp = "http://www.roblox.com/asset/?id=160314977"
1400
Sky0.StarCount = 0
1401
for i,v in pairs(mas:GetChildren()) do
1402
	v.Parent = game:GetService("Lighting")
1403
	pcall(function() v:MakeJoints() end)
1404
end
1405
mas:Destroy()
1406
for i,v in pairs(cors) do
1407
	spawn(function()
1408
		pcall(v)
1409
	end)
1410
end
1411
1412
--Converted with ttyyuu12345's model to script plugin v4
1413
function sandbox(var,func)
1414
	local env = getfenv(func)
1415
	local newenv = setmetatable({},{
1416
		__index = function(self,k)
1417
			if k=="script" then
1418
				return var
1419
			else
1420
				return env[k]
1421
			end
1422
		end,
1423
	})
1424
	setfenv(func,newenv)
1425
	return func
1426
end
1427
cors = {}
1428
mask = Instance.new("Model",game:GetService("Lighting"))
1429
Model0 = Instance.new("Model")
1430
Model1 = Instance.new("Model")
1431
UnionOperation2 = Instance.new("UnionOperation")
1432
UnionOperation3 = Instance.new("UnionOperation")
1433
Decal4 = Instance.new("Decal")
1434
Decal5 = Instance.new("Decal")
1435
Decal6 = Instance.new("Decal")
1436
Decal7 = Instance.new("Decal")
1437
Decal8 = Instance.new("Decal")
1438
Decal9 = Instance.new("Decal")
1439
Decal10 = Instance.new("Decal")
1440
Decal11 = Instance.new("Decal")
1441
Decal12 = Instance.new("Decal")
1442
Decal13 = Instance.new("Decal")
1443
SpotLight14 = Instance.new("SpotLight")
1444
Script15 = Instance.new("Script")
1445
Camera16 = Instance.new("Camera")
1446
Part17 = Instance.new("Part")
1447
Model0.Parent = mask
1448
Model1.Name = "V A P O R W A V E"
1449
Model1.Parent = Model0
1450
UnionOperation2.Parent = Model1
1451
UnionOperation2.CFrame = CFrame.new(-329.258545, 186.240417, -2.00901389, 1, 0, 0, 0, 1, 0, 0, 0, 1)
1452
UnionOperation2.Position = Vector3.new(-329.258545, 186.240417, -2.00901389)
1453
UnionOperation2.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
1454
UnionOperation2.Size = Vector3.new(10.9342766, 103.87542, 103.87545)
1455
UnionOperation2.Anchored = true
1456
UnionOperation2.BrickColor = BrickColor.new("Really black")
1457
UnionOperation2.Material = Enum.Material.Neon
1458
UnionOperation2.brickColor = BrickColor.new("Really black")
1459
UnionOperation2.UsePartColor = true
1460
UnionOperation3.Parent = Model1
1461
UnionOperation3.CFrame = CFrame.new(-328.137634, 191.789581, -7.12074614, 1, 0, 0, 0, 1, 0, 0, 0, 1)
1462
UnionOperation3.Position = Vector3.new(-328.137634, 191.789581, -7.12074614)
1463
UnionOperation3.Color = Color3.new(0.854902, 0.521569, 0.254902)
1464
UnionOperation3.Size = Vector3.new(10.9342766, 103.87542, 103.87545)
1465
UnionOperation3.Anchored = true
1466
UnionOperation3.BrickColor = BrickColor.new("Bright orange")
1467
UnionOperation3.Material = Enum.Material.Neon
1468
UnionOperation3.brickColor = BrickColor.new("Bright orange")
1469
UnionOperation3.UsePartColor = true
1470
Decal4.Name = "White Fade Up"
1471
Decal4.Parent = UnionOperation3
1472
Decal4.Texture = "http://www.roblox.com/asset/?id=2288875354"
1473
Decal4.Transparency = 0.20000000298023
1474
Decal4.Face = Enum.NormalId.Right
1475
Decal4.Color3 = Color3.new(1, 0.333333, 1)
1476
Decal5.Name = "White Fade Up"
1477
Decal5.Parent = UnionOperation3
1478
Decal5.Texture = "http://www.roblox.com/asset/?id=2288875354"
1479
Decal5.Transparency = 0.20000000298023
1480
Decal5.Color3 = Color3.new(1, 0.333333, 1)
1481
Decal6.Name = "White Fade Up"
1482
Decal6.Parent = UnionOperation3
1483
Decal6.Texture = "http://www.roblox.com/asset/?id=2288875354"
1484
Decal6.Transparency = 0.20000000298023
1485
Decal6.Face = Enum.NormalId.Left
1486
Decal6.Color3 = Color3.new(1, 0.333333, 1)
1487
Decal7.Name = "White Fade Up"
1488
Decal7.Parent = UnionOperation3
1489
Decal7.Texture = "http://www.roblox.com/asset/?id=2288875354"
1490
Decal7.Transparency = 0.20000000298023
1491
Decal7.Face = Enum.NormalId.Back
1492
Decal7.Color3 = Color3.new(1, 0.333333, 1)
1493
Decal8.Name = "white_fade"
1494
Decal8.Parent = UnionOperation3
1495
Decal8.Texture = "http://www.roblox.com/asset/?id=2070896512"
1496
Decal8.Transparency = 0.20000000298023
1497
Decal8.Face = Enum.NormalId.Bottom
1498
Decal8.Color3 = Color3.new(0.333333, 0, 0.498039)
1499
Decal9.Name = "White Fade Up"
1500
Decal9.Parent = UnionOperation3
1501
Decal9.Texture = "http://www.roblox.com/asset/?id=2288875354"
1502
Decal9.Transparency = 0.20000000298023
1503
Decal9.Face = Enum.NormalId.Right
1504
Decal9.Color3 = Color3.new(1, 0.333333, 1)
1505
Decal10.Name = "White Fade Up"
1506
Decal10.Parent = UnionOperation3
1507
Decal10.Texture = "http://www.roblox.com/asset/?id=2288875354"
1508
Decal10.Transparency = 0.20000000298023
1509
Decal10.Face = Enum.NormalId.Left
1510
Decal10.Color3 = Color3.new(1, 0.333333, 1)
1511
Decal11.Name = "White Fade Up"
1512
Decal11.Parent = UnionOperation3
1513
Decal11.Texture = "http://www.roblox.com/asset/?id=2288875354"
1514
Decal11.Transparency = 0.20000000298023
1515
Decal11.Face = Enum.NormalId.Back
1516
Decal11.Color3 = Color3.new(1, 0.333333, 1)
1517
Decal12.Name = "White Fade Up"
1518
Decal12.Parent = UnionOperation3
1519
Decal12.Texture = "http://www.roblox.com/asset/?id=2288875354"
1520
Decal12.Transparency = 0.20000000298023
1521
Decal12.Color3 = Color3.new(1, 0.333333, 1)
1522
Decal13.Name = "white_fade"
1523
Decal13.Parent = UnionOperation3
1524
Decal13.Texture = "http://www.roblox.com/asset/?id=2070896512"
1525
Decal13.Transparency = 0.20000000298023
1526
Decal13.Face = Enum.NormalId.Top
1527
Decal13.Color3 = Color3.new(1, 0.333333, 1)
1528
SpotLight14.Parent = UnionOperation3
1529
SpotLight14.Color = Color3.new(0, 0, 1)
1530
SpotLight14.Face = Enum.NormalId.Bottom
1531
SpotLight14.Brightness = 40
1532
Script15.Parent = Model1
1533
table.insert(cors,sandbox(Script15,function()
1534
--This model was created by Dr_Kylak--
1535
1536
--https://www.roblox.com/users/51636134/profile--
1537
1538
-- (: --
1539
end))
1540
Camera16.Name = "ThumbnailCamera"
1541
Camera16.Parent = Model1
1542
Camera16.CFrame = CFrame.new(7.2665081, 66.8978577, 148.874191, 0.0179226417, 0.0313822776, 0.999346852, 1.16415308e-10, 0.999507427, -0.0313873179, -0.999839365, 0.000562543748, 0.0179138128)
1543
Camera16.CoordinateFrame = CFrame.new(7.2665081, 66.8978577, 148.874191, 0.0179226417, 0.0313822776, 0.999346852, 1.16415308e-10, 0.999507427, -0.0313873179, -0.999839365, 0.000562543748, 0.0179138128)
1544
Camera16.Focus = CFrame.new(5.26781368, 66.9606323, 148.838364, 1, 0, 0, 0, 1, 0, 0, 0, 1)
1545
Camera16.focus = CFrame.new(5.26781368, 66.9606323, 148.838364, 1, 0, 0, 0, 1, 0, 0, 0, 1)
1546
Part17.Parent = Model0
1547
Part17.CFrame = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
1548
Part17.Position = Vector3.new(0, 0.5, 0)
1549
Part17.Color = Color3.new(0.419608, 0.196078, 0.486275)
1550
Part17.Size = Vector3.new(512, 1, 512)
1551
Part17.BottomSurface = Enum.SurfaceType.Smooth
1552
Part17.BrickColor = BrickColor.new("Bright violet")
1553
Part17.Material = Enum.Material.Neon
1554
Part17.TopSurface = Enum.SurfaceType.Smooth
1555
Part17.brickColor = BrickColor.new("Bright violet")
1556
for i,v in pairs(mask:GetChildren()) do
1557
	v.Parent = workspace
1558
	pcall(function() v:MakeJoints() end)
1559
end
1560
mask:Destroy()
1561
for i,v in pairs(cors) do
1562
	spawn(function()
1563
		pcall(v)
1564
	end)
1565
end
1566
1567
--Converted with ttyyuu12345's model to script plugin v4
1568
function sandbox(var,func)
1569
	local env = getfenv(func)
1570
	local newenv = setmetatable({},{
1571
		__index = function(self,k)
1572
			if k=="script" then
1573
				return var
1574
			else
1575
				return env[k]
1576
			end
1577
		end,
1578
	})
1579
	setfenv(func,newenv)
1580
	return func
1581
end
1582
cors = {}
1583
maska = Instance.new("Model",game:GetService("Lighting"))
1584
Model0 = Instance.new("Model")
1585
Model1 = Instance.new("Model")
1586
UnionOperation2 = Instance.new("UnionOperation")
1587
UnionOperation3 = Instance.new("UnionOperation")
1588
Model4 = Instance.new("Model")
1589
UnionOperation5 = Instance.new("UnionOperation")
1590
UnionOperation6 = Instance.new("UnionOperation")
1591
Part7 = Instance.new("Part")
1592
Model0.Parent = maska
1593
Model1.Name = "Vaporwave Sun"
1594
Model1.Parent = Model0
1595
UnionOperation2.Parent = Model1
1596
UnionOperation2.CFrame = CFrame.new(527.850342, 33.2403488, 129.384979, 1, 0, 0, 0, 1, 0, 0, 0, 1)
1597
UnionOperation2.Position = Vector3.new(527.850342, 33.2403488, 129.384979)
1598
UnionOperation2.Color = Color3.new(1, 0, 0.74902)
1599
UnionOperation2.Transparency = 0.20000000298023
1600
UnionOperation2.Size = Vector3.new(10.6293612, 20.4806557, 73.0733948)
1601
UnionOperation2.Anchored = true
1602
UnionOperation2.BrickColor = BrickColor.new("Hot pink")
1603
UnionOperation2.Material = Enum.Material.Glass
1604
UnionOperation2.brickColor = BrickColor.new("Hot pink")
1605
UnionOperation3.Parent = Model1
1606
UnionOperation3.CFrame = CFrame.new(527.980042, 78.0432434, 129.384979, 1, 0, 0, 0, 1, 0, 0, 0, 1)
1607
UnionOperation3.Position = Vector3.new(527.980042, 78.0432434, 129.384979)
1608
UnionOperation3.Color = Color3.new(1, 0.690196, 0)
1609
UnionOperation3.Transparency = 0.10000000149012
1610
UnionOperation3.Size = Vector3.new(10.8886662, 62.5734863, 88.4358215)
1611
UnionOperation3.Anchored = true
1612
UnionOperation3.BrickColor = BrickColor.new("Deep orange")
1613
UnionOperation3.Material = Enum.Material.Glass
1614
UnionOperation3.brickColor = BrickColor.new("Deep orange")
1615
Model4.Name = "Vaporwave Sun"
1616
Model4.Parent = Model0
1617
UnionOperation5.Parent = Model4
1618
UnionOperation5.CFrame = CFrame.new(538.850342, 33.5703354, 129.384979, 1, 0, 0, 0, 1, 0, 0, 0, 1)
1619
UnionOperation5.Position = Vector3.new(538.850342, 33.5703354, 129.384979)
1620
UnionOperation5.Color = Color3.new(1, 0, 0.74902)
1621
UnionOperation5.Size = Vector3.new(10.6293612, 20.4806557, 73.0733948)
1622
UnionOperation5.Anchored = true
1623
UnionOperation5.BrickColor = BrickColor.new("Hot pink")
1624
UnionOperation5.Material = Enum.Material.Neon
1625
UnionOperation5.brickColor = BrickColor.new("Hot pink")
1626
UnionOperation6.Parent = Model4
1627
UnionOperation6.CFrame = CFrame.new(538.980042, 78.3731995, 129.384979, 1, 0, 0, 0, 1, 0, 0, 0, 1)
1628
UnionOperation6.Position = Vector3.new(538.980042, 78.3731995, 129.384979)
1629
UnionOperation6.Color = Color3.new(1, 0.690196, 0)
1630
UnionOperation6.Size = Vector3.new(10.8886662, 62.5734863, 88.4358215)
1631
UnionOperation6.Anchored = true
1632
UnionOperation6.BrickColor = BrickColor.new("Deep orange")
1633
UnionOperation6.Material = Enum.Material.Neon
1634
UnionOperation6.brickColor = BrickColor.new("Deep orange")
1635
Part7.Parent = Model0
1636
Part7.CFrame = CFrame.new(-39.5, 0.5, 54.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
1637
Part7.Position = Vector3.new(-39.5, 0.5, 54.5)
1638
Part7.Color = Color3.new(0.419608, 0.196078, 0.486275)
1639
Part7.Size = Vector3.new(923, 1, 927)
1640
Part7.BottomSurface = Enum.SurfaceType.Smooth
1641
Part7.BrickColor = BrickColor.new("Bright violet")
1642
Part7.Material = Enum.Material.Neon
1643
Part7.TopSurface = Enum.SurfaceType.Smooth
1644
Part7.brickColor = BrickColor.new("Bright violet")
1645
for i,v in pairs(maska:GetChildren()) do
1646
	v.Parent = workspace
1647
	pcall(function() v:MakeJoints() end)
1648
end
1649
maska:Destroy()
1650
for i,v in pairs(cors) do
1651
	spawn(function()
1652
		pcall(v)
1653
	end)
1654
end
1655
1656
end
1657
end)
1658
1659
mouse.KeyDown:connect(function(Press)
1660
Press=Press:lower()
1661
if Press=='x' then
1662
id = 1713855118
1663
themee.SoundId = "rbxassetid://"..id
1664
themee:Play()
1665
end
1666
end)
1667
 
1668
mouse.KeyDown:connect(function(Press)
1669
Press=Press:lower()
1670
if Press=='f' then
1671
Cso("975173739", hed, 10, 1.1)
1672
        dist = (tors.Position - mouse.Hit.p).magnitude
1673
        if dist <= 10000 then
1674
            tors.CFrame = CFrame.new(mouse.Hit.p) + Vector3.new(0,3,0)
1675
        end
1676
end
1677
end)