View difference between Paste ID: 8swGQAQ8 and Gky94qtm
SHOW: | | - or go back to the newest paste.
1
--hi
2
3-
local player = game.Players.LocalPlayer -- Addressing the Player
3+
4-
local char = player.Character --Addressing the player character
4+
local Dummy = game.Workspace:FindFirstChild("Default Dummy")
5-
local message = "..." -- What you want to active the transformation
5+
6-
 
6+
	error("U cant be gost m8")
7-
player.Chatted:Connect(function(msg)
7+
8-
    if msg == message then
8+
9-
    local part = Instance.new("Part",workspace) --Making a part and parenting to the workspace
9+
10-
    part.Material = Enum.Material.Neon --Material of the part. Note that if you do "Neon" it won't work due to invalid syntax
10+
11-
    part.Position = char.Torso.Position
11+
12-
    part.CanCollide = false --So It won't floop your roblox character
12+
13-
    part.Anchored = true --So it won't follow on the floor
13+
14-
    part.Shape = "Ball" --The Shape of the part which is going to grow
14+
15-
    for i = 1,1000 do --How long to do the transformation
15+
16-
    part.BrickColor = BrickColor.Random() ---Making it different colors to make it look nicer
16+
17-
    part.Size = part.Size + Vector3.new(.5,.5,.5) --Grows by Vector3
17+
18-
    part.Transparency = part.Transparency + .005
18+
if Humanoid == nil then error("404: Gost not found") return end
19-
    wait(.05)
19+
20-
    end
20+
21-
    local function superab()
21+
22-
    char.Humanoid.WalkSpeed = 0
22+
23-
    char.Humanoid.JumpPower = 0
23+
24-
    end
24+
25-
superab()
25+
26
Humanoid.Health = math.huge
27-
end)
27+
Humanoid.WalkSpeed = 80
28
Humanoid.Name = "Zombie"
29
local Billboard = Instance.new("BillboardGui", Dummy)
30-
local Dummy = game.Workspace:FindFirstChild("IceTea_Bottle")
30+
31
Billboard.Size = UDim2.new(7.5, 0, 7.5, 0)
32-
	error("U cant be s4n1c m8")
32+
33
SanicImg.Size = UDim2.new(1, 0, 1, 0)
34
SanicImg.BackgroundTransparency = 10
35
SanicImg.Image = "http://www.roblox.com/asset/?id=190812414"
36
local Music = Instance.new("Sound", Dummy.Head)
37
Music.SoundId = "http://www.roblox.com/asset/?id=143545724"
38
Music.Looped = true
39
Music.Volume = 0
40
Music:Play()
41
42
for i = 1,1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 do
43
Music.Volume = math.random(0,9999999)
44-
if Humanoid == nil then error("404: S4n1c not found") return end
44+
45
	if part.Parent ~= nil then
46
		local h = part.Parent:findFirstChild("Humanoid")
47
		if h ~= nil then
48
			local has_health = h.Health > 0
49
			h:TakeDamage(h.MaxHealth + 10)
50
            h.Parent:Remove()
51
		end
52
	end
53-
Humanoid.WalkSpeed = 70
53+
54
Dummy["Left Arm"].Touched:connect(onTouchedDeath)
55
Dummy["Right Arm"].Touched:connect(onTouchedDeath)
56
Dummy["Torso"].Touched:connect(onTouchedDeath)
57
Dummy["Head"].Touched:connect(onTouchedDeath)
58
local larm = script.Parent:FindFirstChild("Left Arm")
59
local rarm = script.Parent:FindFirstChild("Right Arm")
60
local torso = script.Parent:FindFirstChild("Torso")
61
local neck = script.Parent:FindFirstChild("Head")
62
function findNearestTorso(pos)
63
	local list = game.Workspace:children()
64
	local torso = nil
65-
Music.Volume = 1
65+
	local dist = 40
66
	local temp = nil
67
	local human = nil
68
	local temp2 = nil
69
	for x = 1, #list do
70
		temp2 = list[x]
71
		if (temp2.className == "Model") and (temp2 ~= script.Parent) then
72
			temp = temp2:findFirstChild("Right Arm")
73
			human = temp2:findFirstChild("Humanoid")
74
			if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
75
				if (temp.Position - pos).magnitude < dist then
76
					torso = temp
77
					dist = (temp.Position - pos).magnitude
78
				end
79
			end
80
		end
81
	end
82
	return torso
83
end
84
while true do
85
	wait(0.3)
86
	local target = findNearestTorso(Dummy["Torso"].Position)
87
	if target ~= nil then
88-
	local dist = 1000000000000000000000000000000000
88+
89
	end
90
end
91
end