View difference between Paste ID: xLND2ZGr and nZ6wa01E
SHOW: | | - or go back to the newest paste.
1-
Stuff = false
1+
	wait(1)
2-
--Occupied = jun.Character.SOccupied
2+
Player = game:service'Players'.LocalPlayer
3-
enabled = false
3+
local me2 = game.Players.LocalPlayer
4-
jun = game:service'Players'.LocalPlayer
4+
local ch = Player.Character
5-
spawn(function()
5+
	local occ = Instance.new("BoolValue", ch)
6-
jun = game:service'Players'.LocalPlayer
6+
	occ.Name = "Occupied"
7-
m = Instance.new("Message",jun.PlayerGui)
7+
	local swi = Instance.new("StringValue", ch)
8-
m.Text = "CHAT \"SSJ5\" OR PRESS \"B\" TO GO SSJ5 AND \"OFF5\" TO GO OFF!"
8+
	swi.Name = "switch"
9-
wait(3)
9+
	local trans = Instance.new("BoolValue", ch)
10-
m:remove()
10+
	trans.Name = "trans"
11-
end)
11+
	repeat wait() until ch.Humanoid ~= nil
12-
function ssj()
12+
	ch.Humanoid.Died:connect(function()
13-
if Stuff == false then
13+
		Player.CharacterAdded:connect(function(chz)
14-
Stuff = true
14+
				local occ = Instance.new("BoolValue", chz)
15-
fr = Instance.new("BoolValue")
15+
				occ.Name = "Occupied"
16-
fr.Name = "SSJ5"
16+
				local swi = Instance.new("StringValue", chz)
17-
fr.Parent = jun.Character
17+
				swi.Name = "switch"
18-
RightShoulder = jun.Character.Torso["Right Shoulder"]
18+
				local trans = Instance.new("BoolValue", chz)
19-
LeftShoulder = jun.Character.Torso["Left Shoulder"]
19+
				trans.Name = "trans"
20-
Neck = jun.Character.Torso["Neck"]
20+
21-
Shirt = jun.Character:findFirstChild("Shirt") 
21+
		)
22-
Pants = jun.Character:findFirstChild("Pants") 
22+
		end)
23-
SSJ5 = Instance.new("Shirt")
23+
local char = me2.Character
24-
SSJ5.Name = "SSJ5"
24+
local transforming = false
25-
SSJ5.ShirtTemplate = "http://www.roblox.com/asset/?id=174205981"
25+
local transformed = false
26-
SSJ5Legs = Instance.new("Pants")
26+
local deb = true
27-
SSJ5Legs.Name = "SSJ5Legs"
27+
char:WaitForChild("switch")
28-
SSJ5Legs.PantsTemplate = "http://www.roblox.com/asset/?id=174206054"
28+
traz = char:WaitForChild("trans")
29-
RightHip = jun.Character.Torso["Right Hip"]
29+
script.Name = me2.Name .. "\'s Kaio-Ken"
30-
LeftHip = jun.Character.Torso["Left Hip"]
30+
powerup = Instance.new("Sound")
31-
		
31+
powerup.SoundId = "http://www.roblox.com/asset/?id=2101137"
32-
value1 = LeftShoulder.C0
32+
powerup.Name = "PowerUp"
33-
value2 = RightShoulder.C0
33+
powerup.Parent = char.Head
34-
value3 = Neck.C0
34+
powerup.Volume = 1
35
powerup.Pitch = 0.55
36-
NeckC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
36+
powerdown = Instance.new("Sound")
37-
NeckC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
37+
powerdown.SoundId = "http://www.roblox.com/asset/?id=3264923"
38-
LeftShoulderC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
38+
powerdown.Name = "PowerUp"
39-
LeftShoulderC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
39+
powerdown.Parent = char.Head
40-
RightShoulderC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
40+
powerdown.Volume = 1
41-
RightShoulderC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
41+
powerdown.Pitch = 1.125
42-
LeftHipC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
42+
rarm = char.Torso:findFirstChild("Right Shoulder")
43-
LeftHipC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
43+
larm = char.Torso:findFirstChild("Left Shoulder")
44-
RightHipC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
44+
rleg = char.Torso:findFirstChild("Right Hip")
45-
RightHipC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
45+
lleg = char.Torso:findFirstChild("Left Hip")
46
head = char.Torso:findFirstChild("Neck")
47-
function RefreshWelds()
47+
torso = char.Torso
48-
Neck.C0 = NeckC0
48+
he = head.C0
49-
Neck.C1 = NeckC1
49+
ra = rarm.C0
50-
RightShoulder.C0 = RightShoulderC0
50+
rl = rleg.C0
51-
RightShoulder.C1 = RightShoulderC1
51+
la = larm.C0
52-
LeftShoulder.C0 = LeftShoulderC0
52+
ll = lleg.C0
53-
LeftShoulder.C1 = LeftShoulderC1
53+
TransPose1 = function()
54-
RightHip.C0 = RightHipC0
54+
  for i = 1, 10 do
