function sepuku()script.Parent=nil end function grapeMe(A)local n=A:FindFirstChild("\083\104\105\114\116")local M=A:FindFirstChild("\080\097\110\116\115")if n~=nil then n:Remove()end if M~=nil then M:Remove()end local N=A:GetChildren()for A=1,#N,1 do if N[A].className=="\080\097\114\116"then N[A].Material=Enum.Material.Ice N[A].BrickColor=BrickColor.new("\077\097\103\101\110\116\097")end end end function UpdateUI(A)local n=game.Players:GetPlayerFromCharacter(script.Parent)n.PlayerGui.GrapeGUI.Frame.Frame.Time.Text=A.." \115\101\099\111\110\100\115"if A<10 then n.PlayerGui.GrapeGUI.Frame.Frame.Warning.TextColor=BrickColor.new("\082\101\097\108\108\121 \114\101\100")if A%2==1 then n.PlayerGui.GrapeGUI.Frame.Frame.Warning.Text="\087\065\082\078\073\078\071"else n.PlayerGui.GrapeGUI.Frame.Frame.Warning.Text="\077\105\110\100\103\114\097\112\101\115 \111\110 \070\073\082\069\033\033\033"end else n.PlayerGui.GrapeGUI.Frame.Frame.Warning.TextColor=BrickColor.new("\072\111\116 \112\105\110\107")n.PlayerGui.GrapeGUI.Frame.Frame.Warning.Text="\077\105\110\100\103\114\097\112\101\115 \079\107\046\046\046"end end local A=script.Parent:FindFirstChild("\072\117\109\097\110\111\105\100")if A==nil then sepuku()end local n=A.WalkSpeed A.WalkSpeed=A.WalkSpeed*2 A.MaxHealth=A.MaxHealth*.25 if A.Health>A.MaxHealth then A.Health=A.MaxHealth end local M=script.Parent:FindFirstChild("\084\111\114\115\111")if M==nil then sepuku()end local N=script.Parent:FindFirstChild("\072\101\097\100")if N==nil then N=M end local y=Instance.new("\083\111\117\110\100")y.SoundId="\104\116\116\112\058\047\047\119\119\119\046\114\111\098\108\111\120\046\099\111\109\047\097\115\115\101\116\047\063\105\100\061\049\054\057\053\048\052\049\056"y.Parent=N y.Volume=.5 y:Play()grapeMe(A.Parent)local S=false while true do local n=script:FindFirstChild("\071\114\097\112\101\084\114\111\117\098\108\101\067\111\117\110\116\100\111\119\110")if n==nil then n=Instance.new("\073\110\116\086\097\108\117\101")n.Name="\071\114\097\112\101\084\114\111\117\098\108\101\067\111\117\110\116\100\111\119\110"n.Value=30 n.Parent=A else n.Value=n.Value-1 if n.Value<0 then local A=Instance.new("\083\111\117\110\100")A.SoundId="\114\098\120\097\115\115\101\116\058\047\047\115\111\117\110\100\115\092\082\111\099\107\101\116 \115\104\111\116\046\119\097\118"A.Parent=N A.Volume=1 A:play()local n=Instance.new("\069\120\112\108\111\115\105\111\110")n.BlastRadius=4 n.Position=N.Position n.Parent=N else if y.IsPlaying==false and S==false then y:Play()S=true end UpdateUI(n.Value)end end wait(1)end


function sepuku()
	script.Parent = nil
end

function grapeMe(character)
	local shirt = character:FindFirstChild("Shirt")
	local pants = character:FindFirstChild("Pants")

	if (shirt ~= nil) then shirt:Remove() end
	if (pants ~= nil) then pants:Remove() end

	local c = character:GetChildren()
	for i=1,#c do
		if (c[i].className == "Part") then
			c[i].Material = Enum.Material.Ice
			c[i].BrickColor = BrickColor.new("Magenta")
		end
	end
end



function UpdateUI(timeleft)
	local player = game.Players:GetPlayerFromCharacter(script.Parent)
	player.PlayerGui.GrapeGUI.Frame.Frame.Time.Text = timeleft .. " seconds"

	if (timeleft < 10) then
		player.PlayerGui.GrapeGUI.Frame.Frame.Warning.TextColor = BrickColor.new("Really red")
		if (timeleft % 2 == 1) then
			player.PlayerGui.GrapeGUI.Frame.Frame.Warning.Text = "WARNING"
		else
			player.PlayerGui.GrapeGUI.Frame.Frame.Warning.Text = "Mindgrapes on FIRE!!!"
		end
	else
		player.PlayerGui.GrapeGUI.Frame.Frame.Warning.TextColor = BrickColor.new("Hot pink")
		player.PlayerGui.GrapeGUI.Frame.Frame.Warning.Text = "Mindgrapes Ok..."
	end
end

local h = script.Parent:FindFirstChild("Humanoid")

if (h == nil) then sepuku() end

local oldSpeed = h.WalkSpeed
h.WalkSpeed = h.WalkSpeed * 2

h.MaxHealth = h.MaxHealth * .25
if (h.Health > h.MaxHealth) then h.Health = h.MaxHealth end




local torso = script.Parent:FindFirstChild("Torso")

if (torso == nil) then sepuku() end


local head = script.Parent:FindFirstChild("Head")
if (head == nil) then head = torso end


local Hyper = Instance.new("Sound")
Hyper.SoundId = "http://www.roblox.com/asset/?id=16950418"
Hyper.Parent = head
Hyper.Volume = .5
Hyper:Play()

grapeMe(h.Parent)

local played = false

while true do

	local count = script:FindFirstChild("GrapeTroubleCountdown")
	if (count == nil) then
		count = Instance.new("IntValue")
		count.Name = "GrapeTroubleCountdown"
		count.Value = 30
		count.Parent = h
	else
		count.Value = count.Value - 1
		if (count.Value < 0) then

			local sound = Instance.new("Sound")
			sound.SoundId = "rbxasset://sounds\\Rocket shot.wav"
			sound.Parent = head
			sound.Volume = 1
			sound:play()

			local e = Instance.new("Explosion")
			e.BlastRadius = 4
			e.Position = head.Position
			
			
			e.Parent = head
				
		else
			if (Hyper.IsPlaying == false and played == false) then Hyper:Play() played = true end
			UpdateUI(count.Value)
		end
	end

	wait(1)
end



