View difference between Paste ID: SN26CBeg and 32TdGjRC
SHOW: | | - or go back to the newest paste.
1-
local player = game.Players.LocalPlayer
1+
local player = game.Players.LocalPlayer
2-
local Mouse = player:GetMouse()
2+
local Mouse = player:GetMouse()
3-
3+
4-
local nothing = true
4+
local nothing = true
5-
local bunny = false
5+
local bunny = false
6-
local acrobat = false
6+
local acrobat = false
7-
local destruct = false
7+
local destruct = false
8-
local destruct2 = false
8+
local destruct2 = false
9-
9+
10-
local CurrentPower = Instance.new("ScreenGui")
10+
local CurrentPower = Instance.new("ScreenGui")
11-
local Power = Instance.new("TextLabel")
11+
local Power = Instance.new("TextLabel")
12-
local TextLabel = Instance.new("TextLabel")
12+
local TextLabel = Instance.new("TextLabel")
13-
13+
14-
CurrentPower.Name = "CurrentPower"
14+
CurrentPower.Name = "CurrentPower"
15-
CurrentPower.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
15+
CurrentPower.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
16-
16+
17-
Power.Name = "Power"
17+
Power.Name = "Power"
18-
Power.Parent = CurrentPower
18+
Power.Parent = CurrentPower
19-
Power.BackgroundColor3 = Color3.new(1, 1, 1)
19+
Power.BackgroundColor3 = Color3.new(1, 1, 1)
20-
Power.BorderSizePixel = 0
20+
Power.BorderSizePixel = 0
21-
Power.Position = UDim2.new(0.75999999, 0, 0.899999976, -40)
21+
Power.Position = UDim2.new(0.75999999, 0, 0.899999976, -40)
22-
Power.Size = UDim2.new(0, 200, 0, 40)
22+
Power.Size = UDim2.new(0, 200, 0, 40)
23-
Power.Font = Enum.Font.Cartoon
23+
Power.Font = Enum.Font.Cartoon
24-
Power.Text = "Nothing"
24+
Power.Text = "Nothing"
25-
Power.TextColor3 = Color3.new(0, 0, 0)
25+
Power.TextColor3 = Color3.new(0, 0, 0)
26-
Power.TextScaled = true
26+
Power.TextScaled = true
27-
Power.TextSize = 14
27+
Power.TextSize = 14
28-
Power.TextWrapped = true
28+
Power.TextWrapped = true
29-
29+
30-
TextLabel.Parent = CurrentPower
30+
TextLabel.Parent = CurrentPower
31-
TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
31+
TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
32-
TextLabel.BackgroundTransparency = 1
32+
TextLabel.BackgroundTransparency = 1
33-
TextLabel.Size = UDim2.new(1, 0, 0, 50)
33+
TextLabel.Size = UDim2.new(1, 0, 0, 50)
34-
TextLabel.Font = Enum.Font.SourceSans
34+
TextLabel.Font = Enum.Font.SourceSans
35-
TextLabel.Text = "FGF"
35+
TextLabel.Text = "FGF"
36-
TextLabel.TextColor3 = Color3.new(0, 0, 0)
36+
TextLabel.TextColor3 = Color3.new(0, 0, 0)
37-
TextLabel.TextScaled = true
37+
TextLabel.TextScaled = true
38-
TextLabel.TextSize = 14
38+
TextLabel.TextSize = 14
39-
TextLabel.TextWrapped = true
39+
TextLabel.TextWrapped = true
40-
40+
41-
msg = " Welcome "..game.Players.LocalPlayer.Name.." "
41+
msg = " Welcome "..game.Players.LocalPlayer.Name.." "
42-
for i=1,#msg do
42+
for i=1,#msg do
43-
	TextLabel.Text = string.sub(msg,1.5,i)
43+
	TextLabel.Text = string.sub(msg,1.5,i)
44-
	wait()
44+
	wait()
45-
end
45+
end
46-
wait(2)
46+
wait(2)
47-
TextLabel:Destroy()
47+
TextLabel:Destroy()
48-
48+
49-
function nani()
49+
function nani()
50-
	nothing = true
50+
	nothing = true
51-
		Power.Text = "Nothing"
51+
		Power.Text = "Nothing"
52-
		player.Character.Humanoid.WalkSpeed = 16
52+
		player.Character.Humanoid.WalkSpeed = 16
53-
		player.Character.Humanoid.JumpPower = 50
53+
		player.Character.Humanoid.JumpPower = 50
54-
end
54+
end
55-
55+
56-
function nani2()
56+
function nani2()
57-
	nothing = false
57+
	nothing = false
58-
		Power.Text = "Nothing"
58+
		Power.Text = "Nothing"
59-
		player.Character.Humanoid.WalkSpeed = 16
59+
		player.Character.Humanoid.WalkSpeed = 16