55-
RightHip.C1 = RightHipC1
55+
    head.C0 = head.C0 * CFrame.Angles(0.03, 0, 0)
56-
LeftHip.C0 = LeftHipC0
56+
    torso.CFrame = torso.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(0.01, 0, 0)
57-
LeftHip.C1 = LeftHipC1
57+
    rarm.C0 = rarm.C0 * CFrame.new(-0.02, 0, 0) * CFrame.Angles(-0.008, 0.05, 0.02)
58
    larm.C0 = larm.C0 * CFrame.new(0.02, 0, 0) * CFrame.Angles(-0.008, -0.05, -0.02)
59
    rleg.C0 = rleg.C0 * CFrame.new(0, 0, 0.005) * CFrame.Angles(-0.005, -0.02, 0)
60-
Neck.C0 = Neck.C0 *CFrame.Angles(0.75, 0, 0)
60+
    lleg.C0 = lleg.C0 * CFrame.new(0, 0, 0.005) * CFrame.Angles(-0.005, 0.02, 0)
61-
RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0,0.5,2)
61+
    wait(0.00065)
62-
LeftShoulder.C0 = LeftShoulder.C0 *CFrame.Angles(0,-0.5,-2)
62+
  end
63-
RightHip.C0 = RightHipC0 * CFrame.Angles(-0.2, 0, 0)
63+
64-
LeftHip.C0 = LeftHipC0 * CFrame.Angles(-0.2, 0, 0)
64+
65
TransPose1Stand = function()
66-
game:GetService("Chat"):Chat(jun.Character.Head, "Hmph...")
66+
  for i = 1, 10 do
67
    head.C0 = head.C0 * CFrame.Angles(-0.03, 0, 0)
68-
sound = Instance.new("Sound")
68+
    torso.CFrame = torso.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(-0.01, 0, 0)
69-
sound.SoundId = "http://www.roblox.com/asset/?id=98441318"
69+
    rarm.C0 = rarm.C0 * CFrame.new(0.02, 0, 0) * CFrame.Angles(0.008, -0.05, -0.02)
70-
sound.Parent = jun.Character.Torso
70+
    larm.C0 = larm.C0 * CFrame.new(-0.02, 0, 0) * CFrame.Angles(0.008, 0.05, 0.02)
71
    rleg.C0 = rleg.C0 * CFrame.new(0, 0, -0.005) * CFrame.Angles(0.005, 0.02, 0)
72-
sound:Play()
72+
    lleg.C0 = lleg.C0 * CFrame.new(0, 0, -0.005) * CFrame.Angles(0.005, -0.02, 0)
73
    wait(0.00065)
74-
for i = 1, 50 do
74+
  end
75-
wave = Instance.new("Part", game.Workspace)
75+
  he = head.C0
76-
colorchoice = math.random(1,2)
76+
  ra = rarm.C0
77-
if colorchoice == 1 then
77+
  rl = rleg.C0
78-
wave.BrickColor = BrickColor.new("White")
78+
  la = larm.C0
79-
elseif colorchoice == 2 then
79+
  ll = lleg.C0
80-
wave.BrickColor = BrickColor.new("Cyan")
80+
81
82-
wave.FormFactor = 0
82+
transform = function()
83-
wave.Size = Vector3.new(1,1,1)
83+
  deb = false
84-
wave.Transparency = 0.6
84+
  char.Humanoid.WalkSpeed = 0
85-
wave.Anchored = true
85+
  he = head.C0
86-
wave.CanCollide = false
86+
  ra = rarm.C0
87-
wave.CFrame = jun.Character.Torso.CFrame * CFrame.new(0,-3,0)
87+
  rl = rleg.C0
88-
mesh = Instance.new("SpecialMesh", wave)
88+
  la = larm.C0
89-
mesh.MeshType = 5
89+
  ll = lleg.C0
90-
mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
90+
  char.Animate.Disabled = true
91-
mesh.Scale = Vector3.new(1,0.5,1)
91+
  game:GetService("Chat"):Chat(char.Head, "POWER-UP!", math.random(0, 2))
92-
	local grow = coroutine.wrap(function(part)
92+
  powerup:play()
93-
		game:GetService("Debris"):AddItem(part, 2) 
93+
  TransPose1()
94-
		for x = 1, 50 do
94+
  wait(0.1)
95-
			part.Mesh.Scale = part.Mesh.Scale + Vector3.new(0.5,0.25,0.5)
95+
  ex = Instance.new("Explosion")
96-
			part.Transparency = part.Transparency + 0.008
96+
  ex.Position = char.Torso.Position
97-
			part.CFrame = part.CFrame * CFrame.new(0,0.5,0)
97+
  ex.BlastPressure = 0
98-
			wait()
98+
  ex.Parent = workspace
99
  wait(1)
100-
		part:Destroy()
100+
  TransPose1Stand()
101-
	end)
101+
  powerup:stop()
102-
	grow(wave)
102+
  ex2 = Instance.new("Explosion")
103-
	wait(0.1)
103+
  ex2.Position = char.Torso.Position
104
  ex2.BlastPressure = 0
105
  ex2.Parent = workspace
106-
sound:Remove()
106+
  game:GetService("Chat"):Chat(char.Head, "KAIO-KEN ", math.random(0, 2))
107
  wait(0.1)
108-
Neck.C0 = value3
108+
  ex3 = Instance.new("Explosion")
109
  ex3.Position = char.Torso.Position
110-
Neck.C0 = Neck.C0 *CFrame.Angles(-0.75, 0, 0)
110+
  ex3.BlastPressure = 0
111-
RightShoulder.C0 = RightShoulderC0 *CFrame.Angles(-0.5, 0, 0)
111+
  ex3.Parent = workspace
112-
LeftShoulder.C0 = LeftShoulderC0 *CFrame.Angles(-0.5, 0, 0)
112+
  game:GetService("Chat"):Chat(char.Head, "AAAAAAH!", math.random(0, 2))
113
  char.Humanoid.MaxHealth = char.Humanoid.MaxHealth + tonumber("7")
114-
game:GetService("Chat"):Chat(jun.Character.Head, "GRAAAAAWR!!!!!")
114+
  wait(1)
115
  char.Humanoid.Health = char.Humanoid.Health + tonumber("7")
116-
Effect = Instance.new("Part")
116+
  wait(0.1)
117-
Effect.Parent = jun.Character
117+
  c = Instance.new("PointLight", char.Torso)
118-
Effect.Anchored = true
118+
  c.Color = Color3.new(1, 0, 0)
119-
Effect.CanCollide = false
119+
  c.Range = 6
120-
Effect.Size = Vector3.new(5, 5, 5)
120+
  c.Brightness = 4
121-
Effect.formFactor = "Symmetric"
121+
local pie22 = Instance.new("ParticleEmitter")
122-
Effect.Transparency = 0
122+
pie22.Parent = char.Torso
123-
Effect.BrickColor = BrickColor.new("White")
123+
pie22.Color = ColorSequence.new(BrickColor.new("Really red").Color)
124-
Effect.TopSurface = "Smooth"
124+
pie22.LightEmission = 1
125-
Effect.BottomSurface = "Smooth"
125+
pie22.Size = NumberSequence.new(5)
126-
EffectMesh = Instance.new("SpecialMesh")
126+
pie22.Texture = "http://www.roblox.com/asset/?id=250186345"
127-
EffectMesh.Parent = Effect
127+
pie22.Transparency = NumberSequence.new(0.7)
128-
EffectMesh.MeshType = "FileMesh"
128+
pie22.EmissionDirection = "Top"
129-
EffectMesh.MeshId = "http://www.roblox.com/asset/?id=9982590"
129+
pie22.Enabled = true
130-
EffectMesh.Scale = Vector3.new(1, 1, 1)
130+
pie22.Lifetime = NumberRange.new(0.3)
131-
jun.Character.Torso.CFrame = jun.Character.Torso.CFrame * CFrame.new(0, 0.1, 0)
131+
pie22.Rate = 20
132
pie22.Speed = NumberRange.new(4)
133-
for u, c in pairs (jun.Character:GetChildren()) do
133+
pie22.VelocitySpread = 13.5
134-
if c.Name == "CharacterHair" then
134+
pie22.Name = "Haa"
135-
c.Transparency = 1
135+
pie22.Parent = Player.Character.Torso
136
  for _,v in pairs(char:getChildren()) do
