Advertisement
refrop

dummy v.

Dec 31st, 2018
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.36 KB | None | 0 0
  1. local plr = game:GetService("Players").LocalPlayer
  2. local char = plr.Character
  3.  
  4. function FindInTable(t, n)
  5. for i,v in pairs(t) do
  6. if v == n then
  7. return true
  8. end
  9. end
  10. return false
  11. end
  12. --Transformaaaaation--
  13. char["Left Arm"].BrickColor = BrickColor.new("Moss")
  14. char["Right Arm"].BrickColor = BrickColor.new("Moss")
  15. char.Head.BrickColor = BrickColor.new("Moss")
  16. char["Left Leg"].BrickColor = BrickColor.new("New Yeller")
  17. char["Right Leg"].BrickColor = BrickColor.new("New Yeller")
  18.  
  19. for i,v in pairs(char:children'') do
  20. local toremove = {"CharacterMesh", "Shirt", "Pants", "ShirtGraphic", "Accessory"}
  21. if FindInTable(toremove, v.ClassName) then v:Destroy() end
  22. if v.ClassName == "BodyColors" then
  23. v.HeadColor = BrickColor.new("Moss")
  24. v.LeftArmColor = BrickColor.new("Moss")
  25. v.LeftLegColor = BrickColor.new("New Yeller")
  26. v.RightArmColor = BrickColor.new("Moss")
  27. v.RightLegColor = BrickColor.new("New Yeller")
  28. v.TorsoColor = BrickColor.new("New Yeller")
  29. end
  30. end
  31.  
  32. local part = game.Players.LocalPlayer.Character
  33. local basetemplate = "http://www.roblox.com/asset/?id="
  34. local shirt = 1
  35. local pants = 1
  36. local h = part:findFirstChild("Shirt")
  37. if h ~= nil then
  38. h.ShirtTemplate = basetemplate..shirt
  39. else
  40. local i = Instance.new("Shirt")
  41. i.Name = "Shirt"
  42. i.ShirtTemplate = basetemplate..shirt
  43. i.Parent = part
  44. end
  45. local p = part:findFirstChild("Pants")
  46. if p ~= nil then
  47. p.PantsTemplate = basetemplate..pants
  48. else
  49. local np = Instance.new("Pants")
  50. np.PantsTemplate = basetemplate..pants
  51. np.Name = "Pants"
  52. np.Parent = part
  53. end
  54. targettedOn = false
  55. function onTouched(hit)
  56. hole:Play()
  57. hit.CanCollide=false
  58. wait(.5)
  59. hit.CanCollide = true
  60. debounce = true
  61.  
  62. end
  63.  
  64. dft = {}
  65.  
  66. function GetPlayers()
  67. local c = game.Players:GetChildren()
  68. for i = 1, #c do
  69. table.insert(dft, c[i].Name)
  70. end
  71. end
  72.  
  73. function Randomize()
  74. GetPlayers()
  75. local d = math.random(1, #dft)
  76. s = d
  77.  
  78.  
  79.  
  80. end
  81.  
  82. playertarg = game.Players.LocalPlayer
  83. chara = playertarg.Character
  84. Mouse = playertarg:GetMouse()
  85. targetted = nil
  86.  
  87. New = function(Object, Parent, Name, Data)
  88. local Object = Instance.new(Object)
  89. for Index, Value in pairs(Data or {}) do
  90. Object[Index] = Value
  91. end
  92. Object.Parent = Parent
  93. Object.Name = Name
  94. return Object
  95. end
  96.  
  97.  
  98.  
  99. crosshair = Instance.new("BillboardGui",chara)
  100. crosshair.Size = UDim2.new(10,0,10,0)
  101. crosshair.Enabled = false
  102. imgl = Instance.new("ImageLabel",crosshair)
  103. imgl.Position = UDim2.new(0,0,0,0)
  104. imgl.Size = UDim2.new(1,0,1,0)
  105. imgl.Image = "rbxassetid://160506713"
  106. imgl.BackgroundTransparency = 1
  107. imgl.ImageTransparency = .7
  108. imgl.ImageColor3 = Color3.new(0,0,0)
  109.  
  110. CV="Maroon"
  111. Player = game.Players.LocalPlayer
  112. Character = Player.Character
  113. local txt = Instance.new("BillboardGui", Character)
  114. txt.Adornee = Character .Head
  115. txt.Name = "_status"
  116. txt.Size = UDim2.new(2, 0, 1.2, 0)
  117. txt.StudsOffset = Vector3.new(-9, 8, 0)
  118. local text = Instance.new("TextLabel", txt)
  119. text.Size = UDim2.new(10, 0, 7, 0)
  120. text.FontSize = "Size24"
  121. text.TextScaled = true
  122. text.TextTransparency = 0
  123. text.BackgroundTransparency = 1
  124. text.TextTransparency = 0
  125. text.TextStrokeTransparency = 0
  126. text.Font = "SciFi"
  127. text.TextStrokeColor3 = Color3.new(255,255,255)
  128.  
  129. v=Instance.new("Part")
  130. v.Name = "ColorBrick"
  131. v.Parent=Player.Character
  132. v.FormFactor="Symmetric"
  133. v.Anchored=true
  134. v.CanCollide=false
  135. v.BottomSurface="Smooth"
  136. v.TopSurface="Smooth"
  137. v.Size=Vector3.new(10,5,3)
  138. v.Transparency=1
  139. v.CFrame=Character.Torso.CFrame
  140. v.BrickColor=BrickColor.new(CV)
  141. v.Transparency=1
  142. text.TextColor3 = Color3.new(255, 255, 127)
  143. v.Shape="Block"
  144. text.Text = "Dummy"
  145. -----------------------------------------
  146. p = game.Players.LocalPlayer
  147. char = p.Character
  148. des = false
  149. fling = true
  150. dot = false
  151. falling = false
  152. jump = true
  153. --char.Shirt:Remove()
  154. --for i,v in pairs(char:GetChildren()) do if v:IsA("Pants") then v:Remove() end end
  155. for i,v in pairs(char:GetChildren()) do if v:IsA("Hat") then v.Handle:Remove() end end
  156. wait()--shirt = Instance.new("Shirt", char)
  157. --shirt.Name = "Shirt"
  158. --pants = Instance.new("Pants", char)
  159. --pants.Name = "Pants"
  160.  
  161. --char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=22287244"
  162. --char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=22287352"
  163. tp = true
  164. shoot = true
  165. hum = char.Humanoid
  166. punch = true
  167. neckp = char.Torso.Neck.C0
  168. neck = char.Torso.Neck
  169. hum.MaxHealth = 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
  170. wait()
  171. hum.Health =hum.MaxHealth
  172. des = false
  173. root=char.HumanoidRootPart
  174. torso = char.Torso
  175. char.Head.face.Texture = "rbxassetid://15199999"
  176. local ChatService = game:GetService("Chat")
  177. local player = game.Players.LocalPlayer
  178. lig = Instance.new("PointLight",player.Character.Torso)
  179. lig.Color=Color3.new(255,0,0)
  180. m=player:GetMouse()
  181. bb = Instance.new("BillboardGui",player.Character.Head)
  182. bb.Enabled = true
  183. function newRay(start,face,range,wat)
  184. local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
  185. hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat)
  186. return rey,hit,pos
  187. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement