Advertisement
DaOMEGAa32

corruption

Oct 14th, 2019
256
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.01 KB | None | 0 0
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,game,owner = owner,game
  4. local RealPlayer = Player
  5. do
  6. print("FE Compatibility code V2 by Mokiros")
  7. local RealPlayer = RealPlayer
  8. script.Parent = RealPlayer.Character
  9.  
  10. --Fake event to make stuff like Mouse.KeyDown work
  11. local Disconnect_Function = function(this)
  12. this[1].Functions[this[2]] = nil
  13. end
  14. local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
  15. local FakeEvent_Metatable = {__index={
  16. Connect = function(this,f)
  17. local i = tostring(math.random(0,10000))
  18. while this.Functions[i] do
  19. i = tostring(math.random(0,10000))
  20. end
  21. this.Functions[i] = f
  22. return setmetatable({this,i},Disconnect_Metatable)
  23. end
  24. }}
  25. FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
  26. local function fakeEvent()
  27. return setmetatable({Functions={}},FakeEvent_Metatable)
  28. end
  29.  
  30. --Creating fake input objects with fake variables
  31. local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  32. FakeMouse.keyUp = FakeMouse.KeyUp
  33. FakeMouse.keyDown = FakeMouse.KeyDown
  34. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  35. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  36. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  37. end}
  38. --Merged 2 functions into one by checking amount of arguments
  39. CAS.UnbindAction = CAS.BindAction
  40.  
  41. --This function will trigger the events that have been :Connect()'ed
  42. local function TriggerEvent(self,ev,...)
  43. for _,f in pairs(self[ev].Functions) do
  44. f(...)
  45. end
  46. end
  47. FakeMouse.TriggerEvent = TriggerEvent
  48. UIS.TriggerEvent = TriggerEvent
  49.  
  50. --Client communication
  51. local Event = Instance.new("RemoteEvent")
  52. Event.Name = "UserInput_Event"
  53. Event.OnServerEvent:Connect(function(plr,io)
  54. if plr~=RealPlayer then return end
  55. FakeMouse.Target = io.Target
  56. FakeMouse.Hit = io.Hit
  57. if not io.isMouse then
  58. local b = io.UserInputState == Enum.UserInputState.Begin
  59. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  60. return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
  61. end
  62. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  63. return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
  64. end
  65. for _,t in pairs(CAS.Actions) do
  66. for _,k in pairs(t.Keys) do
  67. if k==io.KeyCode then
  68. t.Function(t.Name,io.UserInputState,io)
  69. end
  70. end
  71. end
  72. FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  73. UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
  74. end
  75. end)
  76. Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
  77. local Mouse = owner:GetMouse()
  78. local UIS = game:GetService("UserInputService")
  79. local input = function(io,RobloxHandled)
  80. if RobloxHandled then return end
  81. --Since InputObject is a client-side instance, we create and pass table instead
  82. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  83. end
  84. UIS.InputBegan:Connect(input)
  85. UIS.InputEnded:Connect(input)
  86.  
  87. local h,t
  88. --Give the server mouse data every second frame, but only if the values changed
  89. --If player is not moving their mouse, client won't fire events
  90. local HB = game:GetService("RunService").Heartbeat
  91. while true do
  92. if h~=Mouse.Hit or t~=Mouse.Target then
  93. h,t=Mouse.Hit,Mouse.Target
  94. Event:FireServer({isMouse=true,Target=t,Hit=h})
  95. end
  96. --Wait 2 frames
  97. for i=1,2 do
  98. HB:Wait()
  99. end
  100. end]==],script)
  101.  
  102. ----Sandboxed game object that allows the usage of client-side methods and services
  103. --Real game object
  104. local RealGame = game
  105.  
  106. --Metatable for fake service
  107. local FakeService_Metatable = {
  108. __index = function(self,k)
  109. local s = rawget(self,"_RealService")
  110. if s then
  111. return typeof(s[k])=="function"
  112. and function(_,...)return s[k](s,...)end or s[k]
  113. end
  114. end,
  115. __newindex = function(self,k,v)
  116. local s = rawget(self,"_RealService")
  117. if s then s[k]=v end
  118. end
  119. }
  120. local function FakeService(t,RealService)
  121. t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
  122. return setmetatable(t,FakeService_Metatable)
  123. end
  124.  
  125. --Fake game object
  126. local FakeGame = {
  127. GetService = function(self,s)
  128. return rawget(self,s) or RealGame:GetService(s)
  129. end,
  130. Players = FakeService({
  131. LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
  132. },"Players"),
  133. UserInputService = FakeService(UIS,"UserInputService"),
  134. ContextActionService = FakeService(CAS,"ContextActionService"),
  135. RunService = FakeService({
  136. _btrs = {},
  137. RenderStepped = RealGame:GetService("RunService").Heartbeat,
  138. BindToRenderStep = function(self,name,_,fun)
  139. self._btrs[name] = self.Heartbeat:Connect(fun)
  140. end,
  141. UnbindFromRenderStep = function(self,name)
  142. self._btrs[name]:Disconnect()
  143. end,
  144. },"RunService")
  145. }
  146. rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
  147. FakeGame.service = FakeGame.GetService
  148. FakeService(FakeGame,game)
  149. --Changing owner to fake player object to support owner:GetMouse()
  150. game,owner = FakeGame,FakeGame.Players.LocalPlayer
  151. end
  152.  
  153. --Converted with ttyyuu12345's model to script plugin v4
  154. function sandbox(var,func)
  155. local env = getfenv(func)
  156. local newenv = setmetatable({},{
  157. __index = function(self,k)
  158. if k=="script" then
  159. return var
  160. else
  161. return env[k]
  162. end
  163. end,
  164. })
  165. setfenv(func,newenv)
  166. return func
  167. end
  168. cors = {}
  169. mas = Instance.new("Model",game:GetService("Lighting"))
  170. Tool0 = Instance.new("Tool")
  171. Part1 = Instance.new("Part")
  172. SpecialMesh2 = Instance.new("SpecialMesh")
  173. Sound3 = Instance.new("Sound")
  174. Sound4 = Instance.new("Sound")
  175. Sound5 = Instance.new("Sound")
  176. Script6 = Instance.new("Script")
  177. Script7 = Instance.new("Script")
  178. LocalScript8 = Instance.new("LocalScript")
  179. Camera9 = Instance.new("Camera")
  180. Tool0.Name = "corruption"
  181. Tool0.Parent = mas
  182. Tool0.TextureId = "rbxasset://Textures/Sword128.png"
  183. Tool0.Grip = CFrame.new(0, 0, -1.5, 0, 0, 1, 1, 0, 0, 0, 1, 0)
  184. Tool0.GripForward = Vector3.new(-1, -0, -0)
  185. Tool0.GripPos = Vector3.new(0, 0, -1.5)
  186. Tool0.GripRight = Vector3.new(0, 1, 0)
  187. Tool0.GripUp = Vector3.new(0, 0, 1)
  188. Part1.Name = "Handle"
  189. Part1.Parent = Tool0
  190. Part1.CFrame = CFrame.new(58.0412941, 1.88732195, 94.4381638, 0.0910440385, -0.881099463, 0.464084357, 0.537011683, 0.435894847, 0.722229123, -0.838648558, 0.183463722, 0.512845576)
  191. Part1.Orientation = Vector3.new(-46.2400017, 42.1399994, 50.9300003)
  192. Part1.Position = Vector3.new(58.0412941, 1.88732195, 94.4381638)
  193. Part1.Rotation = Vector3.new(-54.6199989, 27.6499996, 84.0999985)
  194. Part1.Color = Color3.new(0.388235, 0.372549, 0.384314)
  195. Part1.Size = Vector3.new(1, 0.800000012, 4)
  196. Part1.BottomSurface = Enum.SurfaceType.Smooth
  197. Part1.BrickColor = BrickColor.new("Dark stone grey")
  198. Part1.Locked = true
  199. Part1.Reflectance = 0.40000000596046
  200. Part1.TopSurface = Enum.SurfaceType.Smooth
  201. Part1.brickColor = BrickColor.new("Dark stone grey")
  202. Part1.FormFactor = Enum.FormFactor.Plate
  203. Part1.formFactor = Enum.FormFactor.Plate
  204. SpecialMesh2.Parent = Part1
  205. SpecialMesh2.MeshId = "rbxasset://fonts/sword.mesh"
  206. SpecialMesh2.MeshType = Enum.MeshType.FileMesh
  207. Sound3.Name = "SwordSlash"
  208. Sound3.Parent = Part1
  209. Sound3.SoundId = "rbxassetid://333430981"
  210. Sound3.Volume = 0.69999998807907
  211. Sound4.Name = "SwordLunge"
  212. Sound4.Parent = Part1
  213. Sound4.SoundId = "rbxassetid://333430981"
  214. Sound4.Volume = 0.60000002384186
  215. Sound5.Name = "Unsheath"
  216. Sound5.Parent = Part1
  217. Sound5.SoundId = "rbxassetid://333430981"
  218. Sound5.Volume = 1
  219. Script6.Parent = Part1
  220. table.insert(cors,sandbox(Script6,function()
  221. brick = script.Parent
  222.  
  223. while true do
  224. brick.BrickColor = BrickColor.random()
  225. wait(0) -- change the number to the amount of seconds you want between each time it changes its colors
  226. end
  227.  
  228. end))
  229. Script7.Name = "SwordScript"
  230. Script7.Parent = Tool0
  231. table.insert(cors,sandbox(Script7,function()
  232. --Rescripted by Luckymaxer
  233. --EUROCOW WAS HERE BECAUSE I MADE THE PARTICLES AND THEREFORE THIS ENTIRE SWORD PRETTY AND LOOK PRETTY WORDS AND I'D LIKE TO DEDICATE THIS TO MY FRIENDS AND HI LUCKYMAXER PLS FIX SFOTH SWORDS TY LOVE Y'ALl
  234. --Updated for R15 avatars by StarWars
  235. --Re-updated by TakeoHonorable
  236.  
  237. Tool = script.Parent
  238. Handle = Tool:WaitForChild("Handle")
  239.  
  240. function Create(ty)
  241. return function(data)
  242. local obj = Instance.new(ty)
  243. for k, v in pairs(data) do
  244. if type(k) == 'number' then
  245. v.Parent = obj
  246. else
  247. obj[k] = v
  248. end
  249. end
  250. return obj
  251. end
  252. end
  253.  
  254. local BaseUrl = "rbxassetid://"
  255.  
  256. Players = game:GetService("Players")
  257. Debris = game:GetService("Debris")
  258. RunService = game:GetService("RunService")
  259.  
  260. DamageValues = {
  261. BaseDamage = 5,
  262. SlashDamage = 10,
  263. LungeDamage = 30
  264. }
  265.  
  266. --For R15 avatars
  267. Animations = {
  268. R15Slash = 522635514,
  269. R15Lunge = 522638767
  270. }
  271.  
  272. Damage = DamageValues.BaseDamage
  273.  
  274. Grips = {
  275. Up = CFrame.new(0, 0, -1.70000005, 0, 0, 1, 1, 0, 0, 0, 1, 0),
  276. Out = CFrame.new(0, 0, -1.70000005, 0, 1, 0, 1, -0, 0, 0, 0, -1)
  277. }
  278.  
  279. Sounds = {
  280. Slash = Handle:WaitForChild("SwordSlash"),
  281. Lunge = Handle:WaitForChild("SwordLunge"),
  282. Unsheath = Handle:WaitForChild("Unsheath")
  283. }
  284.  
  285. ToolEquipped = false
  286.  
  287. --For Omega Rainbow Katana thumbnail to display a lot of particles.
  288. for i, v in pairs(Handle:GetChildren()) do
  289. if v:IsA("ParticleEmitter") then
  290. v.Rate = 20
  291. end
  292. end
  293.  
  294. Tool.Grip = Grips.Up
  295. Tool.Enabled = true
  296.  
  297. function IsTeamMate(Player1, Player2)
  298. return (Player1 and Player2 and not Player1.Neutral and not Player2.Neutral and Player1.TeamColor == Player2.TeamColor)
  299. end
  300.  
  301. function TagHumanoid(humanoid, player)
  302. local Creator_Tag = Instance.new("ObjectValue")
  303. Creator_Tag.Name = "creator"
  304. Creator_Tag.Value = player
  305. Debris:AddItem(Creator_Tag, 2)
  306. Creator_Tag.Parent = humanoid
  307. end
  308.  
  309. function UntagHumanoid(humanoid)
  310. for i, v in pairs(humanoid:GetChildren()) do
  311. if v:IsA("ObjectValue") and v.Name == "creator" then
  312. v:Destroy()
  313. end
  314. end
  315. end
  316.  
  317. function Blow(Hit)
  318. if not Hit or not Hit.Parent or not CheckIfAlive() or not ToolEquipped then
  319. return
  320. end
  321. local RightArm = Character:FindFirstChild("Right Arm") or Character:FindFirstChild("RightHand")
  322. if not RightArm then
  323. return
  324. end
  325. local RightGrip = RightArm:FindFirstChild("RightGrip")
  326. if not RightGrip or (RightGrip.Part0 ~= Handle and RightGrip.Part1 ~= Handle) then
  327. return
  328. end
  329. local character = Hit.Parent
  330. if character == Character then
  331. return
  332. end
  333. local humanoid = character:FindFirstChildOfClass("Humanoid")
  334. if not humanoid or humanoid.Health == 0 then
  335. return
  336. end
  337. local player = Players:GetPlayerFromCharacter(character)
  338. if player and (player == Player or IsTeamMate(Player, player)) then
  339. return
  340. end
  341. UntagHumanoid(humanoid)
  342. TagHumanoid(humanoid, Player)
  343. humanoid:TakeDamage(Damage)
  344. end
  345.  
  346.  
  347. function Attack()
  348. Damage = DamageValues.SlashDamage
  349. Sounds.Slash:Play()
  350.  
  351. if Humanoid then
  352. if Humanoid.RigType == Enum.HumanoidRigType.R6 then
  353. local Anim = Instance.new("StringValue")
  354. Anim.Name = "toolanim"
  355. Anim.Value = "Slash"
  356. Anim.Parent = Tool
  357. elseif Humanoid.RigType == Enum.HumanoidRigType.R15 then
  358. local Anim = Tool:FindFirstChild("R15Slash")
  359. if Anim then
  360. local Track = Humanoid:LoadAnimation(Anim)
  361. Track:Play(0)
  362. end
  363. end
  364. end
  365. end
  366.  
  367. function Lunge()
  368. Damage = DamageValues.LungeDamage
  369.  
  370. Sounds.Lunge:Play()
  371.  
  372. if Humanoid then
  373. if Humanoid.RigType == Enum.HumanoidRigType.R6 then
  374. local Anim = Instance.new("StringValue")
  375. Anim.Name = "toolanim"
  376. Anim.Value = "Lunge"
  377. Anim.Parent = Tool
  378. elseif Humanoid.RigType == Enum.HumanoidRigType.R15 then
  379. local Anim = Tool:FindFirstChild("R15Lunge")
  380. if Anim then
  381. local Track = Humanoid:LoadAnimation(Anim)
  382. Track:Play(0)
  383. end
  384. end
  385. end
  386. --[[
  387. if CheckIfAlive() then
  388. local Force = Instance.new("BodyVelocity")
  389. Force.velocity = Vector3.new(0, 10, 0)
  390. Force.maxForce = Vector3.new(0, 4000, 0)
  391. Debris:AddItem(Force, 0.4)
  392. Force.Parent = Torso
  393. end
  394. ]]
  395.  
  396. wait(0.2)
  397. Tool.Grip = Grips.Out
  398. wait(0.6)
  399. Tool.Grip = Grips.Up
  400.  
  401. Damage = DamageValues.SlashDamage
  402. end
  403.  
  404. Tool.Enabled = true
  405. LastAttack = 0
  406.  
  407. function Activated()
  408. if not Tool.Enabled or not ToolEquipped or not CheckIfAlive() then
  409. return
  410. end
  411. Tool.Enabled = false
  412. local Tick = RunService.Stepped:wait()
  413. if (Tick - LastAttack < 0.2) then
  414. Lunge()
  415. else
  416. Attack()
  417. end
  418. LastAttack = Tick
  419. --wait(0.5)
  420. Damage = DamageValues.BaseDamage
  421. local SlashAnim = (Tool:FindFirstChild("R15Slash") or Create("Animation"){
  422. Name = "R15Slash",
  423. AnimationId = BaseUrl .. Animations.R15Slash,
  424. Parent = Tool
  425. })
  426.  
  427. local LungeAnim = (Tool:FindFirstChild("R15Lunge") or Create("Animation"){
  428. Name = "R15Lunge",
  429. AnimationId = BaseUrl .. Animations.R15Lunge,
  430. Parent = Tool
  431. })
  432. Tool.Enabled = true
  433. end
  434.  
  435. function CheckIfAlive()
  436. return (((Player and Player.Parent and Character and Character.Parent and Humanoid and Humanoid.Parent and Humanoid.Health > 0 and Torso and Torso.Parent) and true) or false)
  437. end
  438.  
  439. function Equipped()
  440. Character = Tool.Parent
  441. Player = Players:GetPlayerFromCharacter(Character)
  442. Humanoid = Character:FindFirstChildOfClass("Humanoid")
  443. Torso = Character:FindFirstChild("Torso") or Character:FindFirstChild("HumanoidRootPart")
  444. if not CheckIfAlive() then
  445. return
  446. end
  447. ToolEquipped = true
  448. Sounds.Unsheath:Play()
  449. end
  450.  
  451. function Unequipped()
  452. Tool.Grip = Grips.Up
  453. ToolEquipped = false
  454. end
  455.  
  456. Tool.Activated:Connect(Activated)
  457. Tool.Equipped:Connect(Equipped)
  458. Tool.Unequipped:Connect(Unequipped)
  459.  
  460. Connection = Handle.Touched:Connect(Blow)
  461. end))
  462. LocalScript8.Name = "MouseIcon"
  463. LocalScript8.Parent = Tool0
  464. table.insert(cors,sandbox(LocalScript8,function()
  465. --Made by Luckymaxer
  466.  
  467. Mouse_Icon = "rbxasset://textures/GunCursor.png"
  468. Reloading_Icon = "rbxasset://textures/GunWaitCursor.png"
  469.  
  470. Tool = script.Parent
  471.  
  472. Mouse = nil
  473.  
  474. function UpdateIcon()
  475. if Mouse then
  476. Mouse.Icon = Tool.Enabled and Mouse_Icon or Reloading_Icon
  477. end
  478. end
  479.  
  480. function OnEquipped(ToolMouse)
  481. Mouse = ToolMouse
  482. UpdateIcon()
  483. end
  484.  
  485. function OnChanged(Property)
  486. if Property == "Enabled" then
  487. UpdateIcon()
  488. end
  489. end
  490.  
  491. Tool.Equipped:Connect(OnEquipped)
  492. Tool.Changed:Connect(OnChanged)
  493.  
  494. end))
  495. Camera9.Name = "ThumbnailCamera"
  496. Camera9.Parent = Tool0
  497. Camera9.CFrame = CFrame.new(-5.67428207, 2.83736515, 3.79184556, 0.289030313, 0.416664183, -0.861888885, -0, 0.900314331, 0.435240269, 0.957319915, -0.125797629, 0.260218143)
  498. Camera9.CoordinateFrame = CFrame.new(-5.67428207, 2.83736515, 3.79184556, 0.289030313, 0.416664183, -0.861888885, -0, 0.900314331, 0.435240269, 0.957319915, -0.125797629, 0.260218143)
  499. Camera9.Focus = CFrame.new(-3.9505043, 1.96688461, 3.27140927, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  500. Camera9.focus = CFrame.new(-3.9505043, 1.96688461, 3.27140927, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  501. for i,v in pairs(mas:GetChildren()) do
  502. v.Parent = game:GetService("Players").LocalPlayer.Backpack
  503. pcall(function() v:MakeJoints() end)
  504. end
  505. mas:Destroy()
  506. for i,v in pairs(cors) do
  507. spawn(function()
  508. pcall(v)
  509. end)
  510. end
  511. CV="White"
  512.  
  513. p = game.Players.LocalPlayer
  514. char = p.Character
  515. local txt = Instance.new("BillboardGui", char)
  516. txt.Adornee = char .Head
  517. txt.Name = "_status"
  518. txt.Size = UDim2.new(2, 0, 1.2, 0)
  519. txt.StudsOffset = Vector3.new(-9, 8, 0)
  520. local text = Instance.new("TextLabel", txt)
  521. text.Size = UDim2.new(10, 0, 7, 0)
  522. text.FontSize = "Size24"
  523. text.TextScaled = true
  524. text.TextTransparency = 0
  525. text.BackgroundTransparency = 1
  526. text.TextTransparency = 0
  527. text.TextStrokeTransparency = 1
  528. text.Font = "Highway"
  529. text.TextStrokeColor3 = Color3.fromRGB(255,0,0)
  530.  
  531. v=Instance.new("Part")
  532. v.Name = "ColorBrick"
  533. v.Parent=p.Character
  534. v.FormFactor="Symmetric"
  535. v.Anchored=true
  536. v.CanCollide=false
  537. v.BottomSurface="Smooth"
  538. v.TopSurface="Smooth"
  539. v.Size=Vector3.new(10,5,3)
  540. v.Transparency=1
  541. v.CFrame=char.Torso.CFrame
  542. v.BrickColor=BrickColor.new(CV)
  543. v.Transparency=1
  544. text.TextColor3 = Color3.fromRGB(167, 94, 155)
  545. v.Shape="Block"
  546. text.Text = "C0RuPt10n"
  547. local s = Instance.new("Sound")
  548.  
  549. s.Name = "Name"
  550. s.SoundId = "rbxassetid://486598641"
  551. s.Volume = 6
  552. s.Looped = true
  553. s.archivable = false
  554.  
  555. s.Parent = game.Workspace
  556.  
  557. wait(0)
  558.  
  559. s:play()
  560. Chicken = game.Players.LocalPlayer.Name
  561. game.Workspace[Chicken].Torso["Left Shoulder"].C0 = CFrame.new(-2.5, 2.1, 0) * CFrame.fromEulerAnglesXYZ(0,math.pi/2,0) * CFrame.fromEulerAnglesXYZ(math.pi/2, 0, 0) * CFrame.fromEulerAnglesXYZ(0,-math.pi/2,0)
  562. game.Workspace[Chicken].Torso["Left Shoulder"].C1 = CFrame.new(1, 1.5, 0)
  563. game.Workspace[Chicken].Torso["Right Shoulder"].C0 = CFrame.new(1.4, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,-math.pi/2,0) * CFrame.fromEulerAnglesXYZ(math.pi/2, 0, 0) * CFrame.fromEulerAnglesXYZ(0,-math.pi/2,0)
  564. game.Workspace[Chicken].Torso["Right Shoulder"].C1 = CFrame.new(0, 4.5, 0)
  565. plr = game.Players.LocalPlayer.Name
  566. meshes = {"Brick","Cylinder","Head","Sphere","Torso","Wedge"}
  567. h = game.Workspace[plr].Head.Mesh
  568. t = Instance.new("SpecialMesh",game.Workspace[plr].Torso)
  569. la = Instance.new("SpecialMesh",game.Workspace[plr]["Left Arm"])
  570. ra = Instance.new("SpecialMesh",game.Workspace[plr]["Right Arm"])
  571. ll = Instance.new("SpecialMesh",game.Workspace[plr]["Left Leg"])
  572. rl = Instance.new("SpecialMesh",game.Workspace[plr]["Right Leg"])
  573. while true do
  574. wait(0)
  575. h.MeshType = meshes[math.random(1,#meshes)]
  576. h.Parent.BrickColor = BrickColor.Random()
  577. t.MeshType = meshes[math.random(1,#meshes)]
  578. t.Parent.BrickColor = BrickColor.Random()
  579. la.MeshType = meshes[math.random(1,#meshes)]
  580. la.Parent.BrickColor = BrickColor.Random()
  581. ra.MeshType = meshes[math.random(1,#meshes)]
  582. ra.Parent.BrickColor = BrickColor.Random()
  583. ll.MeshType = meshes[math.random(1,#meshes)]
  584. ll.Parent.BrickColor = BrickColor.Random()
  585. rl.MeshType = meshes[math.random(1,#meshes)]
  586. rl.Parent.BrickColor = BrickColor.Random()
  587. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement