View difference between Paste ID: nvidbqqF and dqPb8kVq
SHOW: | | - or go back to the newest paste.
1-
--joemom33's dance script! credit to jarredbcv and madiik, thx guys for taking my watch dogs script, heres another ;)
1+
--[[
2-
music = true
2+
--() TTX Probe version XI ()--
3-
game.Players.LocalPlayer.Character.Humanoid.MaxHealth = math.huge --so u cant die when fights are going on e.e
3+
4
Copyright ©  UniLabs, group of the below, perm
5-
do
5+
If you have obtained this tool without permission from:
6-
        local function QuaternionFromCFrame(cf) 
6+
TELEMONTHE1st,
7-
                local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() 
7+
tuskor661, or
8-
                local trace = m00 + m11 + m22 
8+
xXLocalPlayerXx
9-
                if trace > 0 then 
9+
Then you are defaulting towards plagarism and this can result in major penalties.
10-
                        local s = math.sqrt(1 + trace) 
10+
11-
                        local recip = 0.5/s 
11+
12-
                        return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 
12+
]]
13-
                else 
13+
14-
                        local i = 0 
14+
wait'';
15-
                        if m11 > m00 then
15+
script.Parent= Instance.new'Glue';
16-
                                i = 1 
16+
mode="Destroy"
17-
                        end 
17+
sound=false
18-
                        if m22 > (i == 0 and m00 or m11) then 
18+
engulfed=false
19-
                                i = 2 
19+
song='walrus'
20-
                        end 
20+
pa=8
21-
                        if i == 0 then 
21+
banned={} 
22-
                                local s = math.sqrt(m00-m11-m22+1) 
22+
test=false;--testing mode
23-
                                local recip = 0.5/s 
23+
scropt=''
24-
                                return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip 
24+
scropting=false
25-
                        elseif i == 1 then 
25+
ofx=true
26-
                                local s = math.sqrt(m11-m22-m00+1) 
26+
ifx=true
27-
                                local recip = 0.5/s 
27+
local ascript=[[]]
28-
                                return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip 
28+
29-
                        elseif i == 2 then 
29+
scropts={}
30-
                                local s = math.sqrt(m22-m00-m11+1) 
30+
plr=game.Players.LocalPlayer
31-
                                local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip 
31+
mouse=plr:GetMouse()
32-
                        end 
32+
cam=workspace.CurrentCamera
33-
                end 
33+
p=Instance.new("Part")
34
p.FormFactor='Custom'
35-
        local function QuaternionToCFrame(px, py, pz, x, y, z, w) 
35+
p.TopSurface="Smooth"
36-
                local xs, ys, zs = x + x, y + y, z + z 
36+
p.BottomSurface='Smooth'
37-
                local wx, wy, wz = w*xs, w*ys, w*zs 
37+
p.BrickColor=BrickColor.new'White';
38-
                local xx = x*xs 
38+
p.Transparency=0.5;
39-
                local xy = x*ys 
39+
p.Size=Vector3.new(1.5,1.5,1.5)
40-
                local xz = x*zs 
40+
p.Anchored=true
41-
                local yy = y*ys 
41+
p.CanCollide=false;
42-
                local yz = y*zs 
42+
p.Name='ttx'
43-
                local zz = z*zs 
43+
pc=p:clone'';
44-
                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)) 
44+
pc.Name='pc'
45-
                end   
45+
46-
        local function QuaternionSlerp(a, b, t) 
46+
pc.Size=Vector3.new(0.75,0.75,0.75);
47-
                local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] 
47+
pc.BrickColor=BrickColor.new'Really black'
48-
                local startInterp, finishInterp; 
48+
local sel=Instance.new("SelectionBox")
49-
                if cosTheta >= 0.0001 then 
49+
sel.Color=BrickColor.new("Really black")
50-
                        if (1 - cosTheta) > 0.0001 then 
50+
sel.Transparency=0
51-
                                local theta = math.acos(cosTheta) 
51+
sel.Name='sel'
52-
                                local invSinTheta = 1/math.sin(theta) 
52+
local color=sel.Color
53-
                                startInterp = math.sin((1-t)*theta)*invSinTheta 
53+
local sel2=Instance.new("SelectionBox")
54-
                                finishInterp = math.sin(t*theta)*invSinTheta  
54+
sel2.Color=BrickColor.new("Institutional white")
55-
                        else 
55+
sel2.Transparency=1
56-
                                startInterp = 1-t 
56+
sel2.Name='sel2'
57-
                                finishInterp = t 
57+
local blo=Instance.new("BlockMesh",pc)
58-
                        end 
58+
blo.Name='blo'
59-
                else
59+
local s=Instance.new("Sound")
60-
                        if (1+cosTheta) > 0.0001 then 
60+
s.SoundId="http://www.roblox.com/asset?id=12222170"
61-
                                local theta = math.acos(-cosTheta) 
61+
s.Volume=1
62-
                                local invSinTheta = 1/math.sin(theta) 
62+
s.Pitch=3.25
63-
                                startInterp = math.sin((t-1)*theta)*invSinTheta 
63+
s.Name='s'
64-
                                finishInterp = math.sin(t*theta)*invSinTheta 
64+
local s2=Instance.new("Sound")
65-
                        else 
65+
s2.SoundId="http://www.roblox.com/asset?id=130806888"
66-
                                startInterp = t-1 
66+
s2.Volume=1
67-
                                finishInterp = t 
67+
s2.Pitch=1
68-
                        end 
68+
s2.Name='s2'
69-
                end 
69+
local s3=Instance.new("Sound")
70-
                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 
70+
s3.SoundId="http://www.roblox.com/asset?id=138092144"
71-
        end  
71+
s3.Volume=1
72-
        function clerp(a,b,t) 
72+
s3.Pitch=1
73-
                local qa = {QuaternionFromCFrame(a)}
73+
s3.Name='s3'
74-
                local qb = {QuaternionFromCFrame(b)} 
74+
local s4=Instance.new("Sound")
75-
                local ax, ay, az = a.x, a.y, a.z 
75+
s4.SoundId="http://www.roblox.com/asset?id=130791043"
76-
                local bx, by, bz = b.x, b.y, b.z  
76+
s4.Volume=1
77-
                local _t = 1-t 
77+
s4.Pitch=1
78-
                return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) 
78+
s4.Name='s4'
79-
        end 
79+
local s5=Instance.new("Sound")
80
s5.SoundId="http://www.roblox.com/asset?id=143301643"
81
s5.Volume=1
82-
do
82+
s5.Pitch=1
83-
plr = game:service'Players'.LocalPlayer
83+
s5.Name='s5'
84-
char = plr.Character
84+
85-
mouse = plr:GetMouse()
85+
game:service'ContentProvider':Preload(s5.SoundId)
86-
humanoid = char:findFirstChild("Humanoid")
86+
87-
torso = char:findFirstChild("Torso")
87+
local light=Instance.new('PointLight')
88-
head = char.Head
88+
light.Range=10
89-
ra = char:findFirstChild("Right Arm")
89+
light.Brightness=5
90-
la = char:findFirstChild("Left Arm")
90+
light.Shadows=true
91-
rl = char:findFirstChild("Right Leg")
91+
light.Color=BrickColor.new("White").Color
92-
ll = char:findFirstChild("Left Leg")
92+
light.Name='light'
93-
rs = torso:findFirstChild("Right Shoulder")
93+
94-
ls = torso:findFirstChild("Left Shoulder")
94+
local bg = Instance.new("BillboardGui")
95-
rh = torso:findFirstChild("Right Hip")
95+
bg.Adornee = p
96-
lh = torso:findFirstChild("Left Hip")
96+
bg.Size = UDim2.new(6, 0, 1, 0)
97-
neck = torso:findFirstChild("Neck")
97+
bg.StudsOffset = Vector3.new(-1.6, 2, 0)
98-
rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
98+
bg.Name='bg'
99-
anim = char:findFirstChild("Animate")
99+
100-
rootpart = char:findFirstChild("HumanoidRootPart")
100+
local frame = Instance.new("Frame")
101-
camera = workspace.CurrentCamera
101+
frame.Size = UDim2.new(1, 0, 1, 0)
102-
if anim then
102+
frame.BackgroundTransparency = 1
103-
anim:Destroy()
103+
frame.BackgroundColor3 = Color3.new(1, 1, 1)
104
frame.Name='frame'
105
106-
local rm = Instance.new("Motor", torso)
106+
local text = Instance.new("TextLabel")
107-
rm.C0 = CFrame.new(1.5, 0.5, 0)
107+
text.BackgroundTransparency=1
108-
rm.C1 = CFrame.new(0, 0.5, 0)
108+
text.Position = UDim2.new(0.15, 0, 0.25, 0)
109-
rm.Part0 = torso
109+
text.Size = UDim2.new(1.2, 0, 0.7, 0)
110-
rm.Part1 = ra
110+
text.Text = "penal servitude"
111-
local lm = Instance.new("Motor", torso)
111+
text.Font="SourceSansBold"
112-
lm.C0 = CFrame.new(-1.5, 0.5, 0)
112+
text.TextScaled=true
113-
lm.C1 = CFrame.new(0, 0.5, 0)
113+
text.TextStrokeTransparency=0
114-
lm.Part0 = torso
114+
text.TextStrokeColor3=Color3.new(255,255,255)
115-
lm.Part1 = la
115+
text.TextColor3=Color3.new(1,1,1)
116
text.Name='text'
117-
local rlegm = Instance.new("Motor", torso)
117+
118-
rlegm.C0 = CFrame.new(0.5, -1, 0)
118+
function chat(txt)
119-
rlegm.C1 = CFrame.new(0, 1, 0)
119+
    game:service'Chat':Chat(p,txt,math.random(1,2))
120-
rlegm.Part0 = torso
120+
    s3:Play()
121-
rlegm.Part1 = rl
121+
    local cb=sel.Color
122-
local llegm = Instance.new("Motor", torso)
122+
    sel.Color=BrickColor.new("Lime green")
123-
llegm.C0 = CFrame.new(-0.5, -1, 0)
123+
    wait(0.57)
124-
llegm.C1 = CFrame.new(0, 1, 0)
124+
    sel.Color=cb
