generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Roblox » Help (Technical Support and Account Issues)
Home Search
 

Re: Roblox University

Previous Thread :: Next Thread 
marioman2111 is not online. marioman2111
Joined: 10 Feb 2012
Total Posts: 11
21 May 2015 10:29 AM
Hi marioman2111 here, i am trying to contact stickmasterluke as i have a problem with one of my scripts. It is for: Mad Bloxxer: Scripting the sword Pt. 2.
I cant find the modulate key on my keyboard. I was wondering if you could add it in for me and proofread it for me. THANKS! ill copy and paste it below!


--marioman2111's Mad Murder Script



tool = script.parent


local speedboost = 1.25

local combowindow = .5

local handle = tool :WaitForChild("Handle")

local event = tool :WaitForChild ("RemoteEvent")

local damage = 100

local swingtime = 1

local lastclick = tick ()

local combo = 0

handle.Touched:connect(function(hit)()
if equipped and character and humanoid.health > 0 and hit and not hit:isDescendantOf(character) then
local targethumanoid = hit.Parent:FindFirstChild ("Humanoid")
if tragethumanoid and targethumanoid.health > 0 and not hithumanoid [targethumanoid] then
hithumanoids[targethumanoid] = true
targethumanoid:TakeDamage (damage)

end
end
end)

tool.activated:connect(function)
local clickdelta = tick () - lastclick
if clickdelta > swingtime then
lastclick = tick ()
hithumanoid = ()
if clickdelta < slashtime + combowindow then
combo = (combo + 1)
if player then

end
end
end


tool.Equipped:connect (function()
equipped = true
lastclick = tick
combo = 0
character = tool.Parent
player = game.Players:GetPlayerFromCharacter(character)
humanoid = character:FindFirstChild("Humanoid")
if humanoid then
Humanoid.WalkSpeed = humanoid.WalkSpeed * speedboost
else
character = nil
end
end)

tool.unequipped:connect(function()
equipped = false
if humanoid then
humanoid.WalkSpeed = humanoid.WalkSpeed / speedboost
character = nil
humanoid = nil
end

end)

Please note it is not finished. it is at the 2nd part of scripting the sword :D

(my map is finally done! Yay!
Report Abuse
theepicnessofdeath is not online. theepicnessofdeath
Joined: 26 Oct 2012
Total Posts: 3026
21 May 2015 12:17 PM
Post this on Script helpers. They can help with this. Stickmasterluke is a busy guy so there is no way he can proof it for you.

If I helped you please let me know :)
Report Abuse
marioman2111 is not online. marioman2111
Joined: 10 Feb 2012
Total Posts: 11
21 May 2015 02:33 PM
thanks for the assistance!
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Roblox » Help (Technical Support and Account Issues)
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image