Advertisement
testhk

[ROBLOX] Nyx Scripts

Jan 3rd, 2016
2,567
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.51 KB | None | 0 0
  1. Play sounds:
  2. soundIX=" " -- ID HERE
  3. VARX=math.random(5,500)..math.random(5,500)..math.random(5,500) -- identifier
  4. x=Instance.new("Sound")
  5. x.Name=VARX
  6. x.Parent=game.Workspace
  7. x.SoundId=string.reverse("=di?/tessa/moc.xolbor.www//:ptth")..soundIX
  8. x:Play()
  9. print("Sound Playing: "..VARX)
  10. wait(120)
  11. x:Destroy()
  12.  
  13.  
  14. Super loopkill all!
  15.  
  16. coroutine.resume(coroutine.create(function()
  17. wait'';
  18. for _,v in next, game.Players:getPlayers'' do
  19. if v.Character then --checking if they have character
  20. v.Character.Humanoid.MaxHealth=NaN; --Does NaN work in Nyx? Replace with 0 if it does not!
  21. end;
  22. end;
  23. end));
  24.  
  25.  
  26. Loopkill Player:
  27.  
  28. Loopkill={"PLAYER","PLAYER"}; --insert people
  29. for _,v in next, game.Players:getPlayers'' do
  30. for i,v in pairs (idiots) do
  31. if v.Name==v then
  32. repeat
  33. v.Humanoid.Health=0;
  34. until v == nil
  35. end;
  36. end;
  37. end;
  38.  
  39.  
  40. Selectionbox's for all players:
  41.  
  42. myColor='Really red'; -- You may change this if you understand LUA!
  43. for _,v in next, game.Players:getPlayers'' do
  44. if v.Character then
  45. for a,x in pairs (v) do
  46. if v:IsA("Part") then
  47. asd=Instance.new('SelectionBox', v);
  48. asd.Adornee=v;
  49. asd.Color=BrickColor.new(myColor);
  50. end;
  51. end;
  52. end;
  53.  
  54.  
  55. Remove all players:
  56.  
  57. for _,v in next, game.Players:getPlayers'' do
  58. v:remove''; --:kick'';
  59. end;
  60.  
  61.  
  62. Ruin the server:
  63.  
  64. coroutine.resume(coroutine.create(function()
  65. wait(0.01);
  66. game.Lighting.TimeOfDay=1;
  67. wait(0.01);
  68. game.Lighting.TimeOfDay=99999;
  69. for _,v in next, workspace:getChildren'' do
  70. if v:IsA("BasePart") then --Part
  71. v.Anchored=false;
  72. end;
  73. end;
  74. end));
  75.  
  76.  
  77. Edit head mesh:
  78.  
  79. game.Workspace.YOUR NAME HERE.Head.Mesh.Scale = Vector3.new (0, 0, 0)
  80.  
  81.  
  82. Unanchor all:
  83.  
  84. a = function(instance)
  85. for i,v in pairs(instance:GetChildren()) do
  86. if v.className == "Part" then
  87. v.Anchored = false
  88. end
  89. a(v)
  90. end
  91. end
  92. a(workspace)
  93.  
  94. Cash:
  95.  
  96. game.Players.LocalPlayer.leaderstats.Cash.Value = 7647547
  97.  
  98.  
  99. Selection Box for one player:
  100.  
  101. for i,v in pairs(workspace["USERNAME"]:Getchildren()) do
  102. if v:IsA("Part") then
  103. Instance.new("SelectionBox", v).Adornee = v
  104. end
  105. end
  106.  
  107.  
  108.  
  109. Teleport Player to Player:
  110.  
  111. local plr1 = game.Players["PlayerName"].Character
  112. local plr2 = game.Players["PlayerName"].Character
  113.  
  114. if plr1.Torso.Position ~= plr2.Position then
  115. plr1.Torso.CFrame = CFrame.new(plr2.Position)
  116. end
  117.  
  118.  
  119.  
  120. (You should know cordinates!!!) Teleport Player to Cordinates:
  121.  
  122. local plr1 = game.Players["PlayerName"].Character
  123. local Coordinates = (CoordinatesHere) -- (X,Y,Z)
  124.  
  125. if plr1.Torso.Position ~= plr2.Position then
  126. plr1.Torso.CFrame = CFrame.new(Coordinates)
  127. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement