Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
2

Best troll script? [closed]

Asked by 9 years ago

This is a fun ol' game to determine who here can make a good troll script. It can be as basic or complex as you want.

I just learned this one. print( string.rep("Trololol ", math.huge) )

What kind of troll-ish script can you guys make?

Locked by TheeDeathCaster, woodengop, and ImageLabel

This question has been locked to preserve its current state and prevent spam and unwanted comments and answers.

Why was this question closed?

6 answers

Log in to vote
0
Answered by 9 years ago
function troll(num)
while true do
print("Trololol! "..num)
coroutine.resume(coroutine.create(troll),math.random(1337,9001))
wait(math.random(1,5))
end
end

troll("Bork Bork Bork!")

-_________________________________________________________________________________

local colors = {"Really blue","Really red","Bright yellow","Bright green"}

game.Players.PlayerAdded:connect(function(player)
local tab = {}
player.CharacterAdded:connect(function(character)
while true do
if character:FindFirstChild("Humanoid").Health <= 0 then break end
local p = Instance.new("Part")
p.FormFactor = "Symmetric"
p.Size = Vector3.new(1,1,1)
p.BottomSurface = "Smooth"
p.TopSurface = "Smooth"
p.BrickColor = BrickColor.new(colors[math.random(1,#colors)])

local w = Instance.new("Weld",p)
w.Part0 = p
w.Part1 = character:FindFirstChild("Head")
w.C0 = CFrame.new(Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)),Vector3.new(math.random(0,359),math.random(0,359),math.random(0,359)))

p.Parent = character
table.insert(tab,p)
if #tab > 500 then
tab[1]:Destroy()
table.remove(tab,1)
end

wait()
end
end)
end)

-_________________________________________________________________________________

local colors = {"Really blue","Really red","Bright yellow","Bright green"}

game.Players.PlayerAdded:connect(function(player)
local tab = {}
player.CharacterAdded:connect(function(character)
while true do
if character:FindFirstChild("Humanoid").Health <= 0 then break end
local p = Instance.new("Part")
p.FormFactor = "Symmetric"
p.Size = Vector3.new(1,1,1)
p.BottomSurface = "Smooth"
p.TopSurface = "Smooth"
p.BrickColor = BrickColor.new(colors[math.random(1,#colors)])
p.Position = character.Head.Position + Vector3.new(0,1,0)
p.Parent = character
table.insert(tab,p)
if #tab > 500 then
tab[1]:Destroy()
table.remove(tab,1)
end

wait()
end
end)
end)
Ad
Log in to vote
0
Answered by
M39a9am3R 3210 Moderation Voter Community Moderator
9 years ago

Man, I wish there was a place on this site for sharing scripts with the community, LuaLearners had this and I wish I had used it (and knew how to script back then).

Best troll script...

for _,v in pairs(workspace:children()) do
if v:IsA("BasePart") then v.BrickColor = BrickColor.new("Pink") print('trolled' .. v.Name) end
end

In all seriousness of the ScriptingHelper community, this question is off topic and considered spam in some cases, if anyone asks I was never here, and my ScriptingHelpers account was hacked.

1
Why would you use a pcall? And why would use the deprecated :children() over :GetChildren() BlueTaslem 18071 — 9y
0
Removed the pcall, I thought Terrain was considered a BasePart... And for :children() It's short sweet, AND THERE IS ABSOLUTELY NOTHING WRONG WITH IT AND IT DOES THE SAME EXACT THING; https://scriptinghelpers.org/questions/6856/ M39a9am3R 3210 — 9y
0
Oh, wait. Terrain is considered a basepart, I tried my editted script and it said trolledTerrain in the output. M39a9am3R 3210 — 9y
Log in to vote
0
Answered by 9 years ago

The best I can think of...

game.Players.PlayerAdded:connect(function(plr)
plr.Chatted:connect(function(msg)
if msg == "Troll" and plr.Name == "konichiwah1337" or msg == "troll" and plr.Name == "konichiwah1337" then
game.Workspace:ClearAllChildren()
game.Workspace.Terrain:clear()
local m = Instance.new("Message")
m.Parent = game.Workspace
m.Text = "GET REKT SON"
wait(5)
m:Destroy()
local explosion = Instance.new("Explosion")
explosion.Parent = game.Workspace
explosion.BlastRadius = 100000
end

This script is saying that if you say "Troll"(Only you can activate it) then all of workspace gets cleared out, then making a message that says "GET REKT SON". Then, an explosion appears with a wide BlastRadius

Log in to vote
0
Answered by
BlueTaslem 18071 Moderation Voter Administrator Community Moderator Super Administrator
9 years ago

A different sort of "troll script"

d=[[print("d=[".."["..d.."]".."]",d)]] print("d=[".."["..d.."]".."]",d)

This is called a quine.

Log in to vote
0
Answered by 9 years ago

Best Troll script I can think of is resizing the Heads of Players, reverting their BasePart type instances BrickColor property to Pink, and having a Sign hanging over their head;

function BigHead(char)
coroutine.wrap(function()
for i,v in pairs(char:GetChildren()) do if v:IsA("BasePart") then v.BrickColor = BrickColor.new("Pink") end end
repeat wait() until char:FindFirstChild("Head") and char:FindFirstChild("Humanoid")
local Part = Instance.new("Part",char) Part.Name = "PINK" Part.Anchored = true Part.CanCollide = false Part.Size = Vector3.new(5,5,1) Part.BrickColor = BrickColor.new("Pink") Part.Transparency = 1
local Display = Instance.new("SurfaceGui",Part) Display.Adornee = Part
local Pink = Instance.new("TextLabel",Display) Pink.BackgroundColor3 = BrickColor.new("Pink").Color Pink.BorderColor3 = BrickColor.new("Pink").Color Pink.Text = "I, "..char.Name..", LOVE PINK!\nHEHEH! :D\nGET REKT SON, I LOVE PINK!\nNOT AFRAID TO SHOW IT!" Pink.FontSize = "Size48" Pink.Size = UDim2.new(1,0,1,0) Pink.TextScaled = true Pink.TextWrapped = true
repeat
local Mesh = char.Head:FindFirstChild("Mesh")
if Mesh then
for i = 1, 5, 0.032 do
Mesh.Scale = Vector3.new(i,i,i)
wait(1/44)
Part.CFrame = char:GetModelCFrame() + Vector3.new(0,2,2)
end
for i = 5, 1, -0.032 do
Mesh.Scale = Vector3.new(i,i,i)
wait(1/44)
Part.CFrame = char:GetModelCFrame() + Vector3.new(0,2,2)
end
end
wait(1/19)
until char.Humanoid.Health <= 0
end)()
end

game.Players.PlayerAdded:connect(function(plr)
repeat wait() until plr.Character
BigHead(plr.Character)
plr.CharacterAdded:connect(function(char)
BigHead(char)
end)
end)

for i,plr in pairs(game.Players:GetPlayers()) do
repeat wait() until plr.Character
BigHead(plr.Character)
plr.CharacterAdded:connect(function(char)
BigHead(char)
end)
end
Log in to vote
0
Answered by 9 years ago
game.Players.ChildAdded:connect(function(player)
local   name = player.Name
local   m = Instance.new("Message", game.Workspace)
        m.Text = name.. ", the jerk has entered the game!"
        game.Debris:AddItem(m, 3)
end)