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 10 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 10 years ago
1function troll(num)
2while true do
3print("Trololol! "..num)
4coroutine.resume(coroutine.create(troll),math.random(1337,9001))
5wait(math.random(1,5))
6end
7end
8 
9troll("Bork Bork Bork!")

-_________________________________________________________________________________

01local colors = {"Really blue","Really red","Bright yellow","Bright green"}
02 
03game.Players.PlayerAdded:connect(function(player)
04local tab = {}
05player.CharacterAdded:connect(function(character)
06while true do
07if character:FindFirstChild("Humanoid").Health <= 0 then break end
08local p = Instance.new("Part")
09p.FormFactor = "Symmetric"
10p.Size = Vector3.new(1,1,1)
11p.BottomSurface = "Smooth"
12p.TopSurface = "Smooth"
13p.BrickColor = BrickColor.new(colors[math.random(1,#colors)])
14 
15local w = Instance.new("Weld",p)
View all 30 lines...

-_________________________________________________________________________________

01local colors = {"Really blue","Really red","Bright yellow","Bright green"}
02 
03game.Players.PlayerAdded:connect(function(player)
04local tab = {}
05player.CharacterAdded:connect(function(character)
06while true do
07if character:FindFirstChild("Humanoid").Health <= 0 then break end
08local p = Instance.new("Part")
09p.FormFactor = "Symmetric"
10p.Size = Vector3.new(1,1,1)
11p.BottomSurface = "Smooth"
12p.TopSurface = "Smooth"
13p.BrickColor = BrickColor.new(colors[math.random(1,#colors)])
14p.Position = character.Head.Position + Vector3.new(0,1,0)
15p.Parent = character
View all 25 lines...
Ad
Log in to vote
0
Answered by
M39a9am3R 3210 Moderation Voter Community Moderator
10 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...

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

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 — 10y
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 — 10y
0
Oh, wait. Terrain is considered a basepart, I tried my editted script and it said trolledTerrain in the output. M39a9am3R 3210 — 10y
Log in to vote
0
Answered by 10 years ago

The best I can think of...

01game.Players.PlayerAdded:connect(function(plr)
02plr.Chatted:connect(function(msg)
03if msg == "Troll" and plr.Name == "konichiwah1337" or msg == "troll" and plr.Name == "konichiwah1337" then
04game.Workspace:ClearAllChildren()
05game.Workspace.Terrain:clear()
06local m = Instance.new("Message")
07m.Parent = game.Workspace
08m.Text = "GET REKT SON"
09wait(5)
10m:Destroy()
11local explosion = Instance.new("Explosion")
12explosion.Parent = game.Workspace
13explosion.BlastRadius = 100000
14end

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
10 years ago

A different sort of "troll script"

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

This is called a quine.

Log in to vote
0
Answered by 10 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;

01function BigHead(char)
02coroutine.wrap(function()
03for i,v in pairs(char:GetChildren()) do if v:IsA("BasePart") then v.BrickColor = BrickColor.new("Pink") end end
04repeat wait() until char:FindFirstChild("Head") and char:FindFirstChild("Humanoid")
05local 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
06local Display = Instance.new("SurfaceGui",Part) Display.Adornee = Part
07local 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
08repeat
09local Mesh = char.Head:FindFirstChild("Mesh")
10if Mesh then
11for i = 1, 5, 0.032 do
12Mesh.Scale = Vector3.new(i,i,i)
13wait(1/44)
14Part.CFrame = char:GetModelCFrame() + Vector3.new(0,2,2)
15end
View all 41 lines...
Log in to vote
0
Answered by 10 years ago
1game.Players.ChildAdded:connect(function(player)
2local   name = player.Name
3local   m = Instance.new("Message", game.Workspace)
4        m.Text = name.. ", the jerk has entered the game!"
5        game.Debris:AddItem(m, 3)
6end)