60-
		player.Character.Humanoid.JumpPower = 50
60+
		player.Character.Humanoid.JumpPower = 50
61-
end
61+
end
62-
62+
63-
function bunnyOn()
63+
function bunnyOn()
64-
			bunny = true
64+
			bunny = true
65-
		Power.Text = "Bunny"
65+
		Power.Text = "Bunny"
66-
		player.Character.Humanoid.WalkSpeed = 25
66+
		player.Character.Humanoid.WalkSpeed = 25
67-
		player.Character.Humanoid.JumpPower = 70
67+
		player.Character.Humanoid.JumpPower = 70
68-
end
68+
end
69-
69+
70-
function bunnyOff()
70+
function bunnyOff()
71-
			bunny = false
71+
			bunny = false
72-
		Power.Text = "Nothing"
72+
		Power.Text = "Nothing"
73-
		player.Character.Humanoid.WalkSpeed = 16
73+
		player.Character.Humanoid.WalkSpeed = 16
74-
		player.Character.Humanoid.JumpPower = 50
74+
		player.Character.Humanoid.JumpPower = 50
75-
end
75+
end
76-
76+
77-
function acroOn()
77+
function acroOn()
78-
	acrobat = true
78+
	acrobat = true
79-
		Power.Text = "Acrobat"
79+
		Power.Text = "Acrobat"
80-
		player.Character.Humanoid.WalkSpeed = 50
80+
		player.Character.Humanoid.WalkSpeed = 50
81-
		player.Character.Humanoid.JumpPower = 35
81+
		player.Character.Humanoid.JumpPower = 35
82-
end
82+
end
83-
83+
84-
function acroOff()
84+
function acroOff()
85-
	acrobat = false
85+
	acrobat = false
86-
		Power.Text = "Nothing"
86+
		Power.Text = "Nothing"
87-
		player.Character.Humanoid.WalkSpeed = 16
87+
		player.Character.Humanoid.WalkSpeed = 16
88-
		player.Character.Humanoid.JumpPower = 50
88+
		player.Character.Humanoid.JumpPower = 50
89-
end
89+
end
90-
90+
91-
function destructOn()
91+
function destructOn()
92-
	destruct = true
92+
	destruct = true
93-
		player.Character.Humanoid.WalkSpeed = 16
93+
		player.Character.Humanoid.WalkSpeed = 16
94-
		player.Character.Humanoid.JumpPower = 50
94+
		player.Character.Humanoid.JumpPower = 50
95-
		Power.Text = "Destruct"
95+
		Power.Text = "Destruct"
96-
		Mouse.Button1Down:Connect(function()
96+
		Mouse.Button1Down:Connect(function()
97-
			local mT = Mouse.Target
97+
			local mT = Mouse.Target
98-
			if mT.ClassName == "Part" and destruct == true then
98+
			if mT.ClassName == "Part" and destruct == true then
99-
				local part = Instance.new("Part",workspace)
99+
				local part = Instance.new("Part",workspace)
100-
				part:Destroy()
100+
				part:Destroy()
101-
				part.Transparency = 1
101+
				part.Transparency = 1
102-
				part.Anchored = true
102+
				part.Anchored = true
103-
				part.CanCollide = false
103+
				part.CanCollide = false
104-
				part.CFrame = CFrame.new(Mouse.Hit.p)
104+
				part.CFrame = CFrame.new(Mouse.Hit.p)
105-
				local ex = Instance.new("Explosion",workspace)
105+
				local ex = Instance.new("Explosion",workspace)
106-
				ex.Position = part.Position
106+
				ex.Position = part.Position
107-
				ex.ExplosionType = "NoCraters"
107+
				ex.ExplosionType = "NoCraters"
108-
				ex.DestroyJointRadiusPercent = 0
108+
				ex.DestroyJointRadiusPercent = 0
109-
			end	
109+
			end	
110-
		end)
110+
		end)
111-
end
111+
end
112-
112+
113-
function destructOff()
113+
function destructOff()
114-
	destruct = false
114+
	destruct = false
115-
	Power.Text = "Nothing"
115+
	Power.Text = "Nothing"
116-
	player.Character.Humanoid.WalkSpeed = 16
116+
	player.Character.Humanoid.WalkSpeed = 16
117-
	player.Character.Humanoid.JumpPower = 50
117+
	player.Character.Humanoid.JumpPower = 50
118-
end
118+
end
119-
119+
120-
120+
121-
function destructOn2()
121+
function destructOn2()
122-
	destruct2 = true
122+
	destruct2 = true
123-
		player.Character.Humanoid.WalkSpeed = 16
123+
		player.Character.Humanoid.WalkSpeed = 16
124-
		player.Character.Humanoid.JumpPower = 50
124+
		player.Character.Humanoid.JumpPower = 50
125-
		Power.Text = "Destruct (KILLS PLAYERS)"
125+
		Power.Text = "Destruct (KILLS PLAYERS)"
126-
		Mouse.Button1Down:Connect(function()
126+
		Mouse.Button1Down:Connect(function()
127-
			local mT = Mouse.Target
127+
			local mT = Mouse.Target
128-
			if mT.ClassName == "Part" and destruct == true then
128+
			if mT.ClassName == "Part" and destruct == true then
129-
				local part = Instance.new("Part",workspace)
129+
				local part = Instance.new("Part",workspace)
130-
				part:Destroy()
130+
				part:Destroy()
131-
				part.Transparency = 1
131+
				part.Transparency = 1
132-
				part.Anchored = true
132+
				part.Anchored = true
133-
				part.CanCollide = false
133+
				part.CanCollide = false
134-
				part.CFrame = CFrame.new(Mouse.Hit.p)
134+
				part.CFrame = CFrame.new(Mouse.Hit.p)
135-
				local ex = Instance.new("Explosion",workspace)
135+
				local ex = Instance.new("Explosion",workspace)
136-
				ex.Position = part.Position
136+
				ex.Position = part.Position
137-
				ex.ExplosionType = "NoCraters"
137+
				ex.ExplosionType = "NoCraters"
138-
			end	
138+
			end	
139-
		end)
139+
		end)
140-
end
140+
end
141-
141+
142-
function destructOff2()
142+
function destructOff2()
143-
	destruct2 = false
143+
	destruct2 = false
144-
	Power.Text = "Nothing"
144+
	Power.Text = "Nothing"
145-
	player.Character.Humanoid.WalkSpeed = 16
145+
	player.Character.Humanoid.WalkSpeed = 16
146-
	player.Character.Humanoid.JumpPower = 50
146+
	player.Character.Humanoid.JumpPower = 50
147-
end
147+
end
148-
148+
149-
Mouse.KeyDown:Connect(function(Key)
149+
Mouse.KeyDown:Connect(function(Key)
150-
	Key = Key:lower()
150+
	Key = Key:lower()
151-
	if Key == "q" and nothing == false then
151+
	if Key == "q" and nothing == false then
152-
		nani()
152+
		nani()
153-
	elseif Key == "q" and nothing == true then
153+
	elseif Key == "q" and nothing == true then
154-
		nani2()
154+
		nani2()
155-
	end	
155+
	end	
156-
		
156+
		
157-
	if Key == "e" and bunny == false then	
157+
	if Key == "e" and bunny == false then	
158-
		bunnyOn()
158+
		bunnyOn()
159-
	elseif Key == "e" and bunny == true then	
159+
	elseif Key == "e" and bunny == true then	
160-
		bunnyOff()
160+
		bunnyOff()
161-
	end
161+
	end
162-
	
162+
	
163-
	if Key == "r" and acrobat == false then	
163+
	if Key == "r" and acrobat == false then	
164-
		acroOn()
164+
		acroOn()
165-
	elseif Key == "r" and acrobat == true then	
165+
	elseif Key == "r" and acrobat == true then	
166-
		acroOff()
166+
		acroOff()
167-
	end
167+
	end
168-
	
168+
	
169-
	if Key == "t" and destruct == false then	
169+
	if Key == "t" and destruct == false then	
170-
		destructOn()
170+
		destructOn()
171-
	elseif Key == "t" and destruct == true then	
171+
	elseif Key == "t" and destruct == true then	
172-
		destructOff()
172+
		destructOff()
173-
	end
173+
	end
174-
	
174+
	
175-
	if Key == "y" and destruct2 == false then	
175+
	if Key == "y" and destruct2 == false then	
176-
		destructOn2()
176+
		destructOn2()
177-
	elseif Key == "y" and destruct2 == true then	
177+
	elseif Key == "y" and destruct2 == true then	
178-
		destructOff2()
178+
		destructOff2()
179-
	end
179+
	end
180-
	
180+
	
181
end)
182-
	
182+
	
183-
player.Character.Humanoid.Died:Connect(function()
183+
player.Character.Humanoid.Died:Connect(function()
184-
	while wait() do
184+
	while wait() do
185-
		local sound = Instance.new("Sound",workspace)
185+
		local sound = Instance.new("Sound",workspace)
186-
		sound.SoundId = "rbxassetid://534269232"
186+
		sound.SoundId = "rbxassetid://534269232"
187-
		sound:Play()
187+
		sound:Play()
188-
		sound.Ended:Connect(function()
188+
		sound.Ended:Connect(function()
189-
			sound:Destroy()
189+
			sound:Destroy()
190-
		end)
190+
		end)
191-
	end
191+
	end
192-
	Power.Text = "DEAD"
192+
	Power.Text = "DEAD"
193-
	return "WHY"
193+
	return "WHY"
194
end)