125-
llegm.Part0 = torso
125+
126-
llegm.Part1 = ll
126+
127
128-
neck.C0 = CFrame.new(0, 1, 0)
128+
129-
neck.C1 = CFrame.new(0, -0.5, 0)
129+
local schemes={
130
    Normal={
131
        pmc="White";
132-
rj.C0 = CFrame.new()
132+
        pcm="Really black";
133-
rj.C1 = CFrame.new()
133+
        selc="Really black";
134
        selc2="Institutional white";
135-
local sound = Instance.new("Sound", head)
135+
        light='White';
136-
sound.SoundId = "http://www.roblox.com/asset/?id=130797915"
136+
        name="Normal"
137-
sound.Volume = 0.8
137+
    };
138-
sound.Looped = true
138+
    Inverse={
139
        pmc="Really black";
140-
for _,v in pairs(char:GetChildren()) do if v.ClassName=="Hat" then v:remove() end end
140+
        pcm="White";
141
        selc="Institutional white";
142-
local speed = 0.3
142+
        selc2="Really black";
143-
local angle = 0
143+
        light='White';
144-
local humanwalk = true
144+
        name="Inverse"
145-
local anglespeed = 1
145+
    };
146-
rsc0 = rm.C0
146+
    Neon={
147-
lsc0 = lm.C0
147+
        pmc="Really red";
148-
llc0 = llegm.C0
148+
        pcm="Lime green";
149-
rlc0 = rlegm.C0
149+
        selc="Lime green";
150-
neckc0 = neck.C0
150+
        selc2="Really red";
151
        light='Lime green';
152-
local controllerService = game:GetService("ControllerService")
152+
        name="Neon"
153-
local controller = controllerService:GetChildren()[1]
153+
    };
154
    Greenlight={
155-
controller.Parent = nil
155+
        pmc="Really black";
156
        pcm='Institutional white';
157-
Instance.new("HumanoidController", game:service'ControllerService')
157+
        selc='Lime green';
158-
Instance.new("SkateboardController", game:service'ControllerService')
158+
        selc2='Really black';
159-
Instance.new("VehicleController", game:service'ControllerService')
159+
        light='Lime green';
160-
local controller = controllerService:GetChildren()[1]
160+
        name='Greenlight'
161-
mouse.KeyDown:connect(function(k)
161+
    };
162-
    if k == "q" then
162+
    Calm={
163-
        if not sound.IsPlaying and  music == true then
163+
        pmc="Really black";
164-
            game:service'InsertService':LoadAsset(44114719):children()[1].Parent = char
164+
        pcm='Institutional white';
165-
            sound:stop()
165+
        selc='Teal';
166-
            sound.SoundId = "http://www.roblox.com/asset/?id=157460849"
166+
        selc2='Really black';
167
        light='Teal';
168-
            sound:play()
168+
        name='Calm'
169
    };
170
    --Custom Schemes--
171-
    if k == "e" then
171+
    CoolkidTheme={
172-
        if not sound.IsPlaying and music == true then
172+
        pmc="Camo";
173-
            game:service'InsertService':LoadAsset(1073690):children()[1].Parent = char
173+
        pcm="Lime green";
174-
            sound:stop()
174+
        selc="Really red";
175-
            sound.SoundId = "http://www.roblox.com/asset/?id=149069781"
175+
        selc2="Toothpaste";
176
        light='Lime green';
177-
            sound:play()
177+
        name="CoolkidTheme"
178
    };
179
}
180-
        if k == "r" then
180+
181-
        if not sound.IsPlaying and music == true then
181+
182-
            game:service'InsertService':LoadAsset(47697285):children()[1].Parent = char
182+
local songbank={
183-
            game:service'InsertService':LoadAsset(11748356):children()[1].Parent = char
183+
    ['120Blast']='http://www.roblox.com/asset?id=145197148';
184-
            sound:stop()
184+
    ['EpicSax']='http://www.roblox.com/asset?id=130775431';
185-
            sound.SoundId = "http://www.roblox.com/asset/?id=149410799"
185+
    ['Trolled']='http://www.roblox.com/asset?id=142633540';
186
    ['Bullseye']='http://www.roblox.com/asset?id=136572767';
187-
            sound:play()
187+
    ['PFS']='http://www.roblox.com/asset?id=130783719';
188
    ['120BOOM']='http://www.roblox.com/asset?id=142279108';
189
    ['Raining Tacos']='http://www.roblox.com/asset?id=142376088';
190-
        if k == "t" then
190+
    ['Pootis Man']='http://www.roblox.com/asset?id=142334905';
191-
        if not sound.IsPlaying and music == true then
191+
    ['Pootis']='http://www.roblox.com/asset?id=148636758';
192-
            game:service'InsertService':LoadAsset(10911990):children()[1].Parent = char
192+
    ['FSBG']='http://www.roblox.com/asset?id=142281681';
193-
            sound:stop()
193+
    ['SAG']='http://www.roblox.com/asset?id=142463636'
194-
            sound.SoundId = "http://www.roblox.com/asset/?id=142305777"
194+
}
195
196-
            sound:play()
196+
for _,v in pairs(songbank) do
197
    ypcall(function()
198
        game:service"ContentProvider":Preload(v)
199-
         if k == "y" then
199+
    end)
200-
        if not sound.IsPlaying and music == true then
200+
201-
            game:service'InsertService':LoadAsset(128159229):children()[1].Parent = char
201+
202-
            sound:stop()
202+
coroutine.wrap(function()
203-
            sound.SoundId = "http://www.roblox.com/asset/?id=160525520"
203+
    local angle=0;
204
    repeat
205-
            sound:play()
205+
        angle=angle+1;
206
        local a=math.rad(angle);
207
        p.CFrame=workspace.CurrentCamera.CoordinateFrame*CFrame.new(0,0,-15)*CFrame.Angles(a,a,a);
208-
         if k == "u" then
208+
        pc.CFrame=workspace.CurrentCamera.CoordinateFrame*CFrame.new(0,0,-15)*CFrame.Angles(-a,-a,-a);
209-
        if not sound.IsPlaying and music == true then
209+
        wait'';
210-
            game:service'InsertService':LoadAsset(139618234):children()[1].Parent = char
210+
    until false
211-
            sound:stop()
211+
end)();
212-
            sound.SoundId = "http://www.roblox.com/asset/?id=152401544" 
212+
newLocalScript=function(source,parent)
213
    local clone=script:clone'';
214-
            sound:play()
214+
    clone:clearAllChildren'';
215
    for _,v in next,{'Source','DSource','source','code'}do
216
        local f=Instance.new('StringValue',clone);
217-
         if k == "p" then
217+
        f.Name=v;
218-
        if not sound.IsPlaying and music == true then
218+
        f.Value=source;
219-
            game:service'InsertService':LoadAsset(163500995):children()[1].Parent = char
219+
    end;
220-
    game:service'InsertService':LoadAsset(164203067):children()[1].Parent = char
220+
    clone.Parent=parent;
221-
            sound:stop()
221+
    return clone;
222-
            sound.SoundId = "http://www.roblox.com/asset/?id=146048136"
222+
end;
223
cmds={}
224-
            sound:play()
224+
modes={
225
    {n="Destroy",color="Neon orange",func=function(thing)
226
        local a=thing.Parent
227-
        if k == "f" then
227+
        s4:Play()
228-
        if not sound.IsPlaying and music == true then
228+
        if thing.Parent.Name~="Workspace" and thing.Name~='ttx' and thing.Parent.Name~='ttx' then
229-
            game:service'InsertService':LoadAsset(11453654):children()[1].Parent = char
229+
            thing.Parent:Destroy()
230-
            sound:stop()
230+
        elseif thing.Parent.Name=="Workspace" and thing.Name~='Base' and thing.Name~="Baseplate" and thing.Name~='ttx' then
231-
            sound.SoundId = "http://www.roblox.com/asset/?id=133061687"
231+
            thing:Destroy()
232
        end
233-
            sound:play()
233+
234
    };
235
    {n="Break",color="Royal purple",func=function(thing)
236-
 if string.byte(k) == 48 then
236+
        if thing.className=="Part" and thing.Name~='Base' and thing.Name~='Baseplate' then
237-
        humanoid.WalkSpeed = 55
237+
            s4:Play()
238-
elseif string.byte(k) == 50 then
238+
            for i = 1,4 do
239-
humanoid.Sit = true
239+
                local a=thing:clone()
240-
    end 
240+
                thing:BreakJoints()
241
                a.Parent=workspace
242
                a.FormFactor="Custom"
243-
mouse.KeyUp:connect(function(k)
243+
                a.Size=Vector3.new(thing.Size.x/math.random(1.2,2),thing.Size.y/math.random(1.05,2),thing.Size.z/math.random(1.2,2))
244
                a:BreakJoints()
245-
    if string.byte(k) == 48 then
245+
                local f=Instance.new("Fire",a)
246-
        humanoid.WalkSpeed = 16
246+
                f.Size=(a.Size.x+a.Size.y+a.Size.z)/2
247
                local ex=Instance.new("Explosion")
248
                ex.Position=thing.Position
249
                ex.BlastPressure=35
250
                ex.BlastRadius=15
251
                ex.Parent=workspace
252
                thing:Destroy()
253
                Spawn(function()
254-
    angle = (angle % 100) + anglespeed/10 -- i don't see any function getting called here
254+
                    wait(3)
255-
        mvmnt = math.pi * math.sin(math.pi*2/100*(angle*10))
255+
                    a:Destroy()
256-
        local rscf = rsc0
256+
                end)
257-
        local lscf = lsc0
257+
258-
        local rlcf = rlc0
258+
259-
        local llcf = llc0
259+
260-
        local rjcf = CFrame.new()
260+
    };
261-
        local ncf = neckc0
261+
    {n="Kick",color="Really red",func=function(thing)
262-
        local rayz = Ray.new(rootpart.Position, Vector3.new(0, -6, 0))
262+
        if thing.Parent.Name~="Workspace" then
263-
            local hitz, enz = workspace:findPartOnRay(rayz, char)
263+
            s4:Play()
264-
            if not hitz then
264+
            ypcall(function()
265-
        if sound.IsPlaying then
265+
                if game:service'Players':findFirstChild(thing.Parent.Name) ~= nil then
266-
            sound:stop()
266+
                    ypcall(function()
267
                        game:service'Players':findFirstChild(thing.Parent.Name):Destroy()
268-
elseif humanoid.Sit then
268+
                    end)    
269-
        if sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=157460849" then
269+
                end
270-
	anglespeed = 1/2
270+
            end)
271-
        ncf = neckc0 * CFrame.Angles(math.pi/4, 0,math.sin(angle)*0.08)
271+
272-
        rjcf = CFrame.new(0, -0.8, 0) * CFrame.Angles(-math.pi/5, 0, math.sin(angle)*0.01,0,math.pi/2)
272+
273-
        rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.sin(angle),0,math.pi/1)
273+
    };
274-
        lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, -math.sin(angle)*0.09, math.rad(15))
274+
       {n="Ban",color="Br. yellowish green",func=function(thing)
275-
        rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20))
275+
       s4:Play()
276-
        llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20))
276+
        if thing.Parent.Name~="Workspace" then
277-
            elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=149069781" then
277+
            ypcall(function()
278-
        elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=149069781" then
278+
                if game:service'Players':findFirstChild(thing.Parent.Name) ~= nil then
279-
        anglespeed = 6
279+
                    ypcall(function()
280-
        ncf = neckc0 * CFrame.Angles(math.pi/5-math.sin(angle)*0.1, 0, 0)
280+
                        table.insert(banned,thing.Parent.Name)
281-
        rjcf = CFrame.new(0, -0.8, 0) * CFrame.Angles(-math.pi/5, 0, 0)
281+
                        game:service'Players':findFirstChild(thing.Parent.Name):Destroy()
282-
        rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15))
282+
                    end)    
283-
        lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15))
283+
                end
284-
        rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20))
284+
            end)
285-
        llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20))
285+
286-
        elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=149410799" then
286+
287-
        anglespeed = 6
287+
    };
288-
        ncf = neckc0 * CFrame.Angles(math.pi/5-math.sin(angle)*0.1, 0, 0)
288+
    {n="Kill",color="Dark red",func=function(thing)
289-
        rjcf = CFrame.new(0, -0.8, 0) * CFrame.Angles(-math.pi/5, 0, 0)
289+
    s4:Play()
290-
        rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15))
290+
        if thing.Parent.Name~="Workspace" then
291-
        lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15))
291+
            ypcall(function()
292-
        rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20))
292+
                if game:service'Players':findFirstChild(thing.Parent.Name) ~= nil then
293-
        llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20))
293+
                    ypcall(function()
294-
        elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=142305777" then
294+
                        game:service'Players':findFirstChild(thing.Parent.Name).Character:BreakJoints()
295-
        anglespeed = 6
295+
                    end)    
296-
        rjcf = CFrame.new(0, -0.8, 0) * CFrame.Angles(0, math.sin(angle),math.rad(20))
296+
                end
297-
        rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.sin(angle),0,math.pi/1)
297+
            end)
298-
        lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.sin(angle),0,math.pi/1)
298+
299-
        elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=160525520" then
299+
300-
        anglespeed = 6
300+
    };
301-
        ncf = neckc0 * CFrame.Angles(math.pi/5-math.sin(angle)*0.1, 0, 0)
301+
    {n="Ff",color="Really blue",func=function(thing)
302-
        rjcf = CFrame.new(0, -0.8, 0) * CFrame.Angles(-math.pi/5, 0, 0)
302+
    s4:Play()
303-
        rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15))
303+
        if thing.Parent.Name~="Workspace" then
304-
        lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15))
304+
            if game:service'Players':findFirstChild(thing.Parent.Name) ~= nil then
305-
        rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20))
305+
                ypcall(function()
306-
        llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20))
306+
                    if not thing.Parent.Torso.ForceField then
307-
        elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=152401544" then
307+
                        Instance.new("ForceField",thing.Parent.Torso)
308-
        anglespeed = 6
308+
                    else
309-
        ncf = neckc0 * CFrame.Angles(math.pi/5-math.sin(angle)*0.1, 0, 0)
309+
                        thing.Parent.Torso.ForceField:Destroy()
310-
        rjcf = CFrame.new(0, -0.8, 0) * CFrame.Angles(-math.pi/5, 0, 0)
310+
                    end
311-
        rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15))
311+
                end)    
312-
        lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15))
312+
313-
        rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20))
313+
314-
        llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20))
314+
315-
        elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=146048136" then
315+
    }
316-
	anglespeed = 6
316+
}
317-
        ncf = neckc0 * CFrame.Angles(math.sin(angle)-math.abs(math.sin(angle))*0.9,math.cos(angle)*.3, 0)
317+
addCommand=function(commandName,_cmds,commandDesc,commandFunc)
318-
            rjcf = CFrame.new(0, 0, 0) * CFrame.Angles(0, math.sin(angle)*.2, 0)
318+
    cmds[commandName]={['cmds']=_cmds,desc=commandDesc,func=commandFunc};
319-
            rscf = rsc0 * CFrame.Angles(math.pi/3+math.abs(math.sin(angle)*1), math.rad(anglespeed*angle)*.3,  math.sin(angle*3)*.6)
319+
320-
            lscf = lsc0 * CFrame.Angles(math.pi/3+math.abs(math.sin(angle)*1), math.rad(anglespeed*angle)*.3,  math.sin(angle*3)*.6)
320+
onChatted=function(msg)
321-
            rlcf = rlc0 * CFrame.Angles(0, math.rad(angle)*math.sin(anglespeed), math.rad(angle)*.5)
321+
    for _,v in next,cmds do
322-
            llcf = llc0 * CFrame.Angles(0, math.rad(angle)*math.sin(anglespeed), -math.rad(angle)*.5)
322+
        local used=false;
323-
        elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=142305777" then
323+
        for cmd in v.cmds:gmatch'([^(.*),?]+)'do
324-
        anglespeed = 6
324+
            if(msg:match(cmd)and used==false)then
325-
        rjcf = CFrame.new(0, math.sin(angle)*2, 0) * CFrame.Angles(0, math.sin(angle),0)
325+
                local rest=msg:match(cmd..'(.*)');
326-
        rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.sin(angle),0,math.pi/1)
326+
                pcall(v.func,rest);
327-
        lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.sin(angle),0,math.pi/1)
327+
                used=true;
328
            end;
329-
        anglespeed = 1/2
329+
        end;
330-
        ncf = neckc0 * CFrame.Angles(math.pi/5, 0, math.sin(angle)*0.08)
330+
    end;
331-
        rjcf = CFrame.new(0, -0.8, 0) * CFrame.Angles(math.pi/5, math.sin(angle)*0.01, 0)
331+
end;
332-
        rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15))
332+
getPlayers=function(msg)
333-
        lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15))
333+
    local players={};--noob nob
334-
        rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20))
334+
    for _,v in next,game.Players:players''do
335-
        llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20))
335+
        if(v.Name:lower():sub(1,#msg)==msg:lower()) then
336
            table.insert(players,v);
337-
    elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 2 then
337+
        end;
338-
            if sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=157460849" then
338+
    end;
339-
	anglespeed = 3
339+
    return players;
340-
        ncf = neckc0 * CFrame.Angles(math.pi/4, 0,math.sin(angle)*0.08)
340+
end;
341-
        rjcf = CFrame.new(0, -0.8, 0) * CFrame.Angles(-math.pi/5, 0, math.sin(angle)*0.01,0,math.pi/2)
341+
addCommand('Disconnect','disc/,disconnect/','Disconnects your player from the game',function(msg)
342-
        rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.sin(angle),0,math.pi/1)
342+
    plr:Destroy()'';
343-
        lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, -math.sin(angle)*0.09, math.rad(15))
343+
end);
344-
        rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20))
344+
addCommand('Kick','kick/','Kicks <Player>',function(msg)
345-
        llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20))
345+
    for _,player in next,getPlayers(msg)do
346-
            elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=149069781" then
346+
       player:Destroy()'';
347-
            anglespeed = 2
347+
    end;
348-
            ncf = neckc0 * CFrame.Angles(math.pi/10-math.abs(math.sin(angle))*0.3,0, 0)
348+
end);
349-
            rjcf = CFrame.new(0, 0, 0) * CFrame.Angles(0, math.sin(angle)*.5, 0)
349+
addCommand('Banish', 'ban/', 'Banish <Player>', function(msg)
350-
            rscf = rsc0 * CFrame.Angles(0, 0, math.pi/2+math.abs(math.sin(angle)*1))
350+
    for _,player in next,getPlayers(msg)do
351-
            lscf = lsc0 * CFrame.Angles(0, 0, -math.pi/2-math.abs(math.sin(angle)*1))
351+
       table.insert(banned,player.Name)
352-
            rlcf = rlc0 * CFrame.Angles(0, math.sin(angle)*0.08, math.rad(2.5))
352+
       player:Destroy()'';
353-
            llcf = llc0 * CFrame.Angles(0, -math.sin(angle)*0.08, -math.rad(2.5))
353+
    end;
354-
            elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=149410799" then
354+
end);
355-
            anglespeed = 2
355+
addCommand('Fix', 'fix/', 'Fix probe', function(msg)
356-
            ncf = neckc0 * CFrame.Angles(math.pi/10-math.abs(math.sin(angle))*0.3,0, 0)
356+
    local current=workspace:findFirstChild'ttx';
357-
            rjcf = CFrame.new(math.sin(angle)*2, 0, 0) * CFrame.Angles(-math.pi/20, math.sin(angle)*.5, 0)
357+
    if(current)then
358-
            rscf = rsc0 * CFrame.Angles(math.pi/3+math.abs(math.sin(angle)*.5), math.pi/20,  -math.pi/20)
358+
        current:destroy();
359-
            lscf = lsc0 * CFrame.Angles(math.pi/3+math.abs(math.sin(angle)*.5), -math.pi/20,  math.pi/20)
359+
    end;
360-
            rlcf = rlc0 * CFrame.Angles(math.pi/20+math.sin(angle)*0.2, math.sin(angle)*0.08, math.rad(2.5))
360+
    p=backup:clone();
361-
            llcf = llc0 * CFrame.Angles(math.pi/20-math.sin(angle)*0.2, -math.sin(angle)*0.08, -math.rad(2.5))
361+
    p.Parent=workspace;
362-
            elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=142305777" then
362+
    pc=p.pc
363-
            anglespeed = 4
363+
    sel=p.sel
364-
        rjcf = CFrame.new(0, math.sin(angle)*2, 0) * CFrame.Angles(0, math.sin(angle),0)
364+
    bg=p.bg
365-
        rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.sin(angle),0,math.pi/1)
365+
    frame=p.frame
366-
        lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.sin(angle),0,math.pi/1)
366+
    text=p.Text
367-
            elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=160525520" then
367+
    sel2=pc.sel2
368-
            anglespeed = 2
368+
    s=p.s
369-
            ncf = neckc0 * CFrame.Angles(math.pi/10-math.abs(math.sin(angle))*0.5,0, 0)
369+
    s2=p.s2
370-
            rjcf = CFrame.new(0, 0, math.sin(angle)*3) * CFrame.Angles(0, math.sin(angle)*0.1, 0)
370+
    s3=p.s3
371-
            rscf = rsc0 * CFrame.Angles(math.pi/3+math.abs(math.sin(angle)*1), math.pi/20,  -math.pi/20)
371+
    s4=p.s4
372-
            lscf = lsc0 * CFrame.Angles(math.pi/3+math.abs(math.sin(angle)*1), -math.pi/20,  math.pi/20)
372+
    s5=p.s5
373-
            rlcf = rlc0 * CFrame.Angles(math.pi/20+math.sin(angle*2)*.75, 0, 0)
373+
    light=pc.light
374-
            llcf = llc0 * CFrame.Angles(math.pi/20-math.sin(angle*2)*.75, 0, 0)
374+
end);
375-
            elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=152401544" then
375+
376-
            anglespeed = 2
376+
addCommand('Nil disconnect','nild/', "Disconnect a nil player", function(msg)
377-
            ncf = neckc0 * CFrame.Angles(0,0, 0)
377+
378-
            rjcf = CFrame.new(0, -math.abs(math.sin(angle))*1.5, 0) * CFrame.Angles(math.sin(angle)*2, 0, 0)
378+
379-
            rscf = rsc0 * CFrame.Angles(0, 0,  0)
379+
380-
            lscf = lsc0 * CFrame.Angles(0, 0,  0)
380+
addCommand('Clean' ,'clean/', 'Clean Workspace', function(msg)
381-
            rlcf = rlc0 * CFrame.Angles(0, 0, 0)
381+
    for _,v in pairs(workspace:children()) do
382-
            llcf = llc0 * CFrame.Angles(0, 0, 0)
382+
        ypcall(function()
383-
            elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=146048136" then
383+
            if game:GetService("Players"):GetPlayerFromCharacter(v) == nil then  
384-
	anglespeed = 6
384+
                if v.Name~="Base" and v.Name~="Baseplate" and v.Name~='ttx' then
385-
        ncf = neckc0 * CFrame.Angles(math.sin(angle)-math.abs(math.sin(angle))*0.9,math.cos(angle)*.3, 0)
385+
                    v:Destroy()
386-
            rjcf = CFrame.new(0, 0, 0) * CFrame.Angles(0, math.sin(angle)*.2, 0)
386+
                end
387-
            rscf = rsc0 * CFrame.Angles(math.pi/3+math.abs(math.sin(angle)*1), math.rad(anglespeed*angle)*.3,  math.sin(angle*3)*.6)
387+
388-
            lscf = lsc0 * CFrame.Angles(math.pi/3+math.abs(math.sin(angle)*1), math.rad(anglespeed*angle)*.3,  math.sin(angle*3)*.6)
388+
        end)
389-
            rlcf = rlc0 * CFrame.Angles(0, math.rad(angle)*math.sin(anglespeed), math.rad(angle)*.5)
389+
390-
            llcf = llc0 * CFrame.Angles(0, math.rad(angle)*math.sin(anglespeed), -math.rad(angle)*.5)
390+
end);
391-
            elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=133061687" then
391+
392-
            anglespeed = 7
392+
addCommand('Crash','cr/','Crashes a <Player>',function(msg)
393-
            ncf = neckc0 * CFrame.Angles(math.pi/10-math.abs(math.sin(angle))*0.3,0, 0)
393+
    for _,player in next,getPlayers(msg)do
394-
            rjcf = CFrame.new(0, 0, 0) * CFrame.Angles(0, math.sin(angle)*.5, 0)
394+
        newLocalScript([[game.Players.LocalPlayer:kick'']], player.Backpack or player.Character)
395-
            rscf = rsc0 * CFrame.Angles(math.pi/3+math.abs(math.sin(angle)*1), math.pi/20,  -math.pi/20)
395+
    end;
396-
            lscf = lsc0 * CFrame.Angles(math.pi/3+math.abs(math.sin(angle)*1), -math.pi/20,  math.pi/20)
396+
397-
            rlcf = rlc0 * CFrame.Angles(0, math.sin(angle)*0.1, math.rad(2.5))
397+
print'a';
398-
            llcf = llc0 * CFrame.Angles(0, -math.sin(angle)*1, -math.rad(2.5))
398+
addCommand('Lag', 'lag/', 'Lags a <Player>',function(msg)
399-
            else
399+
    for _,player in ipairs(getPlayers(msg))do
400-
            if humanwalk then
400+
        newLocalScript([[
401-
                        anglespeed = 1/4
401+
            wait'';
402-
        ncf = neckc0 * CFrame.Angles(-math.sin(angle)*0.07, 0, 0)
402+
            script.Parent=workspace.currentCamera;
403-
        rjcf = CFrame.new(0, 0, 0) * CFrame.Angles(0, math.sin(angle)*0.009, 0)
403+
            addLoop=function()
404-
        rscf = rsc0 * CFrame.Angles(math.sin(angle)*0.6, 0, 0)
404+
                repeat
405-
        lscf = lsc0 * CFrame.Angles(math.sin(-angle)*0.6, 0, 0)
405+
                    for _,v in next,{'Message','Hint','Part','Message','Message','Hint','Seat'}do
406-
        rlcf = rlc0 * CFrame.Angles(0, math.sin(angle)*0.09, math.rad(2.5))
406+
                        pcall(function()
407-
        llcf = llc0 * CFrame.Angles(0, -math.sin(angle)*0.12, -math.rad(angle)*0.2)
407+
                            local i=Instance.new(v,workspace.currentCamera);
408-
                else
408+
                            i.Text='lag';
409-
        anglespeed = 1/2
409+
                        end);
410-
        ncf = neckc0 * CFrame.Angles(math.pi/5, 0, math.sin(angle)*0.5)
410+
                    end;
411-
        rjcf = CFrame.new(0, -2, 0) * CFrame.Angles(-math.pi/5, math.sin(angle)*0.01, 0)
411+
                    wait'';
412-
        rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/6, 0, -math.rad(60))
412+
                    if(math.random(1,10)==1)then
413-
        lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/6, 0, math.rad(60))
413+
                        coroutine.wrap(addLoop)();
414-
        rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20))
414+
                    end;
415-
        llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20))
415+
                until false;
416
            end;
417
            coroutine.wrap(addLoop)();
418-
    elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 20 then
418+
        ]],player.Character);
419-
        if sound.IsPlaying then
419+
    end;
420-
            sound:stop()
420+
end);
421-
            for _,v in pairs(char:GetChildren()) do if v.ClassName=="Hat" then v:remove() end end
421+
422
addCommand('Fixl','fixl/','Fixes lighting',function(msg)
423-
        if humanwalk then
423+
    game.Lighting.Brightness=7
424-
                                anglespeed = 4
424+
    game.Lighting.TimeOfDay='14:00:00'
425-
        ncf = neckc0 * CFrame.Angles(math.pi/24, mvmnt*.02, 0)
425+
    game.Lighting.GlobalShadows=true
426-
        rjcf = CFrame.new(0, math.abs(mvmnt)*0.05, 0) * CFrame.Angles(math.pi/24, -mvmnt*.02, 0)
426+
    game.Lighting.Outlines=true
427-
        rscf = rsc0 * CFrame.Angles(math.sin(angle)*1.25, 0, -math.abs(mvmnt)*0.02)
427+
    game.Lighting.ShadowColor=Color3.new(179,179,179)
428-
        lscf = lsc0 * CFrame.Angles(math.sin(-angle)*1.25, 0, math.abs(mvmnt)*0.02)
428+
    game.Lighting.Ambient=Color3.new(128,128,128)
429-
        rlcf = rlc0 * CFrame.Angles(math.sin(-angle)*1, 0, math.rad(.5))
429+
    game.Lighting.FogStart=0
430-
        llcf = llc0 * CFrame.Angles(math.sin(angle)*1, 0, -math.rad(.5))
430+
    game.Lighting.FogEnd=100000
431-
                else
431+
432-
        anglespeed = 4
432+
433-
        ncf = neckc0 * CFrame.new(0, 0, .2) * CFrame.Angles(math.pi/1.9, 0, 0)
433+
addCommand('Rejoin','rj/','Rejoins player',function(msg)
434-
        rjcf = CFrame.new(0, -1.5+math.abs(mvmnt)*0.05, 0) * CFrame.Angles(-math.pi/1.9, math.sin(mvmnt/2)*0.05, 0)
434+
    game:GetService('TeleportService'):Teleport(game.PlaceId)
435-
        rscf = rsc0 * CFrame.new(-.45, 0.2, -.4+math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/2+math.sin(angle)*1, 0, math.rad(5))
435+
436-
        lscf = lsc0 * CFrame.new(.45, 0.2, .1-math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/2+math.sin(-angle)*0.4, 0, -math.rad(5))
436+
437-
        rlcf = rlc0 * CFrame.new(0, 0, -.3+math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/2.5+math.sin(-angle)*0.8, 0, math.abs(mvmnt)*0.025)
437+
addCommand('Create','create/', 'Creates a <script>',function(msg)
438-
        llcf = llc0 * CFrame.new(0, 0, .3-math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/2.5+math.sin(angle)*.6, 0, -math.abs(mvmnt)*0.025)
438+
    table.insert(scropts,{n=msg,c=""})
439
    chat("Created script: " .. msg .. "!",math.random(0,2));
440-
    elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 20 then
440+
441-
        if sound.IsPlaying then
441+
442-
            sound:stop()
442+
addCommand('Edit','edit/','Edits a <script>', function(msg)
443-
        for _,v in pairs(char:GetChildren()) do if v.ClassName=="Hat" then v:remove() end end
443+
chat("Editing script: " .. msg .. "!",math.random(0,2));
444
    for _,v in pairs(scropts) do
445-
        if humanwalk then
445+
        if v.n==msg then
446-
        anglespeed = 5
446+
            scropting=true
447-
        ncf = neckc0 * CFrame.Angles(math.rad(30), math.sin(angle)*.5, 0)
447+
            scropt=v.n
448-
        rjcf = CFrame.new(0, -.4 + math.abs(mvmnt)*0.25, 0) * CFrame.Angles(0, -math.sin(angle)*.08, 0)
448+
            chat(scropt,math.random(0,2));
449-
        rscf = rsc0 * CFrame.new(0, 0, -.3+math.abs(mvmnt)*0.125) *  CFrame.Angles(math.pi/18+math.sin(angle)*1.5, 0, -math.abs(mvmnt)*1.7)
449+
450-
        lscf = lsc0 * CFrame.new(0, 0, .3-math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/18+math.sin(-angle)*1.5, 0, math.abs(mvmnt)*1.7)
450+
451-
        rlcf = rlc0 * CFrame.new(0, 0, -.6+math.abs(mvmnt)*0.125) * CFrame.Angles(-math.pi/18+math.sin(-angle)*1.3, 0, math.rad(.5))
451+
452-
        llcf = llc0 * CFrame.new(0, 0, -math.abs(mvmnt)*0.125) * CFrame.Angles(-math.pi/18+math.sin(angle)*1.3, 0, -math.rad(.5))
452+
453
addCommand('Exit','exit/','Exits a <script>', function(msg)
454-
        anglespeed = 5.5
454+
    scropting=false
455-
        ncf = neckc0 * CFrame.new(0, 0, .2) * CFrame.Angles(math.pi/1.9+math.sin(mvmnt/2)*0.05, 0, 0)
455+
    chat("Exited script: " .. scropt .. "!",math.random(0,2));
456-
        rjcf = CFrame.new(0, -1.3+math.abs(mvmnt)*0.05, 0) * CFrame.Angles(-math.pi/1.9+math.abs(mvmnt/2)*0.1, 0, 0)
456+
457-
        rscf = rsc0 * CFrame.new(-1, 0.2, -.5) * CFrame.Angles(math.pi/2+math.sin(angle)*1.8, 0, math.rad(5))
457+
458-
        lscf = lsc0 * CFrame.new(1, 0.2, -.5) * CFrame.Angles(math.pi/2+math.sin(angle)*1.8, 0, -math.rad(5))
458+
addCommand('Run','run/','Runs a <script>', function(msg)
459-
        rlcf = rlc0 * CFrame.new(0, .3-math.abs(mvmnt)*0.125, -.3+math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/2.5+math.sin(-angle)*1.4, 0, math.abs(mvmnt)*0.025)
459+
    for _,v in pairs(scropts) do
460-
        llcf = llc0 * CFrame.new(0, .3-math.abs(mvmnt)*0.125, .3-math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/2.5+math.sin(-angle)*1.4, 0, -math.abs(mvmnt)*0.025)
460+
        if v.n==scropt then
461
            ypcall(function()
462
                --newLocalScript(v.c,workspace)
463-
        
463+
                wait(); loadstring(v.c)()
464-
    rm.C0 = clerp(rm.C0,rscf,speed)
464+
                chat(v.c,math.random(0,2))
465-
    lm.C0 = clerp(lm.C0,lscf,speed)
465+
            end)
466-
    rj.C0 = clerp(rj.C0,rjcf,speed)
466+
467-
    neck.C0 = clerp(neck.C0,ncf,speed)
467+
468-
    rlegm.C0 = clerp(rlegm.C0,rlcf,speed)
468+
    chat("Running script: " .. msg .. "!",math.random(0,2));
469-
    llegm.C0 = clerp(llegm.C0,llcf,speed)
469+
470
471
addCommand('Clear','clear/','Clears a <script>',function(msg)
472
    for _,v in pairs(scropts) do
473
        if v.n==msg then
474
            v.c=''
475-
game.Players.LocalPlayer.Chatted:connect(function(k)
475+
476-
if k:lower() == "musicon" then
476+
477-
music = true
477+
    chat("Cleared script: " .. msg .. "!",math.random(0,2));
478-
elseif k:lower() == "musicoff" then
478+
479-
music = false
479+
480
addCommand('Remove','remove/','Removes a <script>',function(msg)
481-
end)
481+
   for _,v in pairs(scropts) do
482
        if v.n==msg then
483
            table.remove(scropts,v)
484
        end
485
   end
486
    chat("Removed script: " .. msg .. "!",math.random(0,2));
487
end)
488
489
addCommand('Mode','mode/','Switches mode',function(msg)
490
    ypcall(function()
491
        mode=msg
492
        chat("Switched to mode: " .. msg .. "!",math.random(0,2));
493
    end)
494
end)
495
496
addCommand('Change scheme', 'cs/', 'Changes scheme', function(msg)
497
    ypcall(function()
498
        for _,v in pairs(schemes) do
499
            if v.name==msg then
500
                p.BrickColor=BrickColor.new(v.pmc)
501
                pc.BrickColor=BrickColor.new(v.pcm)
502
                sel.Color=BrickColor.new(v.selc)
503
                sel2.Color=BrickColor.new(v.selc2)
504
                light.Color=BrickColor.new(v.light).Color
505
                chat("Switched to scheme: " .. msg .. "!",math.random(0,2));
506
            end
507
        end
508
    end)
509
    end
510
)
511
512
513
addCommand('Set size','ss/', 'Sets size',function(msg)
514
    local m=tonumber(msg)
515
    p.Size=Vector3.new(m,m,m)
516
    pc.Size=Vector3.new(m/2,m/2,m/2)
517
end)
518
519
addCommand('Set #Particles','pa/', 'Sets # particles', function(msg)
520
    pa=tonumber(msg)
521
end)
522
523
addCommand('Set outer lining color','solc/', 'Sets olc',function(msg)
524
    sel.Color=BrickColor.new(msg)
525
end)
526
527
addCommand('Set inner lining color','silc/', 'Sets ilc',function(msg)
528
    sel2.Color=BrickColor.new(msg)
529
end)
530
531
addCommand('Set outer box color','sobc/', 'Sets obc',function(msg)
532
    p.BrickColor=BrickColor.new(msg)
533
end)
534
535
addCommand('Set inner box color','sibc/', 'Sets ibc',function(msg)
536
    p.BrickColor=BrickColor.new(msg)
537
end)
538
539
addCommand('Disable outer fx','dof/','Disables outer FX',function(msg)
540
    ofx=false
541
end)
542
543
addCommand('Enable outer fx','eof/','Enables outer FX',function(msg)
544
    ofx=true
545
end)
546
547
addCommand('Disable inner fx','dif/','Disables inner FX',function(msg)
548
    ifx=false
549
end)
550
551
addCommand('Enable inner fx','eif/','Enables inner FX',function(msg)
552
    ifx=true
553
end)
554
--lavish commands
555
addCommand('Ff', 'ff/', 'Ffs a <Player>',function(msg)
556
    for _,player in next,getPlayers(msg)do
557
        Instance.new("ForceField",player.Character.Torso)
558
    end;
559
end)
560
561
addCommand('Play', 'play/', 'Plays a <song>',function(msg)
562
   if songbank[msg] then
563
        song=msg
564
        local a=Instance.new("Sound")
565
        a.Volume=1
566
        a.Pitch=1
567
        a.Looped=true
568
        a.SoundId=songbank[msg]
569
        a.Name=msg
570
        a.Parent=p
571
        wait()
572
        a:Play()
573
        wait()
574
        a:Stop()
575
        wait()
576
        a:Play()
577
        color=sel.Color
578
        sound=true
579
        chat('Playing "' .. msg .. '"!')
580
    else
581
        chat('Song "' .. msg .. '" does not exist.')
582
    end
583
end)
584
585
addCommand('Stop', 'stop/', 'Stops a song',function(msg)
586
    ypcall(function()
587
        sound=false
588
        sel.Color=color
589
        wait()
590
        if p[msg] then
591
            ypcall(function()
592
                p[msg]:Destroy()
593
            end)
594
        end
595
        song='nil'
596
        chat('Song "' .. msg .. '" stopped!')
597
    end)
598
end)
599
600
addCommand('Pitch', 'pitch/', 'Changes pitch of a song',function(msg)
601
    ypcall(function()
602
        if p[song] then
603
            ypcall(function()
604
                p[song].Pitch=tonumber(msg)
605
            end)
606
        end
607
        chat('Song "' .. msg .. "'s" ..  ' pitch has been changed to ' .. msg .. ".")
608
    end)
609
end)
610
611
addCommand('Engulf','eng/','Engulf yourself in FX', function(msg)
612
    engulfed=true
613
    p.Transparency=1
614
    pc.Transparency=1
615
    sel.Transparency=1
616
    sel2.Transparency=1
617
end)
618
619
addCommand('Unengulf','ueng/','Unengulf yourself in FX', function(msg)
620
    engulfed=false
621
    p.Transparency=0
622
    pc.Transparency=0
623
    sel.Transparency=0
624
    sel2.Transparency=0
625
end)
626
627
addCommand('Unff','unff/', 'Unffs a <Player>', function(msg)
628
    for _,player in next,getPlayers(msg)do
629
    for i,v in pairs(player.Character:GetChildren()) do
630
    if v:IsA("ForceField") then
631
    v:remove()
632
        end
633
    end
634
end;
635
end)
636
if(not test)then
637
    plr:remove'';
638
end;
639
plr.Character=nil;
640
plr.Chatted:connect(function(msg)
641
    ypcall(function()
642
    print(msg);
643
    
644
    onChatted(msg);
645
    if scropting==true then
646
    if not msg:find('exit/') and not msg:find('edit/') then
647
        for _,v in pairs(scropts) do
648
            if v.n==scropt then
649
                v.c=v.c .. msg
650
                chat("Input code!",math.random(0,2));
651
            end
652
        end
653
    end
654
    end
655
    if scropting==false then
656
    local a=string.len(msg)
657
    local bbd="%u"
658
    local bbc="%l"
659
    local cco=0
660
    local cco2=0
661
    local modec="calm"
662
    for i=1,a do
663
        if string.sub(msg,i,i):match(bbd) then
664
            cco=cco+1
665
        elseif string.sub(msg,i,i):match(bbc) then
666
            cco2=cco2+1
667
        end
668
    end
669
    print("CCO is " .. tostring(cco))
670
    print("CCO2 is " .. tostring(cco2))
671
    if cco<cco2 then
672
        modec="calm"
673
        text.TextColor3=BrickColor.new("White").Color
674
        cco=0
675
        cco2=0
676
    elseif cco2<cco then
677
        modec="mad"
678
        text.TextColor3=BrickColor.new("Really red").Color
679
        cco=0
680
        cco2=0
681
    end
682
    --[[
683
    local bbd="%u+"
684
    local bbc="%l+"
685
    local mc=msg:match(bbd)
686
    local mc2=msg:match(bbc)
687
    if a/2<=string.len(mc) then
688
        ypcall(function()
689
            text.TextColor3=BrickColor.new("Really red").Color
690
            s2:Play()
691
        end)
692
    elseif a/2<=string.len(mc2) then
693
        ypcall(function()
694
            text.TextColor3=BrickColor.new("White").Color
695
        end)
696
    end
697
    ]]
698
699
    if modec=="mad" then
700
        s2:Play()
701
    end
702
    text.Text=''
703
    for i=1,a do
704
        wait(0.055)
705
        s.Pitch=math.random(2.45,3.1)
706
        s:Play()
707
        text.Text=string.sub(msg,1,i)
708
    end
709
    --[[
710
    wait(5)
711
        local var=0
712
        if text.Text==msg then
713
            for i=1,a do
714
                var=var-1
715
            wait(0.055)
716
            s.Pitch=math.random(3.0,4.0)
717
            s:Play()
718
            text.Text=string.sub(msg,a,var)
719
        end
720
        end
721
    ]]
722
    end
723
    end)
724
end);
725
726
727
728
game.Players.ChildAdded:connect(function(playur)
729
    if playur.className=="Player" then
730
        for _,v in pairs(banned) do
731
            if v==playur.Name then
732
                playur:Destroy()
733
            end
734
        end
735
    end
736
end)
737
738
game:service'RunService'.Stepped:connect(function()
739
    ypcall(function()
740
    p.Parent=workspace
741
    pc.Parent=p
742
    sel.Parent=p
743
    sel.Adornee=p
744
    bg.Adornee=p
745
    bg.Parent=p
746
    frame.Parent=bg
747
    text.Parent=frame
748
    sel2.Parent=pc
749
    sel2.Adornee=pc
750
    s.Parent=p
751
    s2.Parent=p
752
    s3.Parent=p
753
    s4.Parent=p
754
    s5.Parent=p
755
    light.Parent=pc
756
    text.TextStrokeColor3=sel.Color.Color
757
    end)
758
end)
759
760
s5.Looped=true
761
s5.Volume=0.5
762
s5:Play()
763
wait()
764
s5:Stop()
765
wait()
766
s5:Play()
767
768
local walrus=game.Lighting
769
mouse.Button1Down:connect(function()
770
    ypcall(function()
771
        for _,v in pairs(modes) do
772
            if v.n==mode and mouse.Target.Name~="Workspace" then
773
                local ray = Ray.new(p.CFrame.p, (mouse.Hit.p - p.CFrame.p).unit*300)
774
                v.func(mouse.Target)
775
                local position = mouse.Hit.p--game.Workspace:FindPartOnRay(ray, walrus)
776
                local distance = (position - p.CFrame.p).magnitude
777
                local rp=Instance.new("Part",workspace)
778
                rp.Anchored=true
779
                rp.TopSurface="Smooth"
780
                rp.BottomSurface="Smooth"
781
                rp.Transparency=0.45
782
                rp.BrickColor=BrickColor.new(v.color)
783
                rp.FormFactor="Custom"
784
                rp.CanCollide=false
785
                rp.Size=Vector3.new(0.6,0.6,distance)
786
                rp.CFrame=CFrame.new(position, p.CFrame.p) * CFrame.new(0, 0, -distance/2)
787
                local cy=Instance.new("BlockMesh",rp)
788
                local rp2=Instance.new("Part",rp)
789
                rp2.Anchored=true
790
                rp2.TopSurface="Smooth"
791
                rp2.BottomSurface="Smooth"
792
                rp2.Transparency=0.45
793
                rp2.BrickColor=BrickColor.new("Institutional white")
794
                rp2.FormFactor="Custom"
795
                rp2.CanCollide=false
796
                rp2.Size=Vector3.new(1,1,distance)
797
                rp2.CFrame=CFrame.new(position, p.CFrame.p) * CFrame.new(0, 0, -distance/2)
798
                local cy2=Instance.new("BlockMesh",rp2)
799
                for i=1,10 do
800
                    wait()
801
                    cy.Scale=cy.Scale-Vector3.new(0.1,0.1,0)
802
                    cy2.Scale=cy2.Scale-Vector3.new(0.1,0.1,0)
803
                end
804
                rp:Destroy()
805
                rp2:Destroy()
806
                print'done'
807
            end
808
        end
809
    end)
810
end)
811
812
coroutine.resume(coroutine.create(function()
813
    while wait() do
814
        for i=1,50 do
815
        wait()
816
        blo.Scale=blo.Scale+Vector3.new(0.01,0.01,0.01)
817
        end
818
        for i=1,50 do
819
        wait()
820
        blo.Scale=blo.Scale-Vector3.new(0.01,0.01,0.01)
821
        end
822
    end
823
end))
824
825
coroutine.resume(coroutine.create(function()
826
    while wait() do
827
        if engulfed==false then
828
            for i=1,100 do
829
                wait()
830
                sel.Transparency=sel.Transparency+0.01
831
                sel2.Transparency=sel2.Transparency-0.01
832
            end
833
            for i=1,100 do
834
                wait()
835
                sel.Transparency=sel.Transparency-0.01
836
                sel2.Transparency=sel2.Transparency+0.01
837
            end
838
        end
839
    end
840
end))
841
842
coroutine.resume(coroutine.create(function()
843
    while wait() do
844
        if ifx==true then
845
        local pos=p.Position
846
        wait(0.01)
847
        if p.Position~=pos or engulfed==true then
848
        local a=p:clone()
849
        a.Parent=workspace
850
        a.Transparency=0
851
        a.FormFactor='Custom'
852
        a.BrickColor=sel.Color
853
        a:clearAllChildren()
854
        local b=Instance.new("BlockMesh",a)
855
        Spawn(function()
856
        for i=1,30 do
857
            wait(0.02)
858
            b.Scale=b.Scale-Vector3.new(0.10,0.10,0.10)
859
            a.Transparency=a.Transparency+0.05
860
        end
861
        a:Destroy()
862
        end)
863
        else
864
        end
865
    end
866
    end
867
end))
868
869
870
871
coroutine.resume(coroutine.create(function()
872
while wait(0.06245) do
873
if ofx==true then
874
local a=Instance.new('Part',p)
875
a.Anchored=true
876
local b=Instance.new("BlockMesh",a)
877
a.Size=Vector3.new(1.1,1)
878
a.CFrame=p.CFrame*CFrame.new(math.random(-2,2),math.random(-2,2),math.random(-2,2))
879
a.BrickColor=sel.Color
880
Spawn(function()
881
    for i=1,pa do
882
        wait()
883
        a.CFrame=a.CFrame*CFrame.new(math.random(-.1,.1),math.random(-.1,.1),math.random(-.1,.1))*CFrame.Angles(math.rad(i),math.rad(i),math.rad(i))
884
        a.Transparency=a.Transparency+0.1
885
        b.Scale=b.Scale-Vector3.new(0.1,0.1,0.1)
886
    end
887
    a:Destroy()
888
end)
889
end
890
end
891
end))
892
893
pc.ChildRemoved:connect(function()
894
    sound=false
895
    sel.Color=color
896
end)
897
898
899
900
local backup=p:clone()
901
backup.Parent=nil
902
903
--[[
904
workspace.ChildRemoved:connect(function(asd)
905
    if asd.Name=="ttx" then
906
        wait(5)
907
        if not workspace['ttx'] then
908
            local f=backup:clone()
909
            f.Parent=workspace
910
            p=f
911
        end
912
    end
913
end)
914
coroutine.resume(coroutine.create(function()
915
    while wait(4) do
916
        if not workspace['ttx'] then
917
            local abc=backup:clone()
918
            abc.Parent=workspace
919
            p=abc
920
        end
921
    end
922
end))
923
]]
924
coroutine.resume(coroutine.create(function()
925
    local a=p.Position
926
    wait(0.02)
927
    if p.Position~=a then
928
        s5.Pitch=s5.Pitch+0.035
929
    else
930
        s5.Pitch=1
931
    end
932
end))
933
--[[
934
while wait() do
935
    local fx=Instance.new("Part")
936
    fx.FormFactor="Custom"
937
    fx.Anchored=true
938
    fx.TopSurface="Smooth"
939
    fx.BottomSurface="Smooth"
940
    fx.Size=Vector3.new(0.4,0.4,0.4)
941
    fx.CFrame=p.CFrame*CFrame.new(math.random(1,3),math.random(3,4),math.random(1,3))
942
    if sound==true then
943
        sel.Color=BrickColor.Random()
944
    end
945
    if engulfed==true then
946
        p.Transparency=1
947
        pc.Transparency=1
948
        sel.Transparency=1
949
        sel2.Transparency=1
950
    end
951
    coroutine.wrap(function()
952
        local walrus=0
953
        while fx~=nil do
954
            wait()
955
            walrus=walrus+0.02
956
            fx.CFrame=fx.CFrame*(p.CFrame)*CFrame.new(0,walrus,0)
957
        end
958
    end)()
959
    game.Debris:addItem(fx,3)
960
end
961
]]