View difference between Paste ID: GmqrVbNG and WabSrVgX
SHOW: | | - or go back to the newest paste.
1-
do 
1+
2-
    function GetDiscoColor(hue)
2+
3-
        hue=hue/4
3+
4-
    local section = hue % 1 * 3
4+
5-
    local secondary = 0.5 * math.pi * (section % 1)
5+
6-
        local thing
6+
7-
    if section < 1 then
7+
8-
        thing=Color3.new(1, 1 - math.cos(secondary), 1 - math.sin(secondary))
8+
9-
    elseif section < 2 then
9+
10-
        thing=Color3.new(1 - math.sin(secondary), 1, 1 - math.cos(secondary))
10+
11-
    else
11+
12-
        thing=Color3.new(1 - math.cos(secondary), 1 - math.sin(secondary), 1)
12+
13-
    end
13+
14-
        return thing
14+
15
b.Visible = false
16-
function VertexRainbow()
16+
17-
        return Vector3.new(math.random(),math.random(),math.random())
17+
18-
        end
18+
19-
local plr = game.Players.LocalPlayer
19+
20-
local chr = plr.Character
20+
21-
local maus = plr:GetMouse()
21+
22-
local PGui=plr.PlayerGui
22+
23-
local lleg = chr["Left Leg"]
23+
24-
local rleg = chr["Right Leg"]
24+
25-
local larm = chr["Left Arm"]
25+
26-
local rarm = chr["Right Arm"]
26+
27-
local hed = chr.Head
27+
28-
local rutprt = chr.HumanoidRootPart
28+
29-
local torso = chr.Torso
29+
30-
local otheranims=false
30+
31-
local swimming=false
31+
32-
chr.Animate.Disabled=true
32+
33-
local fldb={['w']=false,['a']=false,['s']=false,['d']=false}
33+
34-
local RunSpeed=80
34+
35-
local WlkSpeed=16
35+
36-
local SwimSpeed=14
36+
37-
local SwimDashSpeed=1000
37+
38-
local anim = "Idling"
38+
39-
local lastanim = "Idling"
39+
40-
local flying=false
40+
41-
local val = 0
41+
42-
local syne = 0
42+
43-
local num = 0
43+
44-
local runtime = 0
44+
45-
local TackleCD=false
45+
46-
local currentdecalid=1
46+
47-
local crouching=false
47+
48-
local bboxout=false
48+
49-
local ltout=false
49+
50-
local standing=false
50+
51-
local throwcd=false
51+
52-
local displaying=false
52+
53-
local imageType="Custom"
53+
54-
local pseudohead=hed:Clone()
54+
55-
for i,x in pairs(pseudohead:GetChildren()) do if not x.ClassName:find('Mesh') then x:Destroy() end end
55+
56-
pseudohead.Name='PseudoHead'
56+
57-
pseudohead.Parent=chr.Head
57+
58-
local pseudoweld=Instance.new('Weld',torso)
58+
59-
pseudoweld.Part0=hed
59+
60-
pseudoweld.Name='PseudoHeadWeld'
60+
61-
pseudoweld.Part1=pseudohead
61+
62-
hed.Transparency=1
62+
63-
for i,x in pairs(chr:GetChildren()) do
63+
64-
if x:IsA'Hat' then x:destroy'' end end
64+
65-
for i,x in pairs(chr:GetChildren()) do
65+
66-
for a,v in pairs(x:GetChildren()) do
66+
67-
if v:IsA'CharacterMesh' then v:destroy''
67+
68
b.Visible = false
69
d.TextColor3  = Color3.new(255/255,255/255,255/255)			
70
end
71-
local     alldecals={"387418012","339886198","339302474","339302316","339303212","339302607","339302826","339303065","339303400","150037981","167241003","235558077","265452635","260161937","242814125","230417107","252230874","231949998","229222676","181607551","231953209","123431503","184905165","172755711","161494218","292791711","205912841","68953525","180163702","123385234","138847283","159127645","172511645","210175195","206539362","192486406","96613287","131764585","168427244","128595009","96687581","171590601","172329151","72116648","221557708","214883980"}
71+
72
end
73-
local decals={"387418012","235558078","339302317","339303401","265452690","339303066","339302827","242814126","181607552"}
73+
74-
local musics={"142594142","202020876"}
74+
75-
local currentsound=1
75+
76-
local     GarbageTypes={{"Grapes","16940906","16940893",Vector3.new(.8,.8,.8),"284627310"},{"Lightbulb","1376459","1376456",Vector3.new(1,1,1),"235040768"},{"Turkey","13073626","13073598",Vector3.new(2,2,2),"284627310"},{"JuiceBottle","57219451","57219520",Vector3.new(1.75,1.75,1.75),"235040768"},{"Can","10470609","10470600",Vector3.new(1,1,1),"284627310"},{"dunno     lol","55304507","55304460",Vector3.new(1,1,1),"235040768"},{"Burger","16646125","16432575",Vector3.new(1.1,1.1,1.1),"284627310"},{"Candy","38160912","38161977",Vector3.new(1.15,1.15,1.15),"154162195"},{"Sandwich","12510164","12509672",Vector3.new(2.5,2.5,2.5),"284627310"}}
76+
77-
coroutine.wrap(function()
77+
78-
for i,x in pairs(hed:GetChildren()) do if x:IsA('Sound') then x:Destroy() end end end)()
78+