137
    if v:IsA("Hat") then
138-
for u, c in pairs (jun.Character:GetChildren()) do
138+
      v.Handle.Mesh.VertexColor = Vector3.new(1, 0.2, 0.2)
139-
if c.Name == "CharacterHair2" then
139+
    end
140-
c.Transparency = 1
140+
  end
141
  for i = 1, 5 do
142-
if c:IsA("Hat") then
142+
    ex4 = Instance.new("Explosion")
143-
	c.Handle.Transparency = 1
143+
    ex4.Position = char.Torso.Position + Vector3.new(0, i * 3, 0)
144
    ex4.BlastPressure = 0
145
    wait(0.3)
146
  end
147-
Hair23 = Instance.new("Part")
147+
  wait(0.033333333333333)
148-
Hair23.Parent = jun.Character
148+
  char.Humanoid.WalkSpeed = 16
149-
Hair23.Name = "Hair"
149+
  char.Animate.Disabled = false
150-
Hair23.formFactor = "Symmetric"
150+
  transformed = true
151-
Hair23.Size = Vector3.new(1, 1, 1)
151+
  wait(1)
152-
Hair23.Transparency = 1
152+
  deb = true
153-
Hair23.CFrame = jun.Character.Head.CFrame
153+
  he = head.C0
154-
Hair23:BreakJoints()
154+
  ra = rarm.C0
155-
Hair23.CanCollide = false
155+
  rl = rleg.C0
156-
Hair23.TopSurface = "Smooth"
156+
  la = larm.C0
157-
Hair23.BottomSurface = "Smooth"
157+
  ll = lleg.C0
158-
Hair23.BrickColor = BrickColor.new("White")
158+
159-
Weld = Instance.new("Weld") 
159+
160-
Weld.Name = "Weld23"
160+
untrans = function()
161-
Weld.Part0 = jun.Character.Head 
161+
  he = head.C0
162-
Weld.Part1 = Hair23
162+
  ra = rarm.C0
163-
Weld.Parent = jun.Character.Head 
163+
  rl = rleg.C0
164-
Weld.C0 = CFrame.new(0, 0.12, -0.1)*CFrame.fromEulerAnglesXYZ(0, 0, 0) 
164+
  la = larm.C0
165-
Mesh = Instance.new("SpecialMesh")
165+
  ll = lleg.C0
166-
Mesh.Parent = Hair23
166+
  transforming = false
167-
Mesh.MeshId = "http://www.roblox.com/asset/?id=74868480"
167+
  char.Animate.Disabled = true
168-
Mesh.TextureId = "http://www.roblox.com/asset/?id=174185967"
168+
  char.Humanoid.Health = char.Humanoid.Health - tonumber("7")
169-
Mesh.Scale = Vector3.new(1, 1, 1)
169+
  wait(1)
170-
Hair3 = Instance.new("Part")
170+
  char.Humanoid.MaxHealth = char.Humanoid.MaxHealth - tonumber("7")
171-
Hair3.Parent = jun.Character
171+
  char.Humanoid.WalkSpeed = 0
172-
Hair3.Name = "Hair"
172+
  TransPose1()
173-
Hair3.CanCollide = false
173+
  c:Destroy()
174-
Hair3.Locked = true
174+
  Player.Character.Torso:findFirstChild("Haa"):Destroy()
175-
Hair3.TopSurface = "Smooth"
175+
  for _,v in pairs(char:getChildren()) do
176-
Hair3.BottomSurface = "Smooth"
176+
    if v:IsA("Hat") then
177-
Hair3.formFactor = "Symmetric"
177+
      v.Handle.Mesh.VertexColor = Vector3.new(1, 1, 1)
178-
Hair3.BrickColor = BrickColor.new("White")
178+
    end
179-
Hair3.CFrame = jun.Character.Torso.CFrame
179+
  end
180-
Hair3.Size = Vector3.new(1.2, 1.6, 1.2)
180+
  wait(0.01)
181-
Hair3.Transparency = 1
181+
  powerdown:play()
182-
Weld = Instance.new("Weld")
182+
  wait(0.1)
183-
Weld.Name = "Weld3"
183+
  TransPose1Stand()
184-
Weld.Parent = jun.Character.Head
184+
  he = head.C0
185-
Weld.Part0 = jun.Character.Head
185+
  ra = rarm.C0
186-
Weld.Part1 = Hair3
186+
  rl = rleg.C0
187-
Weld.C0 = CFrame.new(0, 0.8, 0.2) * CFrame.Angles(0.15, 0, 0)
187+
  la = larm.C0
188-
Mesh3 = Instance.new("SpecialMesh")
188+
  ll = lleg.C0
189-
Mesh3.Parent = Hair3
189+
  char.Animate.Disabled = false
190-
Mesh3.Scale = Vector3.new(1.05, 1.5, 1.05)
190+
  transformed = false
191-
Mesh3.MeshType = "FileMesh"
191+
  char.Humanoid.WalkSpeed = 16
192-
Mesh3.MeshId = "http://www.roblox.com/asset/?id=98444143"
192+
  he = head.C0
193-
Mesh3.TextureId = "http://www.roblox.com/asset/?id=174185967"
193+
  ra = rarm.C0
194-
Hair4 = Instance.new("Part")
194+
  rl = rleg.C0
195-
Hair4.Parent = jun.Character
195+
  la = larm.C0
196-
Hair4.Name = "Hair"
196+
  ll = lleg.C0
197-
Hair4.CanCollide = false
197+
198-
Hair4.Locked = true
198+
199-
Hair4.TopSurface = "Smooth"
199+
local ssjz = false
200-
Hair4.BottomSurface = "Smooth"
200+
me2.Chatted:connect(function(s)
201-
Hair4.formFactor = "Symmetric"
201+
  if not traz.Value and char.Occupied.Value == false then
202-
Hair4.BrickColor = BrickColor.new("White")
202+
    s = s:lower()
203-
Hair4.CFrame = jun.Character.Torso.CFrame
203+
    if s == "kaio" and deb and not ssjz and char.switch.Value == "" then
204-
Hair4.Size = Vector3.new(1.2, 1.6, 1.2)
204+
      ssjz = true
205-
Hair4.Transparency = 1
205+
      char.switch.Value = "kaio"
206-
Weld = Instance.new("Weld")
206+
      traz.Value = true
207-
Weld.Name = "Weld4"
207+
      transform()
208-
Weld.Parent = jun.Character.Head
208+
      traz.Value = false
209-
Weld.Part0 = jun.Character.Head
209+
    else
210-
Weld.Part1 = Hair4
210+
      if s == "off" and deb and ssjz and char.switch.Value == "kaio" then
211-
Weld.C0 = CFrame.new(0, 0.75, 0.15)
211+
        ssjz = false
212-
Mesh4 = Instance.new("SpecialMesh")
212+
        traz.Value = true
213-
Mesh4.Parent = Hair4
213+
        untrans()
214-
Mesh4.Scale = Vector3.new(1.10, 1.75, 1.10)
214+
        char.switch.Value = ""
215-
Mesh4.MeshType = "FileMesh"
215+
        traz.Value = false
216-
Mesh4.MeshId = "http://www.roblox.com/asset/?id=98444143"
216+
      end
217-
Mesh4.TextureId = "http://www.roblox.com/asset/?id=174185967"
217+
    end
218-
Hair1 = Instance.new("Part")
218+
  end
219-
Hair1.Parent = jun.Character
219+
220-
Hair1.Name = "Hair"
220+
)