SebTDZ

Anime Tool Parts

Apr 7th, 2019
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 13.43 KB | None | 0 0
  1. local Plr = game.Players.SebTDZ500
  2.  
  3. local Tool = Instance.new("Tool")
  4. Tool.Name = "Anime"
  5. Tool.Parent = Plr.Backpack
  6. Tool.CanBeDropped = false
  7.  
  8. local Handle = Instance.new("Part")
  9. Handle.Name = "Handle"
  10. Handle.Parent = Tool
  11. Handle.Anchored = false
  12. Handle.Transparency = 1
  13. Handle.Size = Vector3.new(1, 1, 1)
  14.  
  15. local Event = Instance.new("RemoteEvent")
  16. Event.Name = "Event"
  17. Event.Parent = Tool
  18. Event.OnServerEvent:connect(function(player, Target)
  19.     if Target.Parent:FindFirstChild('Humanoid') then
  20.         Dmg(Target.Parent)
  21.     end
  22. end)
  23.  
  24. function GetDudesTorso(c)
  25. local torsy = (c:findFirstChild("Torso") or c:findFirstChild("UpperTorso"))
  26. if torsy ~= nil then
  27. return torsy
  28. end
  29. end
  30.  
  31. New = function(Object, Parent, Name, Data)
  32. local Object = Instance.new(Object)
  33. for Index, Value in pairs(Data or {}) do
  34. Object[Index] = Value
  35. end
  36. Object.Parent = Parent
  37. Object.Name = Name
  38. return Object
  39. end
  40.  
  41. ArtificialHB = Instance.new("BindableEvent", script)
  42. ArtificialHB.Name = "Heartbeat"
  43. script:WaitForChild("Heartbeat")
  44. frame = 0.03333333333333
  45. tf = 0
  46. allowframeloss = false
  47. tossremainder = false
  48. lastframe = tick()
  49. script.Heartbeat:Fire()
  50. game:GetService("RunService").Heartbeat:connect(function(s, p)
  51. tf = tf + s
  52. if tf >= frame then
  53. if allowframeloss then
  54. script.Heartbeat:Fire()
  55. lastframe = tick()
  56. else
  57. for i = 1, math.floor(tf / frame) do
  58. script.Heartbeat:Fire()
  59. end
  60. lastframe = tick()
  61. end
  62. if tossremainder then
  63. tf = 0
  64. else
  65. tf = tf - frame * math.floor(tf / frame)
  66. end
  67. end
  68. end)
  69. function swait(num)
  70. if num == 0 or num == nil then
  71. ArtificialHB.Event:wait()
  72. else
  73. for i = 0, num do
  74. ArtificialHB.Event:wait()
  75. end
  76. end
  77. end
  78.  
  79. function so(id,par,pit,vol)
  80. local sou = Instance.new("Sound", par or workspace)
  81. if par == chara then
  82. sou.Parent = chara.Torso
  83. end
  84. sou.Volume = vol
  85. sou.Pitch = pit or 1
  86. sou.SoundId = "rbxassetid://" .. id
  87. sou.PlayOnRemove = true
  88. sou:Destroy()
  89. end
  90.  
  91. function swait(num)
  92. if num == 0 or num == nil then
  93. ArtificialHB.Event:wait()
  94. else
  95. for i = 0, num do
  96. ArtificialHB.Event:wait()
  97. end
  98. end
  99. end
  100.  
  101. function Dmg(dude)
  102. if dude and dude ~= chara and dude.Name ~= "CKbackup" then
  103. if dude:FindFirstChild("TURAPPU") then return end
  104. local debounce = Instance.new("BoolValue",dude)
  105. debounce.Name = "TURAPPU"
  106. coroutine.wrap(function()
  107. local torsy = GetDudesTorso(dude)
  108. if torsy then
  109. local b = Instance.new("Part",dude)
  110. b.BrickColor = BrickColor.new("Pink")
  111. b.Size = Vector3.new(.1,.1,.1)
  112. b.CanCollide = false
  113. b.Transparency = 1
  114. b.Material = "Neon"
  115. b:BreakJoints()
  116. so(113952851,b,1,3)
  117. local bw = Instance.new("Weld",b)
  118. bw.Part0 = b
  119. bw.Part1 = torsy
  120. local bm = Instance.new("SpecialMesh",b)
  121. bm.MeshType = "Sphere"
  122. bm.Scale = Vector3.new()
  123. for i=0,1,.05 do
  124. swait()
  125. b.Transparency = 1-i
  126. bm.Scale = Vector3.new(65*i,65*i,65*i)
  127. end
  128. coroutine.wrap(function()
  129. swait(20)
  130. for i=0,1,.05 do
  131. swait()
  132. b.Transparency = i
  133. bm.Scale = Vector3.new(65+100*i,65+100*i,65+100*i)
  134. end
  135. b:Destroy()
  136. end)()
  137. end
  138. for i,v in pairs(dude:children()) do
  139. if v:IsA("Clothing") or v:IsA("BodyColors") or v:IsA("Accoutrement") then v:Destroy() end
  140. end
  141. local hedcol = dude:FindFirstChild("Head").BrickColor
  142. local bcols = Instance.new("BodyColors",dude)
  143. bcols.Name = "NeoCols"
  144. bcols.HeadColor = hedcol
  145. bcols.LeftArmColor = hedcol
  146. bcols.RightArmColor = hedcol
  147. bcols.TorsoColor = hedcol
  148. bcols.LeftLegColor = hedcol
  149. bcols.RightLegColor = hedcol
  150. local Heiru = nil
  151. local hacho = math.random(1,6)
  152. if hacho == 1 then
  153. Heiru = New("Part",dude,"Heiru",{Size = Vector3.new(0.400000006, 0.400000006, 0.400000006),CFrame = CFrame.new(-78.4999847, 3.29998803, -42.2000351, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  154. local HairMesh = New("SpecialMesh",Heiru,"Mesh",{Scale = Vector3.new(0.075000003, 0.0599999987, 0.0599999987),MeshId = "rbxassetid://506240548",MeshType = Enum.MeshType.FileMesh,})
  155. local Werudo = New("ManualWeld",Heiru,"Weld",{Part0 = Heiru,Part1 = dude:FindFirstChild("Head"),C1 = CFrame.new(-7.62939453e-06, -1.19999862, 0.200000763, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  156. elseif hacho == 2 then
  157. Heiru = New("Part",dude,"Heiru",{Size = Vector3.new(0.5, 0.400000006, 0.400000006),CFrame = CFrame.new(-78.5499878, 4.29998732, -42.1000366, -1, 0, 0, 0, 1, 0, 0, 0, -1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  158. local HairMesh = New("SpecialMesh",Heiru,"Mesh",{Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995),MeshId = "rbxassetid://398987591",MeshType = Enum.MeshType.FileMesh,})
  159. local Werudo = New("ManualWeld",Heiru,"Weld",{Part0 = Heiru,Part1 = dude:FindFirstChild("Head"),C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0.0499954224, -0.199999332, 0.100002289, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  160. elseif hacho == 3 then
  161. Heiru = New("Part",dude,"Heiru",{Size = Vector3.new(0.5, 0.400000006, 0.400000006),CFrame = CFrame.new(-78.4499893, 3.89998746, -42.1000366, -1, 0, 0, 0, 1, 0, 0, 0, -1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  162. local HairMesh = New("SpecialMesh",Heiru,"Mesh",{MeshId = "rbxassetid://164382853",MeshType = Enum.MeshType.FileMesh,})
  163. local Werudo = New("ManualWeld",Heiru,"Weld",{Part0 = Heiru,Part1 = dude:FindFirstChild("Head"),C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(-0.0500030518, -0.599999189, 0.100002289, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  164. elseif hacho == 4 then
  165. Heiru = New("Part",dude,"Heiru",{Size = Vector3.new(0.400000006, 0.400000006, 0.400000006),CFrame = CFrame.new(-78.4999771, 2.79998851, -43.3000183, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  166. local HairMesh = New("SpecialMesh",Heiru,"Mesh",{Scale = Vector3.new(0.109999999, 0.0799999982, 0.0850000009),MeshId = "rbxassetid://561963999",MeshType = Enum.MeshType.FileMesh,})
  167. local Werudo = New("ManualWeld",Heiru,"Weld",{Part0 = Heiru,Part1 = dude:FindFirstChild("Head"),C1 = CFrame.new(-1.52587891e-05, -1.69999814, 1.29998398, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  168. elseif hacho == 5 then
  169. Heiru = New("Part",dude,"Heiru",{Size = Vector3.new(0.400000006, 0.400000006, 0.400000006),CFrame = CFrame.new(-78.4999847, 3.69998765, -42.600029, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  170. local HairMesh = New("SpecialMesh",Heiru,"Mesh",{Scale = Vector3.new(0.0450000018, 0.0450000018, 0.0450000018),MeshId = "rbxassetid://487000462",MeshType = Enum.MeshType.FileMesh,})
  171. local Werudo = New("ManualWeld",Heiru,"Weld",{Part0 = Heiru,Part1 = dude:FindFirstChild("Head"),C1 = CFrame.new(-7.62939453e-06, -0.799998999, 0.599994659, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  172. elseif hacho == 6 then
  173. Heiru = New("Part",dude,"Heiru",{Size = Vector3.new(0.5, 0.400000006, 0.400000006),CFrame = CFrame.new(-78.5499802, 3.29998803, -42.0000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  174. local HairMesh = New("SpecialMesh",Heiru,"Mesh",{Scale = Vector3.new(0.0649999976, 0.0599999987, 0.0599999987),MeshId = "rbxassetid://437152207",MeshType = Enum.MeshType.FileMesh,})
  175. local Werudo = New("ManualWeld",Heiru,"Weld",{Part0 = Heiru,Part1 = dude:FindFirstChild("Head"),C1 = CFrame.new(0.049987793, -1.19999862, 3.81469727e-06, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  176. end
  177. local haircol = {"Pink","Baby blue","Magenta","Brown","Black","Really black","White","CGA brown","Cool yellow"}
  178. Heiru.BrickColor = BrickColor.new(haircol[math.random(1,#haircol)])
  179. local ercho = math.random(1,8)
  180. if ercho == 1 then
  181. local EIRO = New("Part",dude,"EIRO",{FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.400000006, 0.400000006, 0.400000006),CFrame = CFrame.new(-78.4999924, 4.59999943, -42.0000229, -1, -1.50263801e-10, 0, 1.50264662e-10, 0.999993861, -1.78813892e-07, 0, 1.78812812e-07, -1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  182. local Mesh = New("SpecialMesh",EIRO,"Mesh",{Scale = Vector3.new(1.04999995, 1, 1.04999995),MeshId = "rbxassetid://10871984",TextureId = "rbxassetid://10871968",MeshType = Enum.MeshType.FileMesh,})
  183. local Weld = New("ManualWeld",EIRO,"Weld",{Part0 = EIRO,Part1 = dude:FindFirstChild("Head"),C0 = CFrame.new(0, 0, 0, -1, 1.50264662e-10, 0, -1.50263801e-10, 0.999993861, 1.78812812e-07, 0, -1.78813892e-07, -1),C1 = CFrame.new(0, 0.100012779, -1.14440918e-05, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  184. elseif ercho == 2 then
  185. local EIRO = New("Part",dude,"EIRO",{FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.400000006, 0.400000006, 0.400000006),CFrame = CFrame.new(-78.4999924, 5.39999866, -42.0000229, -1, -1.50263801e-10, 0, 1.50264662e-10, 0.999993861, -1.78813892e-07, 0, 1.78812812e-07, -1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  186. local Mesh = New("SpecialMesh",EIRO,"Mesh",{MeshId = "rbxassetid://1072759",TextureId = "rbxassetid://1072760",MeshType = Enum.MeshType.FileMesh,})
  187. local Weld = New("ManualWeld",EIRO,"Weld",{Part0 = EIRO,Part1 = dude:FindFirstChild("Head"),C0 = CFrame.new(0, 0, 0, -1, 1.50264662e-10, 0, -1.50263801e-10, 0.999993861, 1.78812812e-07, 0, -1.78813892e-07, -1),C1 = CFrame.new(0, 0.900012016, -1.14440918e-05, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  188. elseif ercho == 3 then
  189. local EIRO = New("Part",dude,"EIRO",{FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.300000012, 0.400000006, 0.400000006),CFrame = CFrame.new(-78.5499954, 5.29999876, -42.0000229, -1, -1.50263801e-10, 0, 1.50264662e-10, 0.999993861, -1.78813892e-07, 0, 1.78812812e-07, -1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  190. local Mesh = New("SpecialMesh",EIRO,"Mesh",{Scale = Vector3.new(1.20000005, 1.20000005, 1.20000005),MeshId = "rbxassetid://1374148",TextureId = "rbxassetid://413143035",MeshType = Enum.MeshType.FileMesh,})
  191. local Weld = New("ManualWeld",EIRO,"Weld",{Part0 = EIRO,Part1 = dude:FindFirstChild("Head"),C0 = CFrame.new(0, 0, 0, -1, 1.50264662e-10, 0, -1.50263801e-10, 0.999993861, 1.78812812e-07, 0, -1.78813892e-07, -1),C1 = CFrame.new(0.0500030518, 0.800012112, -1.14440918e-05, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  192. elseif ercho == 4 then
  193. local EIRO = New("Part",dude,"EIRO",{FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.400000006, 0.400000006, 0.400000006),CFrame = CFrame.new(-78.4999924, 5.29999876, -42.0000229, -1, -1.50263801e-10, 0, 1.50264662e-10, 0.999993861, -1.78813892e-07, 0, 1.78812812e-07, -1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  194. local Mesh = New("SpecialMesh",EIRO,"Mesh",{Scale = Vector3.new(0.699999988, 0.5, 0.600000024),MeshId = "rbxassetid://361948302",TextureId = "rbxassetid://361948503",MeshType = Enum.MeshType.FileMesh,})
  195. local Weld = New("ManualWeld",EIRO,"Weld",{Part0 = EIRO,Part1 = dude:FindFirstChild("Head"),C0 = CFrame.new(0, 0, 0, -1, 1.50264662e-10, 0, -1.50263801e-10, 0.999993861, 1.78812812e-07, 0, -1.78813892e-07, -1),C1 = CFrame.new(0, 0.800012112, -1.14440918e-05, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  196. elseif ercho == 5 then
  197. local EIRO = New("Part",dude,"EIRO",{FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.400000006, 0.400000006, 0.400000006),CFrame = CFrame.new(-78.4999924, 5.09999895, -42.0000229, -1, -1.50263801e-10, 0, 1.50264662e-10, 0.999993861, -1.78813892e-07, 0, 1.78812812e-07, -1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  198. local Mesh = New("SpecialMesh",EIRO,"Mesh",{MeshId = "rbxassetid://1095510",TextureId = "rbxassetid://1095511",MeshType = Enum.MeshType.FileMesh,})
  199. local Weld = New("ManualWeld",EIRO,"Weld",{Part0 = EIRO,Part1 = dude:FindFirstChild("Head"),C0 = CFrame.new(0, 0, 0, -1, 1.50264662e-10, 0, -1.50263801e-10, 0.999993861, 1.78812812e-07, 0, -1.78813892e-07, -1),C1 = CFrame.new(0, 0.600012302, -1.14440918e-05, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  200. end
  201. local oucho = math.random(1,6)
  202. local sh = Instance.new("Shirt",dude)
  203. local pn = Instance.new("Pants",dude)
  204. if oucho == 1 then
  205. pn.PantsTemplate = "rbxassetid://56903591"
  206. sh:Destroy()
  207. elseif oucho == 2 then
  208. sh.ShirtTemplate = "rbxassetid://242933637"
  209. pn.PantsTemplate = "rbxassetid://745334066"
  210. elseif oucho == 3 then
  211. sh.ShirtTemplate = "rbxassetid://1238151974"
  212. pn.PantsTemplate = "rbxassetid://1340645290"
  213. elseif oucho == 4 then
  214. sh.ShirtTemplate = "rbxassetid://583471131"
  215. pn.PantsTemplate = "rbxassetid://460147365"
  216. elseif oucho == 5 then
  217. pn.PantsTemplate = "rbxassetid://45541243"
  218. sh:Destroy()
  219. elseif oucho == 6 then
  220. pn.PantsTemplate = "rbxassetid://41162775"
  221. sh:Destroy()
  222. end
  223. Instance.new("Decal",dude:FindFirstChild("Head")).Texture = "rbxassetid://985062039"
  224. coroutine.wrap(function()
  225. swait(40)
  226. local naeeym2 = Instance.new("BillboardGui",dude)
  227. naeeym2.Size = UDim2.new(0,100,0,40)
  228. naeeym2.StudsOffset = Vector3.new(0,3,0)
  229. naeeym2.Adornee = dude:FindFirstChild("Head")
  230. naeeym2.Name = "TalkingBillBoard"
  231. local tecks2 = Instance.new("TextLabel",naeeym2)
  232. tecks2.BackgroundTransparency = 1
  233. tecks2.BorderSizePixel = 0
  234. tecks2.Text = "Trapped! In another sense.."
  235. tecks2.Font = "Cartoon"
  236. tecks2.TextSize = 24
  237. tecks2.TextStrokeTransparency = 0
  238. tecks2.TextColor3 = Color3.new(1,.6,.7)
  239. tecks2.TextStrokeColor3 = Color3.new(1,1,1)
  240. tecks2.Size = UDim2.new(1,0,0.5,0)
  241. swait(10)
  242. for i = 0,1,.05 do
  243. swait()
  244. tecks2.Position = tecks2.Position - UDim2.new(0,0,.005,0)
  245. tecks2.TextStrokeTransparency = i
  246. tecks2.TextTransparency = i
  247. end
  248. naeeym2:Destroy()
  249. end)()
  250. end)()
  251. end
  252. end
Advertisement
Add Comment
Please, Sign In to add comment