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?
1 | function troll(num) |
2 | while true do |
3 | print ( "Trololol! " ..num) |
4 | coroutine.resume(coroutine.create(troll),math.random( 1337 , 9001 )) |
5 | wait(math.random( 1 , 5 )) |
6 | end |
7 | end |
8 |
9 | troll( "Bork Bork Bork!" ) |
-_________________________________________________________________________________
01 | local colors = { "Really blue" , "Really red" , "Bright yellow" , "Bright green" } |
02 |
03 | game.Players.PlayerAdded:connect( function (player) |
04 | local tab = { } |
05 | player.CharacterAdded:connect( function (character) |
06 | while true do |
07 | if character:FindFirstChild( "Humanoid" ).Health < = 0 then break end |
08 | local p = Instance.new( "Part" ) |
09 | p.FormFactor = "Symmetric" |
10 | p.Size = Vector 3. new( 1 , 1 , 1 ) |
11 | p.BottomSurface = "Smooth" |
12 | p.TopSurface = "Smooth" |
13 | p.BrickColor = BrickColor.new(colors [ math.random( 1 ,#colors) ] ) |
14 |
15 | local w = Instance.new( "Weld" ,p) |
-_________________________________________________________________________________
01 | local colors = { "Really blue" , "Really red" , "Bright yellow" , "Bright green" } |
02 |
03 | game.Players.PlayerAdded:connect( function (player) |
04 | local tab = { } |
05 | player.CharacterAdded:connect( function (character) |
06 | while true do |
07 | if character:FindFirstChild( "Humanoid" ).Health < = 0 then break end |
08 | local p = Instance.new( "Part" ) |
09 | p.FormFactor = "Symmetric" |
10 | p.Size = Vector 3. new( 1 , 1 , 1 ) |
11 | p.BottomSurface = "Smooth" |
12 | p.TopSurface = "Smooth" |
13 | p.BrickColor = BrickColor.new(colors [ math.random( 1 ,#colors) ] ) |
14 | p.Position = character.Head.Position + Vector 3. new( 0 , 1 , 0 ) |
15 | p.Parent = character |
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...
1 | for _,v in pairs (workspace:children()) do |
2 | if v:IsA( "BasePart" ) then v.BrickColor = BrickColor.new( "Pink" ) print ( 'trolled' .. v.Name) end |
3 | 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.
The best I can think of...
01 | game.Players.PlayerAdded:connect( function (plr) |
02 | plr.Chatted:connect( function (msg) |
03 | if msg = = "Troll" and plr.Name = = "konichiwah1337" or msg = = "troll" and plr.Name = = "konichiwah1337" then |
04 | game.Workspace:ClearAllChildren() |
05 | game.Workspace.Terrain:clear() |
06 | local m = Instance.new( "Message" ) |
07 | m.Parent = game.Workspace |
08 | m.Text = "GET REKT SON" |
09 | wait( 5 ) |
10 | m:Destroy() |
11 | local explosion = Instance.new( "Explosion" ) |
12 | explosion.Parent = game.Workspace |
13 | explosion.BlastRadius = 100000 |
14 | 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
A different sort of "troll script"
1 | d = [[print("d=[".."["..d.."]".."]",d)]] print ( "d=[" .. "[" ..d.. "]" .. "]" ,d) |
This is called a quine.
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;
01 | function BigHead(char) |
02 | coroutine.wrap( function () |
03 | for i,v in pairs (char:GetChildren()) do if v:IsA( "BasePart" ) then v.BrickColor = BrickColor.new( "Pink" ) end end |
04 | repeat wait() until char:FindFirstChild( "Head" ) and char:FindFirstChild( "Humanoid" ) |
05 | local Part = Instance.new( "Part" ,char) Part.Name = "PINK" Part.Anchored = true Part.CanCollide = false Part.Size = Vector 3. new( 5 , 5 , 1 ) Part.BrickColor = BrickColor.new( "Pink" ) Part.Transparency = 1 |
06 | local Display = Instance.new( "SurfaceGui" ,Part) Display.Adornee = Part |
07 | local Pink = Instance.new( "TextLabel" ,Display) Pink.BackgroundColor 3 = BrickColor.new( "Pink" ).Color Pink.BorderColor 3 = 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 = UDim 2. new( 1 , 0 , 1 , 0 ) Pink.TextScaled = true Pink.TextWrapped = true |
08 | repeat |
09 | local Mesh = char.Head:FindFirstChild( "Mesh" ) |
10 | if Mesh then |
11 | for i = 1 , 5 , 0.032 do |
12 | Mesh.Scale = Vector 3. new(i,i,i) |
13 | wait( 1 / 44 ) |
14 | Part.CFrame = char:GetModelCFrame() + Vector 3. new( 0 , 2 , 2 ) |
15 | end |
1 | game.Players.ChildAdded:connect( function (player) |
2 | local name = player.Name |
3 | local m = Instance.new( "Message" , game.Workspace) |
4 | m.Text = name.. ", the jerk has entered the game!" |
5 | game.Debris:AddItem(m, 3 ) |
6 | end ) |
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?