Josemmoya

Killer child

Jul 16th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.74 KB | None | 0 0
  1. -- This script has been converted to FE by iPxter
  2.  
  3.  
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7. print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  8. script.Parent = Player.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent and t.Function then
  34. t.Function(...)
  35. end
  36. end
  37. m.TrigEvent = te
  38. UIS.TrigEvent = te
  39.  
  40. Event.OnServerEvent:Connect(function(plr,io)
  41. if plr~=Player then return end
  42. if io.isMouse then
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. else
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local UIS = game:GetService("UserInputService")
  66. local input = function(io,a)
  67. if a then return end
  68. --Since InputObject is a client-side instance, we create and pass table instead
  69. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70. end
  71. UIS.InputBegan:Connect(input)
  72. UIS.InputEnded:Connect(input)
  73.  
  74. local Mouse = Player:GetMouse()
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  85. end
  86.  
  87. -- Crying Child Revenge script
  88. -- by Josemmoya
  89. --~Despacito lord#2929
  90. -- why THE HELL DID I MAKE THIS
  91. warn([[
  92. CONTROLS:
  93. e - makes u invisible
  94. r - working on it
  95. ]])
  96. plr = owner
  97. repeat wait() until plr.Character
  98. char = plr.Character
  99.  
  100.  
  101. local music = Instance.new("Sound",char)
  102. music.SoundId = "rbxassetid://316012176"
  103. music.TimePosition = 3
  104. music.Volume = 4
  105. music:Play()
  106. music.Looped = true
  107.  
  108. skin_Color = BrickColor.new("Pastel brown")
  109.  
  110. local Weapon = Instance.new("Model",char)
  111. Weapon.Name = "Knife"
  112. local Part0 = Instance.new("Part",Weapon)
  113. Part0.Name = "Handle"
  114. Part0.Size = Vector3.new(0.37, 0.57, 0.88)
  115. Part0.BrickColor = BrickColor.new("Really black")
  116. Part0.CanCollide = false
  117. Part0.Material = Enum.Material.SmoothPlastic
  118. local Part1 = Instance.new("Part",Weapon)
  119. Part1.Name = "TopKnife"
  120. Part1.BrickColor = BrickColor.new("Really red")
  121. Part1.Material = Enum.Material.Neon
  122. Part1.CanCollide = false
  123. Part1.Size = Vector3.new(0.37, 0.57, 2.07)
  124. local Particle = Instance.new("ParticleEmitter",Part1)
  125. Particle.Lifetime = NumberRange.new(0.3)
  126. Particle.Color = ColorSequence.new(BrickColor.new("Really red").Color)
  127. Particle.LockedToPart = true
  128. Particle.Speed = NumberRange.new(0)
  129. Particle.Rate = math.huge
  130. local Part2 = Instance.new("WedgePart",Weapon)
  131. Part2.Size = Vector3.new(0.36, 0.6, 1.14)
  132. Part2.Material = Enum.Material.Neon
  133. Part2.BrickColor = BrickColor.new("Really red")
  134. Part2.CanCollide = false
  135. Part2.Name = "WedgeForTopKnife"
  136. local weld = Instance.new("Weld",Part0)
  137. weld.Part0 = Part0
  138. weld.Part1 = Part1
  139. weld.C0 = CFrame.new(0, 0, 1.4406805, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  140. local wweld = Instance.new("Weld",Part1)
  141. wweld.Part0 = Part1
  142. wweld.Part1 = Part2
  143. wweld.C0 = CFrame.new(0.00241553783, -0.0223271549, 1.57767344, 1, 0, 0, 0, -0.999996781, -0.0025379993, 0, 0.0025379993, -0.999996781)
  144. local wwweld = Instance.new("Weld",char["Right Arm"])
  145. wwweld.Part0 = char["Right Arm"]
  146. wwweld.Part1 = Part0
  147. wwweld.C0 = CFrame.new(0.0283082724, -1.16673839, -0.0630893707, -0.998895764, 0, -0.0469819903, 0, 0.999999881, 0, 0.0469819903, 0, -0.998895764)
  148. local Part3 = Instance.new("Part",Weapon)
  149. Part3.CanCollide = false
  150. Part3.Size = Vector3.new(0.53, 0.8, 3.25)
  151. Part3.Transparency = 1
  152. Part3.Name = "Hitbox"
  153. local trailattach0 = Instance.new("Attachment",Part3)
  154. trailattach0.Position = Vector3.new(0, -0.311, -0.208)
  155. trailattach0.Orientation = Vector3.new(0, 0, -96.727)
  156. local trailattach1 = Instance.new("Attachment",Part3)
  157. trailattach1.Position = Vector3.new(0.111, -0.352, 1.462)
  158. trailattach1.Orientation = Vector3.new(0, 0, -90.415)
  159. local trail = Instance.new("Trail",Part3)
  160. trail.Name = "WeaponTrail"
  161. trail.Color = ColorSequence.new(BrickColor.new("Really red").Color)
  162. trail.Lifetime = 0.5
  163. trail.Attachment0 = trailattach0
  164. trail.Attachment1 = trailattach1
  165. local wwwweld = Instance.new("Weld",Part0)
  166. wwwweld.Part0 = Part0
  167. wwwweld.Part1 = Part3
  168. wwwweld.C0 = CFrame.new(-0.00386536121, -0.0567215681, 2.06630421, -0.998895764, 0, 0.0469819903, 0, 0.999999762, 0, -0.0469819903, 0, -0.998895764)
  169.  
  170.  
  171.  
  172.  
  173.  
  174. plr:ClearCharacterAppearance()
  175. local pants = Instance.new("Pants",char)
  176. pants.PantsTemplate = "http://www.roblox.com/asset/?id=1188828967"
  177. local Hair = Instance.new("Part",char)
  178. Hair.CanCollide = false
  179. local Hairm = Instance.new("FileMesh",Hair)
  180. Hairm.MeshId = "http://www.roblox.com/asset/?id=250264520"
  181. Hairm.TextureId = "http://www.roblox.com/asset/?id=75975464"
  182. local Hairw = Instance.new("Weld",Hair)
  183. Hairw.Part0 = Hair
  184. Hairw.Part1 = char.Head
  185. Hairw.C0 = CFrame.new(0, -0.200000286, 0, 1, -2.96657507e-08, -8.07689048e-07, 2.96659675e-08, 1, 2.69079379e-07, 8.07689048e-07, -2.69079379e-07, 1)
  186. CanUse = false
  187. issprinting = false
  188. function onKeyDown(Key)
  189. if Key:lower() == "r" then
  190. warn("WIP")
  191. end
  192. end
  193. function Sprint(Key)
  194. if Key == "e" then
  195. char.Humanoid.WalkSpeed = 60
  196. trail.Enabled = false
  197. music:Pause()
  198. issprinting = true
  199. Particle.Transparency = NumberSequence.new(1)
  200. for i = 1,10 do
  201. for i,v in pairs(char:GetChildren()) do
  202. if v.ClassName == "Part" then
  203. v.Transparency = v.Transparency + 1
  204. end
  205. end
  206. Part0.Transparency = Part0.Transparency + 1
  207. Part1.Transparency = Part1.Transparency + 1
  208. Part2.Transparency = Part2.Transparency + 1
  209. Part3.Transparency = Part3.Transparency + 1
  210. wait()
  211. end
  212. end
  213. end
  214. function StopSprinting(Key)
  215. if Key == "e" then
  216. char.Humanoid.WalkSpeed = 16
  217. trail.Enabled = true
  218. music:Resume()
  219. Particle.Transparency = NumberSequence.new(0)
  220. issprinting = false
  221. for i = 1,10 do
  222. for i,v in pairs(char:GetChildren()) do
  223. if v.ClassName == "Part" then
  224. v.Transparency = v.Transparency - 1
  225. end
  226. end
  227. Part0.Transparency = Part0.Transparency - 1
  228. Part1.Transparency = Part1.Transparency - 1
  229. Part2.Transparency = Part2.Transparency - 1
  230. Part3.Transparency = Part3.Transparency - 1
  231. wait()
  232. end
  233. end
  234. end
  235. local naeeym2 = Instance.new("BillboardGui",char)
  236. naeeym2.AlwaysOnTop = true
  237. naeeym2.Size = UDim2.new(5,35,2,35)
  238. naeeym2.StudsOffset = Vector3.new(0,2,0)
  239. naeeym2.Adornee = hed
  240. naeeym2.Name = "Name"
  241.  
  242. local tecks2 = Instance.new("TextLabel",naeeym2)
  243. tecks2.BackgroundTransparency = 1
  244. tecks2.TextScaled = true
  245. tecks2.BorderSizePixel = 0
  246. tecks2.Text = "Crying Child (Murderer)"
  247. tecks2.Font = "Garamond"
  248. tecks2.TextSize = 30
  249. tecks2.TextStrokeTransparency = 0
  250. tecks2.TextColor3 = BrickColor.new('Really red').Color
  251. tecks2.TextStrokeColor3 = BrickColor.new('Really red').Color
  252. tecks2.Size = UDim2.new(1,0,0.5,0)
  253. tecks2.Parent = naeeym2
  254. textfag = tecks2
  255. tecks2.Text = "Crying Child (Murderer)"
  256. function swait(num)
  257. if num == 0 or num == nil then
  258. game:service("RunService").Stepped:wait(0)
  259. else
  260. for i = 0, num do
  261. game:service("RunService").Stepped:wait(0)
  262. end
  263. end
  264. end
  265. coroutine.resume(coroutine.create(function()
  266. while textfag ~= nil do
  267. swait()
  268. textfag.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3))
  269. textfag.Rotation = math.random(-3,3)
  270. end
  271. end))
  272. mouse.KeyDown:connect(Sprint)
  273. mouse.KeyUp:connect(StopSprinting)
  274. canattack = false
  275. local anim = Instance.new("Animation",char.Humanoid)
  276. anim.AnimationId = "rbxassetid://186934658"
  277. local ranim = char.Humanoid:LoadAnimation(anim)
  278. local hit = Instance.new("Sound",char)
  279. hit.SoundId = "rbxassetid://388826051"
  280. hit.Volume = 4
  281. Part3.Touched:connect(function(part)
  282. local human = part.Parent:FindFirstChildOfClass("Humanoid")
  283. if human and human.Parent.Name ~= char.Name and canattack then
  284. human.Health = 0
  285. hit:Play()
  286. end
  287. end)
  288. local sound = Instance.new("Sound",char)
  289. sound.SoundId = "rbxassetid://357417055"
  290. sound.Volume = 4
  291. function ATTACK()
  292. ranim:Play()
  293. sound:Play()
  294. canattack = true
  295. wait(.6)
  296. canattack = false
  297. end
  298. mouse.Button1Down:connect(ATTACK)
  299. while true do
  300. wait()
  301. if music.Parent == nil then
  302. music.Parent = char
  303. end
  304. for i,v in pairs(char:GetChildren()) do
  305. if v.ClassName == "Part" then
  306. v.BrickColor = skin_Color
  307. end
  308. end
  309. canglitch = math.random(1,15)
  310. if canglitch == 1 and issprinting then
  311. char.Head.face.Texture = "rbxassetid://422627909"
  312. tecks2.Text = "Crying Child (Murderer)"
  313. elseif canglitch == 2 and not issprinting then
  314. char.Head.face.Texture = "rbxassetid://435233416"
  315. namemath = math.random(1,5)
  316. if namemath == 1 then
  317. tecks2.Text = "HAHAHA"
  318. end
  319. if namemath == 2 then
  320. tecks2.Text = "COME TO ME"
  321. end
  322. if namemath == 3 then
  323. tecks2.Text = "LETS PLAY BROTHER HAHAHAHAHA"
  324. end
  325. if namemath == 4 then
  326. tecks2.Text = "DIE"
  327. end
  328. if namemath == 5 then
  329. tecks2.Text = "C͍̳̼̹̬͍̺̖͓̜̜̤̜͍͇͇͎̘̾ͧ̈͑ͦ̅ͫ̈́ͮͥͩͯͮ̕͢͠ͅr̛ͪͧͪ͆̂̎ͦ̽ͣ̽̂̃̔ͣͨ̾͌ͤ͢͠҉̜̝̬͔͕̹͔̕y̡̱͉̮̞̝̗̟̤̭ͯͪ̈́͗̇̏͌ͭ͌̅̌̄̀̚̚ḯ̵̛̭͕͖͎̙̩̇͛̈́͆ͧ̂̈̈͋̾̕͡n̶̿̊̄̏̌͂̋̿ͩͩ̏̊̈́̉̂ͭ̂̚͏̼̖̗͚̻̱̙̺͍͉̮̼͓g̦̹͈̫͔̗̘̥̯̤̳̮͇̖̥̥̱̠͊̇́͡͝ ̶̸̧͕̘̫̲̪̰̠̺̜͓̤̤ͫ̍̈ͬ̒ͤ͐ͮ̿̾̂ͫ̓͐ͦ̇ͦC̛͖͓͇̺͈̺͇̭̻͔̺̓̑͒̋͋̆͋͐ͩͬ̃͂͂͛ͬͫ͒͞͞ͅh̎ͪ̏̽́ͨ̀̚͘̕͏̷̙̫̬̠̣i̶̻̳͕̜̭͔ͫ̑͗̉͊͘͝͝l̷͊̀͐ͣͦ̽ͪ͂͊ͭͯ̋̅ͯ̄̈̀̚͏̵̴҉̰͖̩̹̱̮̬̜ͅdͯͤ͊̉ͬ͗ͪ͏̢͇͔̩̜͕̞̻̱̖̯̼̰͉̗̱̗͜ ̡̒͒̈́̓҉̦̯̱̪̳̯̦̹̤͘ͅ(̆͊̋ͣ́͐ͬͫ̇́ͨͩ̓̍̒̆ͯ̚̚͢͏̜̫͚̼M̵̴̨ͪ͆̋ͩͭ͆͗͘҉̲̦̞̬̞̮͇̼̟͚̪̫̝u͋ͫͤͪ͛̓͋̇̔̈́̌̋̔̎̂̽̾̉͏̗̥̰̠̟̳͎͉͖̞̙̮̰̜̰͘͢͠͝ͅṟ̸̶̵͈̞̫͙̝͖͎̣̙͕̠̥̦̤̜̗̱̊̋͊̏͒̓ͥ̔͋̃ͭ͒̃ͧͩ̏͛́̚͟ḑ̧̫̥͇̭̝̳̠̭̖̏͆͗ͩ͜͢͠ͅe̸̸͉̟̝ͫͮͤ͋͂͐̌̽͡͝ͅŗ̸̰͇͉̗̥͖͚͓̜̝̳̼ͤͫ̇͒̓́ͣ̆̕͢ͅe̴̳͙̻ͦͯͮ͛̃̊ͭ̕ͅr̸̶̷̡͈͙͕͇͙̩̼̮̺ͭ̓͑̉̈̒͢)̵̡̛̜̱̳̰͕̖̱̤̠͔̖̽̿̉͌"
  330. end
  331. music:Pause()
  332. wait()
  333. music:Resume()
  334. char.Head.face.Texture = "rbxassetid://422627909"
  335. tecks2.Text = "Crying Child (Murderer)"
  336. end
  337. if canglitch == 3 and issprinting then
  338. char.Head.face.Texture = "rbxassetid://422627909"
  339. tecks2.Text = "Crying Child (Murderer)"
  340. end
  341. if canglitch == 4 and issprinting then
  342. char.Head.face.Texture = "rbxassetid://422627909"
  343. tecks2.Text = "Crying Child (Murderer)"
  344. end
  345. if canglitch == 5 and issprinting then
  346. char.Head.face.Texture = "rbxassetid://422627909"
  347. tecks2.Text = "Crying Child (Murderer)"
  348. end
  349. if canglitch == 6 and issprinting then
  350. char.Head.face.Texture = "rbxassetid://422627909"
  351. tecks2.Text = "Crying Child (Murderer)"
  352. end
  353. if canglitch == 7 and issprinting then
  354. char.Head.face.Texture = "rbxassetid://422627909"
  355. tecks2.Text = "Crying Child (Murderer)"
  356. end
  357. if canglitch == 8 and issprinting then
  358. char.Head.face.Texture = "rbxassetid://422627909"
  359. tecks2.Text = "Crying Child (Murderer)"
  360. end
  361. if canglitch == 9 and issprinting then
  362. char.Head.face.Texture = "rbxassetid://422627909"
  363. tecks2.Text = "Crying Child (Murderer)"
  364. end
  365. if canglitch == 10 and issprinting then
  366. char.Head.face.Texture = "rbxassetid://422627909"
  367. tecks2.Text = "Crying Child (Murderer)"
  368. end
  369. if canglitch == 11 and issprinting then
  370. char.Head.face.Texture = "rbxassetid://422627909"
  371. tecks2.Text = "Crying Child (Murderer)"
  372. end
  373. if canglitch == 12 and issprinting then
  374. char.Head.face.Texture = "rbxassetid://422627909"
  375. tecks2.Text = "Crying Child (Murderer)"
  376. end
  377. if canglitch == 13 and issprinting then
  378. char.Head.face.Texture = "rbxassetid://422627909"
  379. tecks2.Text = "Crying Child (Murderer)"
  380. end
  381. if canglitch == 14 and issprinting then
  382. char.Head.face.Texture = "rbxassetid://422627909"
  383. tecks2.Text = "Crying Child (Murderer)"
  384. end
  385. if canglitch == 15 and issprinting then
  386. char.Head.face.Texture = "rbxassetid://422627909"
  387. tecks2.Text = "Crying Child (Murderer)"
  388. end
  389. end
Add Comment
Please, Sign In to add comment