View difference between Paste ID: BBR9wsqw and yJwiDMVq
SHOW: | | - or go back to the newest paste.
1-
-- Created by Nebula_Zorua Edit By PowerSans1234--
1+
    Player=game:GetService('Players').LocalPlayer
2-
-- Your DeTERMINATION --
2+
    Character=Player.Character
3-
-- Y o u  a c t  l i k e  y o u  h a v e  a  c h o i c e. =) --
3+
    Mouse=Player:GetMouse()
4-
-- Discord: Nebula the Zorua#6969
4+
    m=Instance.new('Model',Character)
5-
-- Youtube: https://www.youtube.com/channel/UCo9oU9dCw8jnuVLuy4_SATA
5+
    local function weldBetween(a, b)
6
        local weldd = Instance.new("ManualWeld")
7
        weldd.Part0 = a
8-
--// Initializing \\--
8+
        weldd.Part1 = b
9-
local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
9+
        weldd.C0 = CFrame.new()
10-
local Plrs = S.Players
10+
        weldd.C1 = b.CFrame:inverse() * a.CFrame
11-
local Plr = Plrs.LocalPlayer
11+
        weldd.Parent = a
12-
local Char = Plr.Character
12+
        return weldd
13-
local Hum = Char:FindFirstChildOfClass'Humanoid'
13+
14-
local RArm = Char["Right Arm"]
14+
15-
local LArm = Char["Left Arm"]
15+
    it=Instance.new
16-
local RLeg = Char["Right Leg"]
16+
17-
local LLeg = Char["Left Leg"]  
17+
    function nooutline(part)
18-
local Root = Char:FindFirstChild'HumanoidRootPart'
18+
        part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
19-
local Torso = Char.Torso
19+
20-
local Head = Char.Head
20+
21-
local NeutralAnims = true
21+
    function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
22-
local Attack = false
22+
        local fp=it("Part")
23-
local BloodPuddles = {}
23+
        fp.formFactor=formfactor
24-
local Effects = {}
24+
        fp.Parent=parent
25-
local Debounces = {Debounces={}}
25+
        fp.Reflectance=reflectance
26-
local Mouse = Plr:GetMouse()
26+
        fp.Transparency=transparency
27-
local Hit = {}
27+
        fp.CanCollide=false
28-
local Sine = 0
28+
        fp.Locked=true
29-
local Change = 1
29+
        fp.BrickColor=BrickColor.new(tostring(brickcolor))
30-
local Souls = 0
30+
        fp.Name=name
31-
--// Debounce System \\--
31+
        fp.Size=size
32
        fp.Position=Character.Torso.Position
33
        nooutline(fp)
34-
function Debounces:New(name,cooldown)
34+
        fp.Material=material
35-
    local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0}
35+
        fp:BreakJoints()
36-
    setmetatable(aaaaa,{__index = Debounces})
36+
        return fp
37-
    Debounces.Debounces[name] = aaaaa
37+
38-
    return aaaaa
38+
39-
end
39+
    function mesh(Mesh,part,meshtype,meshid,offset,scale)
40
        local mesh=it(Mesh)
41-
function Debounces:Use(overrideUsable)
41+
        mesh.Parent=part
42-
    assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
42+
        if Mesh=="SpecialMesh" then
43-
    if(self.Usable or overrideUsable)then
43+
            mesh.MeshType=meshtype
44-
        self.Usable = false
44+
            mesh.MeshId=meshid
45-
        self.CoolingDown = true
45+
46-
        local LastUse = time()
46+
        mesh.Offset=offset
47-
        self.LastUse = LastUse
47+
        mesh.Scale=scale
48-
        delay(self.Cooldown or 2,function()
48+
        return mesh
49-
            if(self.LastUse == LastUse)then
49+
50-
                self.CoolingDown = false
50+
51-
                self.Usable = true
51+
    function weld(parent,part0,part1,c0,c1)
52-
            end
52+
        local weld=it("Weld")
53-
        end)
53+
        weld.Parent=parent
54
        weld.Part0=part0
55-
end
55+
        weld.Part1=part1
56
        weld.C0=c0
57-
function Debounces:Get(name)
57+
        weld.C1=c1
58-
    assert(typeof(name) == 'string',("bad argument #1 to 'get' (string expected, got %s)"):format(typeof(name) == nil and "no value" or typeof(name)))
58+
        return weld
59-
    for i,v in next, Debounces.Debounces do
59+
60-
        if(i == name)then
60+
61-
            return v;
61+
handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Really black","Handle",Vector3.new(4, 1, 2))
62
handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.61954498, 0.610899925, 1.40690994, -0.258819044, 0, -0.965925813, 0, 1, 0, 0.965925813, 0, -0.258819044))
63
mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"rbxassetid://1553468234",Vector3.new(0, 0, 0),Vector3.new(0.0480000004, 0.0480000004, 0.0480000004))
64-
end
64+
65
    Player=game:GetService('Players').LocalPlayer
66-
function Debounces:GetProgressPercentage()
66+
    Character=Player.Character
67-
    assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
67+
    Mouse=Player:GetMouse()
68-
    if(self.CoolingDown and not self.Usable)then
68+
    m=Instance.new('Model',Character)
69-
        return math.max(
69+
    local function weldBetween(a, b)
70-
            math.floor(
70+
        local weldd = Instance.new("ManualWeld")
71-
                (
71+
        weldd.Part0 = a
72-
                    (time()-self.LastUse)/self.Cooldown or 2
72+
        weldd.Part1 = b
73-
                )*100
73+
        weldd.C0 = CFrame.new()
74-
            )
74+
        weldd.C1 = b.CFrame:inverse() * a.CFrame
75-
        )
75+
        weldd.Parent = a
76-
    else
76+
        return weldd
77-
        return 100
77+
78
   
79-
end
79+
    it=Instance.new
80
   
81-
--// Shortcut Variables \\--
81+
    function nooutline(part)
82-
local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
82+
        part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
83-
local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
83+
84-
local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
84+
85-
local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end}
85+
    function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
86-
local R3 = {N=Region3.new}
86+
        local fp=it("Part")
87-
local De = S.Debris
87+
        fp.formFactor=formfactor
88-
local WS = workspace
88+
        fp.Parent=parent
89-
local Lght = S.Lighting
89+
        fp.Reflectance=reflectance
90-
local RepS = S.ReplicatedStorage
90+
        fp.Transparency=transparency
91-
local IN = Instance.new
91+
        fp.CanCollide=false
92-
local CSK = ColorSequenceKeypoint.new
92+
        fp.Locked=true
93-
local CS = ColorSequence.new
93+
        fp.BrickColor=BrickColor.new(tostring(brickcolor))
94-
--// Instance Creation Functions \\--
94+
        fp.Name=name
95
        fp.Size=size
96-
function Sound(parent,id,pitch,volume,looped,effect,autoPlay)
96+
        fp.Position=Character.Torso.Position
97-
    local Sound = IN("Sound")
97+
        nooutline(fp)
98-
    Sound.SoundId = "rbxassetid://".. tostring(id or 0)
98+
        fp.Material=material
99-
    Sound.Pitch = pitch or 1
99+
        fp:BreakJoints()
100-
    Sound.Volume = volume or 1
100+
        return fp
101-
    Sound.Looped = looped or false
101+
102-
    if(autoPlay)then
102+
103-
        coroutine.wrap(function()
103+
    function mesh(Mesh,part,meshtype,meshid,offset,scale)
104-
            repeat wait() until Sound.IsLoaded
104+
        local mesh=it(Mesh)
105-
            Sound.Playing = autoPlay or false
105+
        mesh.Parent=part
106-
        end)()
106+
        if Mesh=="SpecialMesh" then
107
            mesh.MeshType=meshtype
108-
    if(not looped and effect)then
108+
            mesh.MeshId=meshid
109-
        Sound.Stopped:connect(function()
109+
110-
            Sound.Volume = 0
110+
        mesh.Offset=offset
111-
            Sound:destroy()
111+
        mesh.Scale=scale
112-
        end)
112+
        return mesh
113-
    elseif(effect)then
113+
114-
        warn("Sound can't be looped and a sound effect!")
114+
115
    function weld(parent,part0,part1,c0,c1)
116-
    Sound.Parent =parent or Torso
116+
        local weld=it("Weld")
117-
    return Sound
117+
        weld.Parent=parent
118-
end
118+
        weld.Part0=part0
119-
function Part(parent,color,material,size,cframe,anchored,cancollide)
119+
        weld.Part1=part1
120-
    local part = IN("Part")
120+
        weld.C0=c0
121-
    part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0)
121+
        weld.C1=c1
122-
    part.Material = (material or Enum.Material.SmoothPlastic)
122+
        return weld
123-
    part.TopSurface,part.BottomSurface=10,10
123+
124-
    part.Size = (size or V3.N(1,1,1))
124+
125-
    part.CFrame = (cframe or CF.N(0,0,0))
125+
126-
    part.Anchored = (anchored or false)
126+
handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Institutional white","Handle",Vector3.new(4, 1, 2))
127-
    part.CanCollide = (cancollide or false)
127+
handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.72890472, 0.675598145, -1.43186569, 0.258819073, 0, -0.965925813, 0, 1, 0, 0.965925813, 0, 0.258819073))
128-
    part.Parent = (parent or Char)
128+
mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"rbxassetid://1553468709",Vector3.new(0, 0, 0),Vector3.new(0.0480000004, 0.0480000004, 0.0480000004))
129-
    return part
129+
local HandlePart = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Handle", VT(0.6,0.1,1)/2,false)
130-
end
130+
MakeForm(HandlePart,"Ball")
131-
function Mesh(parent,meshtype,meshid,textid,scale,offset)
131+
 local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
132-
    local part = IN("SpecialMesh")
132+
local HandlePart = CreatePart(3,Weapon, "Neon", 0, 0, "Lime green", "Handle", VT(0.6,0.1,1)/2,false)
133-
    part.MeshId = meshid or ""
133+
MakeForm(HandlePart,"Ball")
134-
    part.TextureId = textid or ""
134+
 local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
135-
    part.Scale = scale or V3.N(1,1,1)
135+
local HandlePart = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Handle", VT(0.1,1,1)/2,false)
136-
    part.Offset = offset or V3.N(0,0,0)
136+
MakeForm(HandlePart,"Ball")
137-
    part.MeshType = meshtype or Enum.MeshType.Sphere
137+
 local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
138-
    part.Parent = parent
138+
local HandlePart = CreatePart(3, Weapon, "Neon", 0, 0, "Lime green", "Handle", VT(0.1,1,1)/2,false)
139-
    return part
139+
MakeForm(HandlePart,"Ball")
140-
end
140+
CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))