Advertisement
InTesting

Jesus's Rolling Pin

May 9th, 2019
725
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 4.14 KB | None | 0 0
  1. print'Link: https://pastebin.com/3EfkNdrT'
  2. print'By CHL. Pastebin user: https://pastebin.com/u/InTesting'
  3.  
  4. local function JesusCross(char)
  5.     for _,v in pairs(char:GetDescendants())do
  6.         if v:IsA'BasePart' then
  7.             v.Massless = false
  8.         end
  9.     end
  10.     local wat = true
  11.  
  12.    
  13.  
  14.     char:FindFirstChildWhichIsA('Humanoid').WalkSpeed = 30
  15.     char:FindFirstChildWhichIsA('Humanoid').MaxHealth = math.huge
  16.     char:FindFirstChildWhichIsA('Humanoid').Health = math.huge
  17.     char:FindFirstChildWhichIsA('Humanoid').Name = '∞'
  18.  
  19.     game:GetService'RunService'.Stepped:Connect(function()
  20.         if wat then
  21.             wat = false
  22.             char:FindFirstChildWhichIsA('Humanoid').MaxHealth = math.huge
  23.             char:FindFirstChildWhichIsA('Humanoid').Health = math.huge
  24.             wait(.25)
  25.             wat = true
  26.         end
  27.     end)
  28.     local tool = Instance.new("Tool",char)
  29.     tool.Name = '∞ Rolling pin'
  30.     tool.GripForward = Vector3.new(0, 0, -1)
  31.     tool.GripPos = Vector3.new(-4.75, 0, 0)
  32.     tool.GripRight = Vector3.new(-0, -1, 0)
  33.     tool.GripUp = Vector3.new(1, -0, 0)
  34.    
  35.     local han = Instance.new("Part",tool)
  36.     han.Name = 'Handle'
  37.     han.Size = Vector3.new(10, 0.3, 0.3)
  38.    
  39.    
  40.     local p1 = Instance.new("Part",tool)
  41.     p1.CanCollide = false
  42.     p1.Size = Vector3.new(8, 0.5, 0.5)
  43.     p1.CFrame = han.CFrame * CFrame.new(0,.4,0) * CFrame.Angles(math.rad(90),0,0)
  44.     for _,v in pairs(tool:GetChildren())do
  45.         v.BrickColor = BrickColor.new("Burnt Sienna")
  46.         v.Material = Enum.Material.WoodPlanks
  47.         local weld = Instance.new("Weld",tool)
  48.         weld.Part0 = v
  49.         weld.Part1 = han
  50.         v.Massless = true
  51.     end
  52.     local act = true
  53.     tool.Equipped:Connect(function()
  54.         han.Touched:Connect(function(hit)
  55.             local hum = hit.Parent:FindFirstChildWhichIsA('Humanoid',true)
  56.             if hum and hit.Parent~=char and hit.Parent:FindFirstChild('JesusFly',true)==nil and hit.Name~='Base' then
  57.                 hum.PlatformStand = true
  58.                 for _,v in pairs(hit.Parent:GetDescendants())do
  59.                     if v:IsA'BasePart'then
  60.                         v.Massless = true
  61.                         v.Anchored = false
  62.                     end
  63.                 end
  64.                 local head = hit.Parent:FindFirstChild('Head',true)
  65.                 if head:FindFirstChild('HitFX')==nil then
  66.                     local sound = Instance.new('Sound',head)
  67.                     sound.Name = 'HitFX'
  68.                     sound.SoundId = 'rbxassetid://3041190784'
  69.                     sound.Volume = 7.5
  70.                     sound:Play()
  71.                 end
  72.                 if hit.Parent:FindFirstChild'Fly'then
  73.                     hit.Parent:FindFirstChild'Fly':Destroy()
  74.                 end
  75.                 hit.Parent.ChildAdded:Connect(function(ch)
  76.                     if ch.Name=='Fly'and ch:IsA'Tool'then
  77.                         ch:Destroy()
  78.                     end
  79.                 end)
  80.                 local bv = Instance.new('BodyVelocity',head)
  81.                 bv.Name = 'JesusFly'
  82.                 bv.MaxForce = Vector3.new(0,math.huge,0)
  83.                 bv.Velocity = Vector3.new(0,0,0)
  84.                 local av = Instance.new("AngularVelocity",head)
  85.                 av.MaxTorque= Vector3.new(30,30,30)
  86.                 av.AngularVelocity = Vector3.new(30,30,30)
  87.             end
  88.         end)
  89.         tool.Activated:Connect(function()
  90.             if act then
  91.                 act = false
  92.                 tool.GripForward = Vector3.new(-1, 0, 0)
  93.                 tool.GripPos = Vector3.new(-4.75, 0, 0)
  94.                 tool.GripRight = Vector3.new(-0, -1, 0)
  95.                 tool.GripUp = Vector3.new(0, -0, 1)
  96.                
  97.                 local bn = Instance.new('BodyForce',owner.Character.Torso)
  98.                 magnitude = 6000
  99.                 left = Vector3.new(0, 0, -1) * magnitude
  100.                 bn.Force = bn.Parent.CFrame:vectorToWorldSpace(left)
  101.                 local bv = Instance.new('BodyVelocity',owner.Character.Torso)
  102.                 bv.MaxForce = Vector3.new(100,100,100)
  103.                 bv.Velocity = Vector3.new(0,3,0)
  104.                 local bg = Instance.new('BodyGyro',owner.Character.Torso)
  105.  
  106.                 local hb1 = Instance.new("Part",tool)
  107.                 hb1.CFrame = han.CFrame * CFrame.new(0,0,10)
  108.                 hb1.Massless = true
  109.                 hb1.Size = Vector3.new(1, 10, 3)
  110.                 hb1.Transparency = 1
  111.  
  112.                 local weld = Instance.new("Weld",tool)
  113.                 weld.Part0 = hb1
  114.                 weld.Part1 = han
  115.                 wait(1)
  116.                
  117.                 hb1:Destroy()
  118.                 bg:Destroy()
  119.                 bn:Destroy()
  120.                 bv:Destroy()
  121.                     tool.GripForward = Vector3.new(0, 0, -1)
  122.     tool.GripPos = Vector3.new(-4.75, 0, 0)
  123.     tool.GripRight = Vector3.new(-0, -1, 0)
  124.     tool.GripUp = Vector3.new(1, -0, 0)
  125.                 act = true
  126.             end
  127.         end)
  128.         tool.Deactivated:Connect(function()
  129.            
  130.         end)
  131.     end)
  132.    
  133.  
  134.     tool.Parent = char
  135. end
  136. JesusCross(owner.Character)
  137. owner.CharacterAdded:Connect(function(c22)
  138.     wait(1)
  139.     JesusCross(c22)
  140. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement