Advertisement
Xector666X

Untitled

Jan 14th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.94 KB | None | 0 0
  1. -----------//KRYSTAL DANCE V2\\-----------
  2. --[[Movelist
  3. Q = The Swoosher
  4. E = The nutty
  5. R = Spin me right round!
  6. T = Plum juice dance
  7. Y = Moonwalk
  8. U = Slav dance
  9. P = Barrel roll
  10. F = The Jerky
  11. G = The Shuffle
  12. H = The Spongebob
  13. J = Here comes the money!
  14. K = Runnin' in the 90's
  15. ---------]]
  16.  
  17. --Alright so before i start rambling on about absolute nonsense, please subscribe to Pewdiepie on youtube! Help him defeat T-Series!--
  18. --Also subscribe to Vengefulprogram--
  19. --Krystal dance! The old famous script that sadly has been broken(sorta), i've decided to rework this thing because... nostalgia.--
  20. --This is one of the first scripts i've ever ran on SB, seeing this back again really reminds me of how much of a noob i was.--
  21. --Credits to Krystalteam, they made the original krystal dance! Be sure to respect them or else...--
  22. --#makeoldscriptsgreatagain--
  23.  
  24. if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");InternalData = {}
  25. do
  26. script.Parent = owner.Character
  27. local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
  28. local function NewFakeEvent()
  29. local Bind = Instance.new("BindableEvent")
  30. local Fake;Fake = {Connections = {},
  31. fakeEvent=true;
  32. Connect=function(self,Func)
  33. Bind.Event:connect(Func)
  34. self.Connections[Bind] = true
  35. return setmetatable({Connected = true},{
  36. __index = function (self,Index)
  37. if Index:lower() == "disconnect" then
  38. return function() Fake.Connections[Bind] = false;self.Connected = false end
  39. end
  40. return Fake[Index]
  41. end;
  42. __tostring = function() return "Connection" end;
  43. })
  44. end}
  45. Fake.connect = Fake.Connect;return Fake;
  46. end
  47. local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  48. local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  49. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  50. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  51. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  52. local function TriggerEvent(self,Event,...)
  53. local Trigger = Mouse[Event]
  54. if Trigger and Trigger.fakeEvent and Trigger.Connections then
  55. for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
  56. end
  57. end
  58. Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
  59. Event.OnServerEvent:Connect(function(FiredBy,Input)
  60. if FiredBy.Name ~= owner.Name then return end
  61. if Input.MouseEvent then
  62. Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  63. else
  64. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  65. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
  66. for _,Action in pairs(ContextActionService.Actions) do
  67. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  68. end
  69. Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  70. UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  71. end
  72. end)
  73. InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  74. Event.Parent = NLS([[
  75. local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
  76. local Input = function(Input,gameProcessedEvent)
  77. if gameProcessedEvent then return end
  78. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  79. end
  80. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  81. local Hit,Target
  82. while wait(1/30) do
  83. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  84. Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  85. end
  86. end
  87. ]],owner.Character)
  88. end
  89. RealGame = game;game = setmetatable({},{
  90. __index = function (self,Index)
  91. local Sandbox = function (Thing)
  92. if Thing:IsA("Player") then
  93. local RealPlayer = Thing
  94. return setmetatable({},{
  95. __index = function (self,Index)
  96. local Type = type(RealPlayer[Index])
  97. if Type == "function" then
  98. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  99. return function (self)return InternalData["Mouse"] end
  100. end
  101. return function (self,...)return RealPlayer[Index](RealPlayer,...) end
  102. end
  103. return RealPlayer[Index]
  104. end;
  105. __tostring = function(self) return RealPlayer.Name end
  106. })
  107. end
  108. end
  109. if RealGame[Index] then
  110. local Type = type(RealGame[Index])
  111. if Type == "function" then
  112. if Index:lower() == "getservice" or Index:lower() == "service" then
  113. return function (self,Service)
  114. local FakeServices = {
  115. ["players"] = function()
  116. return setmetatable({},{
  117. __index = function (self2,Index2)
  118. local RealService = RealGame:GetService(Service)
  119. local Type2 = type(Index2)
  120. if Type2 == "function" then
  121. return function (self,...) return RealService[Index2](RealService,...)end
  122. else
  123. if Index2:lower() == "localplayer" then return Sandbox(owner) end
  124. return RealService[Index2]
  125. end
  126. end;
  127. __tostring = function(self) return RealGame:GetService(Service).Name end
  128. })
  129. end;
  130. ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  131. ["userinputservice"] = function() return InternalData["UserInputService"] end;
  132. ["runservice"] = function()
  133. return setmetatable({},{
  134. __index = function(self2,Index2)
  135. local RealService = RealGame:GetService(Service)
  136. local Type2 = type(Index2)
  137. if Type2 == "function" then
  138. return function (self,...) return RealService[Index2](RealService,...) end
  139. else
  140. local RunServices = {
  141. ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  142. ["renderstepped"] = function() return RealService["Stepped"] end
  143. }
  144. if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  145. return RealService[Index2]
  146. end
  147. end
  148. })
  149. end
  150. }
  151. if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  152. return RealGame:GetService(Service)
  153. end
  154. end
  155. return function (self,...) return RealGame[Index](RealGame,...) end
  156. else
  157. if game:GetService(Index) then return game:GetService(Index) end
  158. return RealGame[Index]
  159. end
  160. end
  161. return nil
  162. end
  163. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
  164.  
  165. ----i didn't made the arrest em original script i just add the avatar.
  166. Character = game.Players.LocalPlayer.Character
  167. Player = game.Players.LocalPlayer
  168. char = Character
  169. hum = Character.Humanoid
  170. Torso = Character.Torso
  171. Head = Character.Head
  172.  
  173. char.Shirt.ShirtTemplate = "rbxassetid://1073211165"
  174. char.Pants.PantsTemplate = "rbxassetid://997496591"
  175.  
  176.  
  177. local BC = char["Body Colors"]
  178. BC.HeadColor = BrickColor.new("Pastel brown")
  179. BC.LeftArmColor = BrickColor.new("Pastel brown")
  180. BC.LeftLegColor = BrickColor.new("Pastel brown")
  181. BC.RightArmColor = BrickColor.new("Pastel brown")
  182. BC.RightLegColor = BrickColor.new("Pastel brown")
  183. BC.TorsoColor = BrickColor.new("Pastel brown")
  184.  
  185. char.Head.face.Texture = "rbxassetid://42070872"
  186.  
  187. hum.MaxHealth = math.huge
  188.  
  189.  
  190.  
  191.  
  192. for i,v in pairs(char:children()) do
  193. if v:IsA("Hat") then
  194. v:Destroy()
  195. end
  196. end
  197. for i,v in pairs(char:children()) do
  198. if v:IsA("Accessory") then
  199. v:Destroy()
  200. end
  201. end
  202. for i,v in pairs(char:children()) do
  203. if v:IsA("Hair") then
  204. v:Destroy()
  205. end
  206. end
  207. --141378828
  208. Reaper = Instance.new("Model")
  209. Reaper.Parent = Player.Character
  210. Reaper.Name = "Reaper"
  211. rh = Instance.new("Part")
  212. rh.Parent = Reaper
  213. rh.BrickColor = BrickColor.new("Really red")
  214. rh.Locked = true
  215. rh.CanCollide = false
  216. mesh = Instance.new("SpecialMesh")
  217. rh.formFactor = "Symmetric"
  218. mesh.MeshType = "FileMesh"
  219. mesh.MeshId = "http://www.roblox.com/asset/?id=1028788"
  220. mesh.TextureId = "http://www.roblox.com/asset/?id=1081380"
  221. mesh.Parent = rh
  222. local weld = Instance.new("Weld")
  223. weld.Parent = rh
  224. rh.Transparency = 0
  225. weld.Part0 = rh
  226. weld.Part1 = Player.Character.Head
  227. weld.C0 = weld.C0 * CFrame.new(0,-0.70,0.10)
  228.  
  229. local s = Instance.new("Sound",char)
  230. s.SoundId = "http://www.roblox.com/asset/?id=458157165"
  231. s.Pitch = 1
  232. s.Volume = 2
  233. s.Looped = true
  234. wait(1)
  235. s:play()
  236.  
  237.  
  238. function sandbox(var,func)
  239. local env = getfenv(func)
  240. local newenv = setmetatable({},{
  241. __index = function(self,k)
  242. if k=="script" then
  243. return var
  244. else
  245. return env[k]
  246. end
  247. end,
  248. })
  249. setfenv(func,newenv)
  250. return func
  251. end
  252. cors = {}
  253. mas = Instance.new("Model",game:GetService("Lighting"))
  254. Tool0 = Instance.new("Tool")
  255. Part1 = Instance.new("Part")
  256. SpecialMesh2 = Instance.new("SpecialMesh")
  257. Script3 = Instance.new("Script")
  258. Tool0.Name = "Arrest"
  259. Tool0.Parent = mas
  260. Tool0.GripForward = Vector3.new(-0.77155745, 0.462976098, 0.43629396)
  261. Tool0.GripPos = Vector3.new(0.899999976, 0.5, 0.400000006)
  262. Tool0.GripRight = Vector3.new(0.632408082, 0.63257581, 0.447110623)
  263. Tool0.GripUp = Vector3.new(0.0689874813, -0.620887339, 0.780858338)
  264. Tool0.ToolTip = "Take those skids to gulag!"
  265. Tool0.CanBeDropped = false
  266. Part1.Name = "Handle"
  267. Part1.Parent = Tool0
  268. Part1.FormFactor = Enum.FormFactor.Custom
  269. Part1.Size = Vector3.new(2, 2, 2)
  270. Part1.CFrame = CFrame.new(1.70000003e-05, 1.00001395, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  271. Part1.Position = Vector3.new(1.70000003e-05, 1.00001395, 0)
  272. SpecialMesh2.Parent = Part1
  273. SpecialMesh2.MeshId = "http://www.roblox.com/asset/?id=88046657"
  274. SpecialMesh2.Scale = Vector3.new(2, 2, 2)
  275. SpecialMesh2.TextureId = "http://www.roblox.com/asset/?id=88046679"
  276. SpecialMesh2.MeshType = Enum.MeshType.FileMesh
  277. SpecialMesh2.Scale = Vector3.new(2, 2, 2)
  278. Script3.Parent = Part1
  279. debounce = false
  280.  
  281. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 50
  282.  
  283. table.insert(cors,sandbox(Script3,function()
  284. function arrest(hit)
  285. if hit.Parent ~= nil and hit.Parent:FindFirstChild("Head") ~= nil and hit.Parent.Name ~= game.Players.LocalPlayer.Name and debounce ~= true and hit.Parent.Head:FindFirstChild("ArrestedGui") == nil then
  286. debounce = true
  287. num = math.random(1,99)
  288. local message = Instance.new("Hint",workspace)
  289. message.Text = hit.Parent.Name.." Has been arrested by "..game.Players.LocalPlayer.Name.."! He or she has to spend "..num.." years in jail!"
  290. --hit.Parent:Destroy()
  291.  
  292. hit.Parent.Humanoid.MaxHealth = math.huge
  293. print("Godded!")
  294. a = Instance.new("ForceField", hit.Parent)
  295. a.Visible = false
  296. print("FFed!")
  297.  
  298. local SOUND = Instance.new("Sound", script.Parent)
  299. SOUND.SoundId = "rbxassetid://460919688"
  300. SOUND.Volume = 10
  301. SOUND:Play()
  302. BillboardGui0 = Instance.new("BillboardGui")
  303. TextLabel1 = Instance.new("TextLabel")
  304. BillboardGui0.Name = "ArrestedGui"
  305. BillboardGui0.Parent = hit.Parent.Head
  306. BillboardGui0.Size = UDim2.new(10, 0, 2, 0)
  307. BillboardGui0.StudsOffset = Vector3.new(0, 3, 0)
  308. TextLabel1.Name = "Text"
  309. TextLabel1.Parent = BillboardGui0
  310. TextLabel1.Transparency = 1
  311. TextLabel1.Size = UDim2.new(1, 0, 1, 0)
  312. TextLabel1.Text = hit.Parent.Name.."| Arrested | "..num.. " Years until release"
  313. TextLabel1.BackgroundColor3 = Color3.new(1, 1, 1)
  314. TextLabel1.BackgroundTransparency = 1
  315. TextLabel1.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  316. TextLabel1.Font = Enum.Font.ArialBold
  317. TextLabel1.FontSize = Enum.FontSize.Size48
  318. TextLabel1.TextColor3 = Color3.new(1, 1, 1)
  319. TextLabel1.TextScaled = true
  320. TextLabel1.TextStrokeTransparency = 0
  321. TextLabel1.TextWrapped = true
  322. TextLabel1.TextYAlignment = Enum.TextYAlignment.Top
  323. game:GetService("Debris"):AddItem(SOUND,5)
  324. game:GetService("Debris"):AddItem(message,5)
  325. hit.Parent.Humanoid:Destroy()
  326. --jailtime(hit.Parent)
  327. wait(3)
  328. debounce = false
  329. end
  330.  
  331. end
  332.  
  333.  
  334. function jailtime(char)
  335. for i = num, 0, -1 do
  336. wait(1)
  337. TextLabel1.Text = char.Name.."| Arrested | "..i.. " Years until release"
  338. end
  339.  
  340. char.Humanoid.MaxHealth = 100
  341. print("Godded!")
  342. char.ForceField:Destroy()
  343. print("UNFFed!")
  344.  
  345. char.Humanoid.PlatformStand = false
  346.  
  347. BillboardGui0:Destroy()
  348. end
  349.  
  350. script.Parent.Touched:connect(arrest)
  351. end))
  352. for i,v in pairs(mas:GetChildren()) do
  353. v.Parent = game:GetService("Players").LocalPlayer.Backpack
  354. pcall(function() v:MakeJoints() end)
  355. end
  356. mas:Destroy()
  357. for i,v in pairs(cors) do
  358. spawn(function()
  359. pcall(v)
  360. end)
  361. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement